Updoots.
This commit is contained in:
parent
804547cdc3
commit
1098a3d574
@ -20,6 +20,7 @@ namespace ValensHasThePower
|
||||
public static void Start()
|
||||
{
|
||||
var power = GameObject.FindObjectsOfType<Switch>().ToList();
|
||||
var exfil = GameObject.FindObjectsOfType<ExfiltrationPoint>().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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user