From 71153e1e9e79844bcac732bad8c17db32679d02d Mon Sep 17 00:00:00 2001 From: VforValens Date: Thu, 17 Mar 2022 18:55:45 -0500 Subject: [PATCH] More updoots again. --- ValensHasThePower/Program.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ValensHasThePower/Program.cs b/ValensHasThePower/Program.cs index 9eb002b..ec86d74 100644 --- a/ValensHasThePower/Program.cs +++ b/ValensHasThePower/Program.cs @@ -98,12 +98,22 @@ namespace ValensHasThePower // turns on lamps foreach (var lamp in lamps) { + lamp.LampState = Turnable.EState.On; lamp.Enabled = true; + lamp.StartCoroutine("method_1", true); + gettype + Debug.LogError(lamp.name); } // turns on power switches.DoorState = EDoorState.Open; - } + } + + // turns on d2 extract button + if (switches.Id == "00453" && switches.name == "Node_GatesButton") + { + switches.DoorState = EDoorState.Shut; + } } } }