aliens can be properly bola'd (#20137)

* xenos can be properly bola'd

* moved down to the carbon level

* shawn addition
This commit is contained in:
GDN
2023-01-22 10:20:43 +01:00
committed by GitHub
parent 4b839ab98d
commit a10641e07f
2 changed files with 11 additions and 6 deletions
+10
View File
@@ -730,6 +730,16 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
toggle_move_intent()
update_inv_legcuffed()
/mob/living/carbon/update_inv_legcuffed()
clear_alert("legcuffed")
if(!legcuffed)
return
throw_alert("legcuffed", /obj/screen/alert/restrained/legcuffed, new_master = legcuffed)
if(m_intent != MOVE_INTENT_WALK)
m_intent = MOVE_INTENT_WALK
if(hud_used?.move_intent)
hud_used.move_intent.icon_state = "walking"
/mob/living/carbon/show_inv(mob/user)
user.set_machine(src)
@@ -1046,14 +1046,9 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
/mob/living/carbon/human/update_inv_legcuffed()
remove_overlay(LEGCUFF_LAYER)
clear_alert("legcuffed")
. = ..()
if(legcuffed)
overlays_standing[LEGCUFF_LAYER] = mutable_appearance('icons/mob/mob.dmi', legcuffed.cuffed_state, layer = -LEGCUFF_LAYER)
throw_alert("legcuffed", /obj/screen/alert/restrained/legcuffed, new_master = legcuffed)
if(m_intent != MOVE_INTENT_WALK)
m_intent = MOVE_INTENT_WALK
if(hud_used && hud_used.move_intent)
hud_used.move_intent.icon_state = "walking"
apply_overlay(LEGCUFF_LAYER)