mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-19 13:20:47 +01:00
d0787362cd
* insanity - Crawling - Recursive Listeners - Global Conversion to GLOB. - Sound channels (and sound (but not looping sound yet)) - Species and gender specific sounds - Admin proc to enable vore antag on a target - Dying by being crushed inside of shoes now enables your vore_death flag - *pain emote - RNG Spaceslipping removed - Selecting the groin with help intent will do a bellyrub on the target - Xenochimera get lick wounds - Wolves now get stomachs (and stomach overlays) - Proper vantag handling - Staff exiting will now notify staff - Modular computers get a power on sound now GET IN THERE * whoops forgot to give it to mobs * Bellyrubbing is now an emote * Update vorestation.dme * some small edits actually gives voice freq a valid starting selection makes the default voice less jarring * Update atoms_movable.dm * Update atoms_movable.dm
43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
/mob/living/death(gibbed)
|
|
clear_fullscreens()
|
|
update_mob_action_buttons()
|
|
if(ai_holder)
|
|
ai_holder.go_sleep()
|
|
|
|
if(nest) //Ew.
|
|
if(istype(nest, /obj/structure/prop/nest))
|
|
var/obj/structure/prop/nest/N = nest
|
|
N.remove_creature(src)
|
|
if(istype(nest, /obj/structure/blob/factory))
|
|
var/obj/structure/blob/factory/F = nest
|
|
F.spores -= src
|
|
if(istype(nest, /obj/structure/mob_spawner))
|
|
var/obj/structure/mob_spawner/S = nest
|
|
S.get_death_report(src)
|
|
nest = null
|
|
|
|
if(isbelly(loc) && tf_mob_holder)
|
|
mind?.vore_death = TRUE
|
|
if(tf_mob_holder.loc == src)
|
|
tf_mob_holder.mind?.vore_death = TRUE
|
|
|
|
for(var/datum/soul_link/S as anything in owned_soul_links)
|
|
S.owner_died(gibbed)
|
|
for(var/datum/soul_link/S as anything in shared_soul_links)
|
|
S.sharer_died(gibbed)
|
|
|
|
if(!gibbed && !isbelly(loc))
|
|
if(src.death_sound_override) // Do we override the death sounds from our species list - used by only a few specific mobs. If we do, do the next one instead
|
|
playsound(src, death_sound_override, 50, 1, 20, volume_channel = VOLUME_CHANNEL_DEATH_SOUNDS)
|
|
else
|
|
if(!ishuman(src)) // Safety, we're not going to double up on death noises if we're not human.
|
|
playsound(src, pick(get_species_sound(get_gendered_sound(src))["death"]), 50, 1, 20, volume_channel = VOLUME_CHANNEL_DEATH_SOUNDS)
|
|
|
|
. = ..()
|
|
|
|
/mob/living/proc/delayed_gib()
|
|
visible_message(span_danger(span_bold("[src]") + " starts convulsing violently!"), span_danger("You feel as if your body is tearing itself apart!"))
|
|
Weaken(30)
|
|
make_jittery(1000)
|
|
addtimer(CALLBACK(src, PROC_REF(gib)), rand(2 SECONDS, 10 SECONDS))
|