procs
This commit is contained in:
@@ -164,7 +164,7 @@
|
||||
user.visible_message("<span class='notice'>[user] works the metal on the anvil with their hammer with a loud clang!</span>", \
|
||||
"<span class='notice'>You [stepdone] the metal with a loud clang!</span>")
|
||||
playsound(src, 'sound/effects/clang2.ogg',40, 2)
|
||||
addtimer(CALLBACK(GLOBAL_PROC, .proc/playsound, src, 'sound/effects/clang2.ogg', 40, 2), 15)
|
||||
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(playsound), src, 'sound/effects/clang2.ogg', 40, 2), 15)
|
||||
if(length(stepsdone) >= 3)
|
||||
tryfinish(user)
|
||||
busy = FALSE
|
||||
|
||||
Reference in New Issue
Block a user