mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-11 07:04:01 +01:00
Fixes.
-Fixed oties not switching to dead icon when dying in resting pose. -Made dino/lizard predthings able to survive the outdoors. (they were all slowly freezing to death)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
melee_damage_upper = 25
|
||||
attacktext = "bitten"
|
||||
attack_sound = 'sound/weapons/bite.ogg'
|
||||
minbodytemp = 270
|
||||
minbodytemp = 200
|
||||
maxbodytemp = 370
|
||||
heat_damage_per_tick = 15
|
||||
cold_damage_per_tick = 10
|
||||
|
||||
@@ -261,6 +261,31 @@
|
||||
return
|
||||
..()
|
||||
|
||||
/mob/living/simple_animal/otie/death()
|
||||
resting = 0
|
||||
icon_state = icon_dead
|
||||
..()
|
||||
|
||||
/mob/living/simple_animal/otie/death(gibbed, deathmessage = "dies!")
|
||||
density = 0 //We don't block even if we did before
|
||||
walk(src, 0) //We stop any background-processing walks
|
||||
resting = 0
|
||||
icon_state = icon_dead
|
||||
|
||||
if(faction_friends.len)
|
||||
faction_friends -= src
|
||||
|
||||
if(loot_list.len) //Drop any loot
|
||||
for(var/path in loot_list)
|
||||
if(prob(loot_list[path]))
|
||||
new path(get_turf(src))
|
||||
|
||||
spawn(3) //We'll update our icon in a sec
|
||||
icon_state = icon_dead //Goddamn triple check. If this ain't working Imma be PISSED!
|
||||
update_icon()
|
||||
|
||||
return ..(gibbed,deathmessage)
|
||||
|
||||
// Activate Noms!
|
||||
|
||||
/mob/living/simple_animal/otie
|
||||
|
||||
Reference in New Issue
Block a user