More updoots.
This commit is contained in:
parent
de66101178
commit
de5241fb8b
@ -20,12 +20,12 @@ namespace ValensHasThePower
|
|||||||
public static void Start()
|
public static void Start()
|
||||||
{
|
{
|
||||||
PowerOn.Interchange();
|
PowerOn.Interchange();
|
||||||
|
PowerOn.Customs();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Interchange()
|
public static void Interchange()
|
||||||
{
|
{
|
||||||
var power = GameObject.FindObjectsOfType<Switch>().ToList();
|
var power = GameObject.FindObjectsOfType<Switch>().ToList();
|
||||||
|
|
||||||
foreach (var Switch in power) // Turn the Power Station switch to On.
|
foreach (var Switch in power) // Turn the Power Station switch to On.
|
||||||
{
|
{
|
||||||
//Interchange - Power to Mall
|
//Interchange - Power to Mall
|
||||||
@ -51,7 +51,7 @@ namespace ValensHasThePower
|
|||||||
public static void Customs()
|
public static void Customs()
|
||||||
{
|
{
|
||||||
var power = GameObject.FindObjectsOfType<Switch>().ToList();
|
var power = GameObject.FindObjectsOfType<Switch>().ToList();
|
||||||
|
var exfil = GameObject.FindObjectsOfType<ExfiltrationPoint>().ToList();
|
||||||
foreach (var Switch in power)
|
foreach (var Switch in power)
|
||||||
{
|
{
|
||||||
if (Switch.Id == "custom_DesignStuff_00034" && Switch.name == "reserve_electric_switcher_lever")
|
if (Switch.Id == "custom_DesignStuff_00034" && Switch.name == "reserve_electric_switcher_lever")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user