Mop do_after multi use

(#18485)

* Mop do_after

Makes mop do after allow multiple uses

* Update mop.dm

* fixes

* Gets rid of these unused vars

* cleanup

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Cameron Lennox
2025-09-14 03:05:16 -04:00
committed by GitHub
co-authored by Kashargul
parent f7f1f23be5
commit 0a2d3a8cf6
25 changed files with 197 additions and 190 deletions
+2 -2
View File
@@ -101,10 +101,10 @@
return 1 //end the search!
return 0
/obj/item/assembly/mousetrap/hitby(var/atom/movable/A)
/obj/item/assembly/mousetrap/hitby(var/atom/movable/source)
if(!armed)
return ..()
visible_message(span_warning("[src] is triggered by [A]."))
visible_message(span_warning("[src] is triggered by [source]."))
triggered(null)
/obj/item/assembly/mousetrap/armed