Skip to content

Commit

Permalink
silent but deadly
Browse files Browse the repository at this point in the history
  • Loading branch information
CannibalHunter committed Aug 27, 2024
1 parent 65c2e7c commit 387b73d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
3 changes: 1 addition & 2 deletions code/datums/mutable_appearance.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

// Mutable appearances are children of images, just so you know.

/mutable_appearance/New()
..()
/mutable_appearance
plane = FLOAT_PLANE // No clue why this is 0 by default yet images are on FLOAT_PLANE
// And yes this does have to be in the constructor, BYOND ignores it if you set it as a normal var

Expand Down
2 changes: 2 additions & 0 deletions code/modules/mob/living/carbon/human/voicepacks/genmale.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,7 @@
used = 'sound/vo/attn.ogg'
if("psst")
used = 'sound/vo/psst.ogg'
if("fart")
used = pick('sound/vo/vart (1).ogg', 'sound/vo/vart (2).ogg', 'sound/vo/vart (3).ogg', 'sound/vo/vart (4).ogg')

return used
11 changes: 11 additions & 0 deletions code/modules/mob/living/emote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,17 @@
if(C.silent || !C.can_speak_vocal())
message = "makes a muffled hum."

/datum/emote/living/fart
key = "fart"
message = "farts."
nomsg = TRUE //silent but deadly
emote_type = EMOTE_AUDIBLE
/mob/living/carbon/human/verb/emote_fart()
set name = "Fart"
set category = "Noises"

emote("fart", intentional = TRUE)

/datum/emote/living/smile
key = "smile"
key_third_person = "smiles"
Expand Down

0 comments on commit 387b73d

Please sign in to comment.