From 1098a3d57476190f8aedbcce579fb6fd0a0334dd Mon Sep 17 00:00:00 2001 From: VforValens Date: Thu, 17 Mar 2022 12:31:36 -0500 Subject: [PATCH] Updoots. --- ValensHasThePower/Program.cs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/ValensHasThePower/Program.cs b/ValensHasThePower/Program.cs index e1d0af1..324549f 100644 --- a/ValensHasThePower/Program.cs +++ b/ValensHasThePower/Program.cs @@ -20,6 +20,7 @@ namespace ValensHasThePower public static void Start() { var power = GameObject.FindObjectsOfType().ToList(); + var exfil = GameObject.FindObjectsOfType().ToList(); foreach (var Switch in power) // Turn the Power Station switch to On. { @@ -46,21 +47,17 @@ namespace ValensHasThePower Switch.DoorState = EDoorState.Open; } - //Activate Exfil for ZB-013 - //if (Switch.ExfiltrationPoint == "EXFIL_ZONE_ZB013") - //{ - // Switch.ExfiltrationPoint.Status = ?? - //} - //Reserve if (Switch.Id == "autoId_00000_D2_LEVER" && Switch.name == "reserve_electric_switcher_lever") { + Switch.DoorState = EDoorState.Shut; + Switch.DoorState = EDoorState.Interacting; Switch.DoorState = EDoorState.Open; } if (Switch.Id == "00453" && Switch.name == "Node_GatesButton") { - Switch.DoorState = EDoorState.Interacting; + Switch.DoorState = EDoorState.Shut; } } }