mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
Scorched Earth (#8828)
Doing enough fire damage to a corpse will now turn it into ash.
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
|
||||
mutations.Add(HUSK)
|
||||
status_flags |= DISFIGURED //makes them unknown without fucking up other stuff like admintools
|
||||
update_body(1)
|
||||
update_body(TRUE)
|
||||
return
|
||||
|
||||
/mob/living/carbon/human/proc/Drain()
|
||||
@@ -110,7 +110,7 @@
|
||||
|
||||
mutations.Add(SKELETON)
|
||||
status_flags |= DISFIGURED
|
||||
update_body(0)
|
||||
update_body(TRUE)
|
||||
return
|
||||
|
||||
/mob/living/carbon/human/proc/vr_disconnect()
|
||||
|
||||
@@ -10,9 +10,11 @@
|
||||
|
||||
health = maxHealth - getBrainLoss()
|
||||
|
||||
//TODO: fix husking
|
||||
if(((maxHealth - getFireLoss()) < config.health_threshold_dead) && stat == DEAD)
|
||||
ChangeToHusk()
|
||||
if(stat == DEAD)
|
||||
if(getFireLoss() > maxHealth * 1.5)
|
||||
ChangeToHusk()
|
||||
if(getFireLoss() > maxHealth * 3)
|
||||
ChangeToSkeleton()
|
||||
|
||||
UpdateDamageIcon() // to fix that darn overlay bug
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user