changed debug action 3 to unlock the sarcophagus

This commit is contained in:
Mister_Nebula 2022-04-23 19:48:31 +01:00
parent ca043076a4
commit b2f62ed24b

View File

@ -99,7 +99,15 @@ public class DebugActions : MonoBehaviour, IAddComponentOnStart
if (Keyboard.current[Key.Numpad3].wasPressedThisFrame)
{
Destroy(Locator.GetProbe().gameObject);
var sarcoController = QSBWorldSync.GetUnityObjects<SarcophagusController>().First();
sarcoController.firstSealProjector.SetLit(false);
sarcoController.secondSealProjector.SetLit(false);
sarcoController.thirdSealProjector.SetLit(false);
sarcoController._attemptOpenAfterDelay = true;
sarcoController._openAttemptTime = Time.time + 0.5f;
sarcoController.enabled = true;
}
if (Keyboard.current[Key.Numpad4].wasPressedThisFrame)