mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 23:49:21 +01:00
Makes uses of do_after sane (#18334)
* Prevents insta-actions * Do_after sanity NOTE: NUKE do_after_action * Update bonfire.dm * The rest of them Also fixes a tpyo * no minitest :) * . * . * Gets rid of the slowdown for now --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
736fe6ef28
commit
d73f6b8dbd
@@ -528,7 +528,7 @@
|
||||
H.visible_message(span_infoplain(span_bold("\The [H]") + " starts to pack \the [src]!"), \
|
||||
span_notice("You start to pack \the [src]!"), \
|
||||
span_infoplain("You hear the shuffling of cloth."))
|
||||
if(do_after(H, 50))
|
||||
if(do_after(H, 5 SECONDS, target = src))
|
||||
H.visible_message(span_infoplain(span_bold("\The [H]") + " finishes packing \the [src]!"), \
|
||||
span_notice("You finish packing \the [src]!"), \
|
||||
span_infoplain("You hear the shuffling of cloth."))
|
||||
@@ -541,7 +541,7 @@
|
||||
H.visible_message(span_infoplain(span_bold("\The [src]") + " starts to unpack \the [src]!"), \
|
||||
span_notice("You start to unpack \the [src]!"), \
|
||||
span_infoplain("You hear the shuffling of cloth."))
|
||||
if(do_after(H, 25))
|
||||
if(do_after(H, 25, target = src))
|
||||
H.visible_message(span_infoplain(span_bold("\The [src]") + " finishes unpacking \the [src]!"), \
|
||||
span_notice("You finish unpacking \the [src]!"), \
|
||||
span_infoplain("You hear the shuffling of cloth."))
|
||||
|
||||
Reference in New Issue
Block a user