Skip to content

Commit

Permalink
Gasping in shock, but for non-humans! (#1007)
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

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

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

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

---------

Co-authored-by: Hypertorus Fusion Reactor <[email protected]>
Co-authored-by: Bloop <[email protected]>
  • Loading branch information
3 people authored Dec 7, 2023
1 parent 62e9758 commit 2a6214a
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 2a6214a

Please sign in to comment.