mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-22 12:39:51 +00:00
changed debug action 3 to unlock the sarcophagus
This commit is contained in:
parent
ca043076a4
commit
b2f62ed24b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user