H.A.U.L. gauntlets and package wrapper QOL (#92427)

## About The Pull Request

- Wrapping a crate with package wrapping while pulling it will now
automatically make you grab it
- You can now open the crate while dragging it with the H.A.U.L.
gauntlets if you're the one who's pulling it. Also applies to other
items (including MOD modules) that have the component


https://github.com/user-attachments/assets/7b4743c8-855d-4274-89ca-b0507f6d3e0e

## Why It's Good For The Game

QOL for cargo technicians - having to constantly grab and let go of
crates is very annoying
This commit is contained in:
mcbalaam
2025-09-02 21:32:47 -05:00
committed by GitHub
parent e507152713
commit d40bb5ddd2
6 changed files with 12 additions and 9 deletions
+2 -2
View File
@@ -343,13 +343,13 @@
if(!locker.Adjacent(mod.wearer) || !isturf(locker.loc) || !isturf(mod.wearer.loc))
return
mod.wearer.start_pulling(locker)
locker.strong_grab = TRUE
ADD_TRAIT(locker, TRAIT_STRONGPULL, REF(mod.wearer))
RegisterSignal(locker, COMSIG_ATOM_NO_LONGER_PULLED, PROC_REF(on_stop_pull))
/obj/item/mod/module/magnet/proc/on_stop_pull(obj/structure/closet/locker, atom/movable/last_puller)
SIGNAL_HANDLER
locker.strong_grab = FALSE
REMOVE_TRAIT(locker, TRAIT_STRONGPULL, REF(mod.wearer))
UnregisterSignal(locker, COMSIG_ATOM_NO_LONGER_PULLED)
/obj/item/mod/module/ash_accretion