Plant-B-Gone now affects Diona nymphs. Dionas now heal toxin/fire damage.

This commit is contained in:
Markolie
2015-02-25 22:07:23 +01:00
parent 8e159c51b3
commit 5d529c8086
3 changed files with 13 additions and 4 deletions
+6 -4
View File
@@ -914,10 +914,12 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc
traumatic_shock -= light_amount
if(species.flags & IS_PLANT)
if(nutrition > 500)
nutrition = 500
if(light_amount >= 5) //if there's enough light, heal
adjustBruteLoss(-(light_amount))
if(nutrition > 450)
nutrition = 450
if(light_amount >= 3) //if there's enough light, heal
adjustBruteLoss(-(light_amount/2))
adjustFireLoss(-(light_amount/2))
adjustToxLoss(-(light_amount))
adjustOxyLoss(-(light_amount))
//TODO: heal wounds, heal broken limbs.
@@ -1435,6 +1435,13 @@ datum
H.adjustToxLoss(50)
..()
return
if(ismonkey(M))
var/mob/living/carbon/monkey/MO = M
if(MO.dna)
if(MO.dna.mutantrace == "plant") //plantmen monkeys (diona) take EVEN MORE damage
MO.adjustToxLoss(100)
..()
return
plasma
name = "Plasma"