Skip to content

Commit

Permalink
Gasping in shock, but for non-humans! (#25470)
Browse files Browse the repository at this point in the history
* makes gaspshock no longer limited to humans

* Revert "makes gaspshock no longer limited to humans"

This reverts commit 06e4d2d7dcce182d832d9b3e3ea9f10a2d7d5211.

* makes *gaspshock no longer limited to humans

* SKYRAT EDIT CHANGE comment

Co-authored-by: Bloop <[email protected]>

* Update code/modules/mob/living/emote.dm

* Update code/modules/mob/living/emote.dm

* Update code/modules/mob/living/emote.dm

---------

Co-authored-by: Bloop <[email protected]>
  • Loading branch information
2 people authored and FFMirrorBot committed Dec 6, 2023
1 parent a17d028 commit 77ece66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/emote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
if(!ishuman(user))
return
var/mob/living/carbon/human/human_user = user
if(human_user.dna.species.id == SPECIES_HUMAN && !HAS_MIND_TRAIT(human_user, TRAIT_MIMING))
if(ishuman(human_user) && !HAS_MIND_TRAIT(human_user, TRAIT_MIMING)) // SKYRAT EDIT CHANGE - Let other species gasp - ORIGINAL: if(human_user.dna.species.id == SPECIES_HUMAN && !HAS_MIND_TRAIT(human_user, TRAIT_MIMING))
if(human_user.physique == FEMALE)
return pick('sound/voice/human/gasp_female1.ogg', 'sound/voice/human/gasp_female2.ogg', 'sound/voice/human/gasp_female3.ogg')
else
Expand Down

0 comments on commit 77ece66

Please sign in to comment.