mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-19 13:35:10 +00:00
Corner case speedups for bola and bear trap (#48194)
* Update speed in dismemberment * updates speed in Uncuff() Used in freedom implants, cult stuff, etc. * update speed after stripping other makes changes to speed like removing someone's bear trap instant. * update speed on handcuffs removed by Uncuff()
This commit is contained in:
committed by
Emmett Gaines
parent
1465adb116
commit
aed514b36e
@@ -347,6 +347,7 @@
|
||||
W.layer = initial(W.layer)
|
||||
W.plane = initial(W.plane)
|
||||
changeNext_move(0)
|
||||
update_equipment_speed_mods() // In case cuffs ever change speed
|
||||
|
||||
/mob/living/carbon/proc/clear_cuffs(obj/item/I, cuff_break)
|
||||
if(!I.loc || buckled)
|
||||
|
||||
@@ -848,6 +848,8 @@
|
||||
who.show_inv(src)
|
||||
else
|
||||
src << browse(null,"window=mob[REF(who)]")
|
||||
|
||||
who.update_equipment_speed_mods() // Updates speed in case stripped speed affecting item
|
||||
|
||||
// The src mob is trying to place an item on someone
|
||||
// Override if a certain mob should be behave differently when placing items (can't, for example)
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
C.emote("scream")
|
||||
SEND_SIGNAL(C, COMSIG_ADD_MOOD_EVENT, "dismembered", /datum/mood_event/dismembered)
|
||||
drop_limb()
|
||||
C.update_equipment_speed_mods() // Update in case speed affecting item unequipped by dismemberment
|
||||
|
||||
if(dam_type == BURN)
|
||||
burn()
|
||||
|
||||
Reference in New Issue
Block a user