Skip to content

Commit

Permalink
Add a noise to paper stamping (#4748)
Browse files Browse the repository at this point in the history
# About the pull request

<!-- Remove this text and explain what the purpose of your PR is.

Mention if you have tested your changes. If you changed a map, make sure
you used the mapmerge tool.
If this is an Issue Correction, you can type "Fixes Issue #169420" to
link the PR to the corresponding Issue number #169420.

Remember: something that is self-evident to you might not be to others.
Explain your rationale fully, even if you feel it goes without saying.
-->

Adds a paper stamping noise. Reuses Predalien stomp noise because
frankly it's just very fitting.

# Explain why it's good for the game

Increases Reqs Productivity by 400% thanks to auditive feedback.
Stamping the papers has never felt so satisfying.
# Testing Photographs and Procedure
This PR has been stamped by the System Administrators Cabal.


# Changelog
:cl:
add: Stamping papers now makes a noise.
/:cl:
  • Loading branch information
fira authored Oct 21, 2023
1 parent cfa842e commit f9c27bb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions code/modules/paperwork/paper.dm
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,6 @@

/obj/item/paper/attackby(obj/item/P, mob/user)
..()
var/clown = 0
if(user.mind && (user.job == "Clown"))
clown = 1

if(istype(P, /obj/item/paper) || istype(P, /obj/item/photo))
if (istype(P, /obj/item/paper/carbon))
Expand Down Expand Up @@ -424,6 +421,7 @@
return

stamps += (stamps=="" ? "<HR>" : "<BR>") + "<i>This paper has been stamped with the [P.name].</i>"
playsound(src, 'sound/effects/alien_footstep_medium3.ogg', 20, TRUE, 6)

var/image/stampoverlay = image('icons/obj/items/paper.dmi')
var/x
Expand All @@ -439,11 +437,6 @@
stampoverlay.pixel_x = x
stampoverlay.pixel_y = y

if(istype(P, /obj/item/tool/stamp/clown))
if(!clown)
to_chat(user, SPAN_NOTICE("You are totally unable to use the stamp. HONK!"))
return

if(!ico)
ico = new
ico += "paper_[P.icon_state]"
Expand Down

0 comments on commit f9c27bb

Please sign in to comment.