mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-27 18:42:44 +00:00
[MIRROR] Refactors do_after w/ TG's do_after (#11486)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
c1fffe13f3
commit
f85a202d80
@@ -206,7 +206,7 @@
|
||||
costumes = typesof(/obj/item/storage/box/halloween/)
|
||||
|
||||
/obj/structure/boxpile/attack_hand(mob/living/user)
|
||||
if(!do_after(user, 5 SECONDS, exclusive = TASK_USER_EXCLUSIVE))
|
||||
if(!do_after(user, 5 SECONDS))
|
||||
return
|
||||
if(!user.ckey)
|
||||
return
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
oocnotes = 1
|
||||
to_chat(src, span_notify("You begin to reform. You will need to remain still."))
|
||||
visible_message(span_notify("[src] rapidly contorts and shifts!"), span_danger("You begin to reform."))
|
||||
if (do_after(src, 40,exclusive = TASK_ALL_EXCLUSIVE))
|
||||
if (do_after(src, 4 SECONDS))
|
||||
if (client?.prefs)
|
||||
client.prefs.vanity_copy_to(src, FALSE, flavour, oocnotes, FALSE)
|
||||
visible_message(span_notify("[src] adopts a new form!"), span_danger("You have reformed."))
|
||||
|
||||
Reference in New Issue
Block a user