mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Malfunctioning AIs: Fix Overload Machine not working on some machines (#27848)
* blcaklist, add intercom * fix * re-rework into a proc * add these
This commit is contained in:
@@ -1043,6 +1043,8 @@
|
||||
for(var/obj/item/weapon/pinpointer/point in pinpointer_list)
|
||||
point.target = null //the pinpointer will go back to pointing at the nuke disc.
|
||||
|
||||
/obj/machinery/power/apc/can_overload()
|
||||
return 1
|
||||
|
||||
/obj/machinery/power/apc/proc/ion_act()
|
||||
//intended to be exactly the same as an AI malf attack
|
||||
|
||||
@@ -83,6 +83,9 @@
|
||||
H.do_attack_animation(src, H)
|
||||
return SPECIAL_ATTACK_FAILED
|
||||
|
||||
/obj/machinery/light_construct/can_overload()
|
||||
return 0
|
||||
|
||||
|
||||
/obj/machinery/light_construct/small
|
||||
name = "small light fixture frame"
|
||||
@@ -174,6 +177,9 @@ var/global/list/obj/machinery/light/alllights = list()
|
||||
H.apply_damage(rand(1,2), BRUTE, pick(LIMB_RIGHT_LEG, LIMB_LEFT_LEG, LIMB_RIGHT_FOOT, LIMB_LEFT_FOOT))
|
||||
return SPECIAL_ATTACK_FAILED
|
||||
|
||||
/obj/machinery/light/can_overload()
|
||||
return 0
|
||||
|
||||
/obj/machinery/light/broken
|
||||
icon_state = "ltube-broken" //for the mapper
|
||||
spawn_with_bulb = /obj/item/weapon/light/tube/broken
|
||||
|
||||
@@ -172,6 +172,8 @@
|
||||
return
|
||||
set_light(0)
|
||||
|
||||
/obj/machinery/power/can_overload()
|
||||
return 0
|
||||
|
||||
// connect the machine to a powernet if a node cable is present on the turf
|
||||
/obj/machinery/power/proc/connect_to_network()
|
||||
|
||||
Reference in New Issue
Block a user