Skip to content

Commit

Permalink
🆑
Browse files Browse the repository at this point in the history
soundadd: Added a new .ogg file to play a noise when papers are stamped. Also included credits for the sound source in the attributions page
/:cl:
  • Loading branch information
RedBaronFlyer committed Dec 30, 2022
1 parent d8bfb86 commit 10ec432
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/paperwork/paper.dm
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@
add_stamp(writing_stats["stamp_class"], rand(0, 400), rand(0, 500), rand(0, 360), writing_stats["stamp_icon_state"])
user.visible_message(span_notice("[user] blindly stamps [src] with \the [attacking_item]!"))
to_chat(user, span_notice("You stamp [src] with \the [attacking_item] the best you can!"))
playsound(src, 'sound/items/handling/standard_stamp.ogg', 50, TRUE)
else
to_chat(user, span_notice("You ready your stamp over the paper! "))
ui_interact(user)
Expand Down Expand Up @@ -540,6 +541,7 @@

add_stamp(stamp_class, stamp_x, stamp_y, stamp_rotation, stamp_icon_state)
user.visible_message(span_notice("[user] stamps [src] with \the [holding.name]!"), span_notice("You stamp [src] with \the [holding.name]!"))
playsound(src, 'sound/items/handling/standard_stamp.ogg', 50, TRUE)

update_appearance()
update_static_data(user, ui)
Expand Down
2 changes: 2 additions & 0 deletions sound/attributions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ eject.ogg is by magedu, adapted from https://freesound.org/people/magedu/sounds/
alien_explode.ogg is adapted from zimbot's Frozen Lettuce upload https://freesound.org/people/zimbot/sounds/89378/ and little_dog4000's balloon pop https://freesound.org/people/little_dog4000/sounds/478764/

alien_organ_cut.ogg is adapted from some CC 0 flesh sound, lesaucisson's swoosh https://freesound.org/people/lesaucisson/sounds/585256/, and a snippet of EminYILDIRIM's tree cutting clip https://freesound.org/people/EminYILDIRIM/sounds/608343/

standard_stamp.ogg is adapted from tom_woysky's "Stamp.wav" https://freesound.org/people/tom_woysky/sounds/348316/
Binary file added sound/items/handling/standard_stamp.ogg
Binary file not shown.

0 comments on commit 10ec432

Please sign in to comment.