mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 09:35:30 +01:00
[MIRROR] Placing things in a paperbin actually plays sounds. (#26896)
* Placing things in a paperbin actually plays sounds. (#81974) ## About The Pull Request In contrast to my previous pr: Really just changes the `user.transferItemToLoc(...)` used for transferring paper to the bin to have a `silent = FALSE` parameter. Also did it for pens for good measure, though I believe most pens don't have such sounds yet. ## Why It's Good For The Game Placing paper on a table makes sounds, placing paper in a bin makes no sound. This feels awkward. This changes that to actually make a sound. Also adds `silent = FALSE` to placing pens on it for good measure, though most pens don't have such sounds yet. ## Changelog 🆑 sound: Placing paper in a paperbin is no longer silent. /🆑 * Placing things in a paperbin actually plays sounds. --------- Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com>
This commit is contained in:
@@ -124,7 +124,7 @@
|
||||
return
|
||||
if(istype(I, /obj/item/paper))
|
||||
var/obj/item/paper/paper = I
|
||||
if(!user.transferItemToLoc(paper, src))
|
||||
if(!user.transferItemToLoc(paper, src, silent = FALSE))
|
||||
return
|
||||
to_chat(user, span_notice("You put [paper] in [src]."))
|
||||
paper_stack += paper
|
||||
@@ -132,7 +132,7 @@
|
||||
update_appearance()
|
||||
else if(istype(I, /obj/item/pen) && !bin_pen)
|
||||
var/obj/item/pen/pen = I
|
||||
if(!user.transferItemToLoc(pen, src))
|
||||
if(!user.transferItemToLoc(pen, src, silent = FALSE))
|
||||
return
|
||||
to_chat(user, span_notice("You put [pen] in [src]."))
|
||||
bin_pen = pen
|
||||
|
||||
Reference in New Issue
Block a user