niche case (#24595)

This commit is contained in:
Contrabang
2024-03-18 13:52:22 -04:00
committed by GitHub
parent 45f7f4163f
commit df29a55f54
2 changed files with 5 additions and 5 deletions
@@ -1184,7 +1184,7 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
/mob/living/silicon/robot/update_icons()
overlays.Cut()
if(stat != DEAD && !(IsParalyzed() || IsStunned() || IsWeakened() || low_power_mode)) //Not dead, not stunned.
if(custom_panel in custom_eye_names)
overlays += "eyes-[custom_panel]"
@@ -1392,10 +1392,10 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
if(W)
W.attack_self(src)
/mob/living/silicon/robot/proc/SetLockdown(state = 1)
/mob/living/silicon/robot/proc/SetLockdown(state = TRUE)
// They stay locked down if their wire is cut.
if(wires.is_cut(WIRE_BORG_LOCKED))
state = 1
state = TRUE
if(state)
throw_alert("locked", /atom/movable/screen/alert/locked)
else