[MIRROR] adds vars for damage done by temp on simplemobs (#3042)

* adds vars for damage done by temp on simplemobs (#56572)

instead of heat and cold damage being handled by unsuitable_atmos_damage, instead its handled by unsuitable_heat_damage and unsuitable_cold_damage
if these vars arent set on the mob, they are set by default to the value of unsuitable_atmos_damage

* adds vars for damage done by temp on simplemobs

Co-authored-by: Fikou <piotrbryla@onet.pl>
This commit is contained in:
SkyratBot
2021-02-03 14:46:21 +00:00
committed by GitHub
co-authored by Fikou
parent baef9d37b6
commit 64c8a4dd76
7 changed files with 26 additions and 54 deletions
+5 -5
View File
@@ -185,10 +185,13 @@
icon_dead = "scary_clown"
icon_gib = "scary_clown"
speak = list("...", ". . .")
maxHealth = 1e6
health = 1e6
maxHealth = INFINITY
health = INFINITY
emote_see = list("silently stares")
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
unsuitable_atmos_damage = 0
minbodytemp = 0
maxbodytemp = INFINITY
var/timer
/mob/living/simple_animal/hostile/clown_insane/Initialize()
@@ -254,9 +257,6 @@
return
return ..()
/mob/living/simple_animal/hostile/clown_insane/handle_temperature_damage()
return
/////////////////////////
// Spooky Uplink Items //
/////////////////////////