mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 09:34:52 +01:00
Vore death privacy pref (#18226)
* Vore death privacy pref Added a vore death privacy pref, which prevents "X has died at Y [jump]" from popping up to ghosts when you die in a belly. * Change formatting * Fixes mistakes * Update code/modules/mob/living/carbon/human/death.dm Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com> --------- Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
This commit is contained in:
@@ -88,9 +88,10 @@
|
||||
var/area/A = get_area(src)
|
||||
if(!(A?.flag_check(AREA_BLOCK_SUIT_SENSORS)) && isbelly(loc))
|
||||
// SSgame_master.adjust_danger(gibbed ? 40 : 20) // We don't use SSgame_master yet.
|
||||
for(var/mob/observer/dead/O in GLOB.mob_list)
|
||||
if(O.client?.prefs?.read_preference(/datum/preference/toggle/show_dsay))
|
||||
to_chat(O, span_deadsay(span_bold("[src]") + " has died in " + span_bold("[get_area(src)]") + ". [ghost_follow_link(src, O)] "))
|
||||
if(!isbelly(loc) || !vore_death_privacy)
|
||||
for(var/mob/observer/dead/O in GLOB.mob_list)
|
||||
if(O.client?.prefs?.read_preference(/datum/preference/toggle/show_dsay))
|
||||
to_chat(O, span_deadsay(span_bold("[src]") + " has died in " + span_bold("[get_area(src)]") + ". [ghost_follow_link(src, O)] "))
|
||||
|
||||
if(!gibbed && !isbelly(loc))
|
||||
playsound(src, pick(get_species_sound(get_gendered_sound(src))["death"]), src.species.death_volume, 1, 20, volume_channel = VOLUME_CHANNEL_DEATH_SOUNDS)
|
||||
|
||||
Reference in New Issue
Block a user