mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Turns off quick gather for duffel bag's and add's a duffel bag zip/unzip notice in chat. (#31281)
* Rebinds the duffelbag keybind to Alt+Click to prevent conflicting keybinds related to it. * rebinds the unzip/zip hotkey back to what it was before and just removes the pickup_all_on_tile message at the bottom right for duffelbag's. * Rearranges visible_message and replaces SPAN_WARNING to SPAM_NOTICE. * Update code/game/objects/items/weapons/storage/backpack.dm Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com> Signed-off-by: Vengie0 <zaydrabah11@gmail.com> * Update code/game/objects/items/weapons/storage/backpack.dm Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com> Signed-off-by: Vengie0 <zaydrabah11@gmail.com> --------- Signed-off-by: Vengie0 <zaydrabah11@gmail.com> Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
This commit is contained in:
@@ -374,12 +374,15 @@
|
||||
. += SPAN_NOTICE("It is currently [zipped ? "zipped" : "unzipped"]. Alt+Shift+Click to [zipped ? "un-" : ""]zip it!")
|
||||
|
||||
/obj/item/storage/backpack/duffel/AltShiftClick(mob/user)
|
||||
. = ..()
|
||||
handle_zipping(user)
|
||||
|
||||
/obj/item/storage/backpack/duffel/proc/handle_zipping(mob/user)
|
||||
if(!Adjacent(user))
|
||||
return
|
||||
visible_message(
|
||||
SPAN_NOTICE("[user] tries to [zipped ? "un-" : ""]zip [src]."),
|
||||
SPAN_NOTICE("You start to [zipped ? "un-" : ""]zip [src].")
|
||||
)
|
||||
|
||||
if(!zip_time || do_after(user, zip_time, target = src))
|
||||
playsound(src, 'sound/items/zip.ogg', 75, TRUE)
|
||||
|
||||
Reference in New Issue
Block a user