[MIRROR] Axes do_mob and replaces with do_after (#11938)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-11-08 04:26:50 -05:00
committed by GitHub
co-authored by Cameron Lennox
parent 9645b165d5
commit e61bebfbb3
29 changed files with 157 additions and 135 deletions
+1 -1
View File
@@ -150,7 +150,7 @@
GLOB.global_announcer.autosay("[src] is treating <b>[H]</b> in <b>[location]</b>", "[src]", "Medical")
busy = 1
update_icons()
if(do_mob(src, H, 30))
if(do_after(src, 3 SECONDS, H))
if(t == 1)
reagent_glass.reagents.trans_to_mob(H, injection_amount, CHEM_BLOOD)
else
+1 -1
View File
@@ -337,7 +337,7 @@
playsound(src, 'sound/weapons/handcuffs.ogg', 30, 1, -2)
visible_message(span_warning("\The [src] is trying to put handcuffs on \the [H]!"))
busy = TRUE
if(do_mob(src, H, 60))
if(do_after(src, 6 SECONDS, H))
if(!H.handcuffed)
if(istype(H.back, /obj/item/rig) && istype(H.gloves,/obj/item/clothing/gloves/gauntlets/rig))
H.handcuffed = new /obj/item/handcuffs/cable(H) // Better to be cable cuffed than stun-locked