From b2f62ed24bb06aa9aa5fe266b7f72128a16ac059 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Sat, 23 Apr 2022 19:48:31 +0100 Subject: [PATCH] changed debug action 3 to unlock the sarcophagus --- QSB/Utility/DebugActions.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/QSB/Utility/DebugActions.cs b/QSB/Utility/DebugActions.cs index fdf3f8d1..d19b347d 100644 --- a/QSB/Utility/DebugActions.cs +++ b/QSB/Utility/DebugActions.cs @@ -99,7 +99,15 @@ public class DebugActions : MonoBehaviour, IAddComponentOnStart if (Keyboard.current[Key.Numpad3].wasPressedThisFrame) { - Destroy(Locator.GetProbe().gameObject); + var sarcoController = QSBWorldSync.GetUnityObjects().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)