Yet more brainmed tweaks (#9254)

This commit is contained in:
Matt Atlas
2020-07-04 22:27:25 +02:00
committed by GitHub
parent ecd3e33f3b
commit 0811c51203
8 changed files with 64 additions and 20 deletions
@@ -114,6 +114,6 @@
return "grue"
/datum/species/shadow/handle_death_check(var/mob/living/carbon/human/H)
if(H.get_total_health() <= 0)
if(H.get_total_health() <= config.health_threshold_dead)
return TRUE
return FALSE
@@ -92,7 +92,7 @@
hud_type = /datum/hud_data/construct
/datum/species/skeleton/handle_death_check(var/mob/living/carbon/human/H)
if(H.get_total_health() <= 0)
if(H.get_total_health() <= config.health_threshold_dead)
return TRUE
return FALSE
@@ -146,7 +146,7 @@
qdel(H)
/datum/species/apparition/handle_death_check(var/mob/living/carbon/human/H)
if(H.get_total_health() <= 0)
if(H.get_total_health() <= config.health_threshold_dead)
return TRUE
return FALSE
@@ -185,7 +185,7 @@
return current_flags
/datum/species/diona/handle_death_check(var/mob/living/carbon/human/H)
if(H.get_total_health() <= 0)
if(H.get_total_health() <= config.health_threshold_dead)
return TRUE
return FALSE
@@ -119,7 +119,7 @@ var/global/list/golem_types = list("Coal Golem",
qdel(H)
/datum/species/golem/handle_death_check(var/mob/living/carbon/human/H)
if(H.get_total_health() <= 0)
if(H.get_total_health() <= config.health_threshold_dead)
return TRUE
return FALSE
@@ -300,7 +300,7 @@ datum/species/machine/handle_post_spawn(var/mob/living/carbon/human/H)
check_tag(H, H.client)
/datum/species/machine/handle_death_check(var/mob/living/carbon/human/H)
if(H.get_total_health() <= 0)
if(H.get_total_health() <= config.health_threshold_dead)
return TRUE
return FALSE