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:
Cameron Lennox
2025-09-07 20:25:08 -04:00
committed by GitHub
parent 736fe6ef28
commit d73f6b8dbd
330 changed files with 682 additions and 690 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ GLOBAL_LIST_INIT(generic_fishing_chance_list, list(FISHING_RARE = 5, FISHING_UNC
being_fished = TRUE
R.cast = TRUE
var/fishing_time = rand(min_fishing_time SECONDS,max_fishing_time SECONDS) * R.toolspeed
if(do_after(user,fishing_time,user))
if(do_after(user, fishing_time, target = user))
playsound(src, 'sound/effects/slosh.ogg', 5, 1, 5)
to_chat(user,span_notice("You feel a tug and begin pulling!"))
if(world.time >= last_fished + fishing_cooldown)
+1 -1
View File
@@ -61,7 +61,7 @@
if(C.get_amount() < 5)
to_chat(user, span_warning("You do not have enough length in \the [C] to string this!"))
return
if(do_after(user, rand(10 SECONDS, 20 SECONDS)))
if(do_after(user, rand(10 SECONDS, 20 SECONDS), target = src))
C.use(5)
strung = TRUE
to_chat(user, span_notice("You string \the [src]!"))