mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Refactors do_after w/ TG's do_after (#18282)
* part1 * keeps range ability * no cog vore
This commit is contained in:
@@ -172,7 +172,7 @@
|
||||
to_chat(user, span_warning("You need at least two rods to do this."))
|
||||
return
|
||||
to_chat(user, span_notice("Assembling grille..."))
|
||||
if(!do_after(user, 1 SECONDS, R, exclusive = TASK_ALL_EXCLUSIVE))
|
||||
if(!do_after(user, 1 SECONDS, R))
|
||||
return
|
||||
if(!R.use(2))
|
||||
return
|
||||
@@ -192,7 +192,7 @@
|
||||
to_chat(user, span_warning("You need at least four sheets of glass to do this."))
|
||||
return
|
||||
to_chat(user, span_notice("Assembling window..."))
|
||||
if(!do_after(user, 4 SECONDS, G, exclusive = TASK_ALL_EXCLUSIVE))
|
||||
if(!do_after(user, 4 SECONDS, G))
|
||||
return
|
||||
if(!G.use(4))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user