This commit is contained in:
Ikarrus
2015-06-27 14:22:38 -06:00
parent 7894263033
commit d07e315ddf
8 changed files with 18 additions and 3 deletions
+7
View File
@@ -8,6 +8,10 @@
MakeHood()
..()
/obj/item/clothing/suit/hooded/Destroy()
qdel(hood)
..()
/obj/item/clothing/suit/hooded/proc/MakeHood()
if(!hood)
var/obj/item/clothing/head/winterhood/W = new hoodtype(src)
@@ -93,6 +97,9 @@
verbs -= /obj/item/clothing/suit/space/hardsuit/verb/Jetpack
verbs -= /obj/item/clothing/suit/space/hardsuit/verb/Jetpack_Rockets
..()
/obj/item/clothing/suit/space/hardsuit/Destroy()
qdel(helmet)
..()
/obj/item/clothing/suit/space/hardsuit/proc/MakeHelmet()
if(!helmettype)
@@ -12,7 +12,7 @@
health = maxHealth - getOxyLoss() - getToxLoss() - getCloneLoss() - total_burn - total_brute
if( ((maxHealth - total_burn) < config.health_threshold_dead) && stat == DEAD )
ChangeToHusk()
if(bodytemperature > FIRE_MINIMUM_TEMPERATURE_TO_EXIST)
if(on_fire)
shred_clothing()
med_hud_set_health()
med_hud_set_status()
@@ -463,7 +463,7 @@
Item.loc = src.loc
spawn(1) //so the shreds aren't instantly deleted by the explosion
var/obj/effect/decal/cleanable/shreds/Shreds = new(loc)
Shreds.desc = "The sad remains of what used to be a glorious [src.name]."
Shreds.desc = "The sad remains of what used to be [src.name]."
qdel(src)
else
burn()