diff --git a/code/game/machinery/colony_floodlights.dm b/code/game/machinery/colony_floodlights.dm index 695c470b5b9a..abbbcf4bc742 100644 --- a/code/game/machinery/colony_floodlights.dm +++ b/code/game/machinery/colony_floodlights.dm @@ -11,6 +11,7 @@ unacidable = TRUE power_machine = TRUE idle_power_usage = 0 + is_on = FALSE var/ispowered = FALSE ///All machinery under our control var/list/machinery_list = list() diff --git a/code/game/machinery/hybrisa_lights.dm b/code/game/machinery/hybrisa_lights.dm index a762b80a64e7..4bbc0ed02fb4 100644 --- a/code/game/machinery/hybrisa_lights.dm +++ b/code/game/machinery/hybrisa_lights.dm @@ -106,8 +106,20 @@ icon_state = "engineerconsole" desc = "A Giant Alien console of some kind, unlike anything you've ever seen before. Who knows the purpose of this strange technology..." use_power = USE_POWER_NONE + needs_power = FALSE + ispowered = TRUE machinery_type_to_control = /obj/structure/machinery/colony_floodlight/engineer_circular +/obj/structure/machinery/colony_floodlight_switch/engineerconsole_switch/LateInitialize() + . = ..() + stop_processing() + +/obj/structure/machinery/colony_floodlight_switch/engineerconsole_switch/update_icon() + return + +/obj/structure/machinery/colony_floodlight_switch/engineerconsole_switch/power_change() + return // It just works + /obj/structure/machinery/colony_floodlight/engineer_circular name = "circular light" icon_state = "engineerlight_off" diff --git a/code/game/machinery/vending/cm_vending.dm b/code/game/machinery/vending/cm_vending.dm index 6c55ce8c7946..bad1f9b6a278 100644 --- a/code/game/machinery/vending/cm_vending.dm +++ b/code/game/machinery/vending/cm_vending.dm @@ -73,7 +73,7 @@ IN_USE used for vending/denying . = ..() cm_build_inventory(get_listed_products(), 1, 3) -/obj/structure/machinery/power_change(area/master_area = null) +/obj/structure/machinery/cm_vending/power_change(area/master_area = null) ..() update_icon()