Turn off cargo ship lights during sandstorm period as well.

This commit is contained in:
Patrick Fairbank
2019-09-22 10:33:55 -07:00
parent 92a52ddd88
commit e947151bb3
2 changed files with 12 additions and 2 deletions

View File

@@ -186,11 +186,14 @@ func (plc *Plc) SetSandstormUp(state bool) {
plc.coils[sandstormUpBlue] = state
}
func (plc *Plc) SetCargoShipLights(state bool) {
plc.coils[cargoShipLightRed] = state
plc.coils[cargoShipLightBlue] = state
}
func (plc *Plc) SetCargoShipMagnets(state bool) {
plc.coils[cargoShipMagnetRed] = state
plc.coils[cargoShipMagnetBlue] = state
plc.coils[cargoShipLightRed] = state
plc.coils[cargoShipLightBlue] = state
}
func (plc *Plc) SetRocketLights(red, blue bool) {