Skip to content

Commit

Permalink
Fix engineer console requiring power
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed May 25, 2024
1 parent c00a211 commit a1f1f06
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/game/machinery/colony_floodlights.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
12 changes: 12 additions & 0 deletions code/game/machinery/hybrisa_lights.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a1f1f06

Please sign in to comment.