More dionaea tweaks, NO_PAIN, IS_PLANT and IS_SLOW specifically.

This commit is contained in:
Zuhayr
2014-01-06 14:54:35 +10:30
parent b28592d707
commit 3b072b32b0
6 changed files with 19 additions and 12 deletions
@@ -2,7 +2,7 @@
var/tally = 0
if(species && species.flags & IS_SLOW)
tally = 10
tally = 7
if (istype(loc, /turf/space)) return -1 // It's hard to be slowed down in space by... anything
+9 -6
View File
@@ -885,12 +885,15 @@
nutrition += light_amount
traumatic_shock -= light_amount
if(nutrition > 500)
nutrition = 500
if(light_amount > 5) //if there's enough light, heal
adjustBruteLoss(-1)
adjustToxLoss(-1)
adjustOxyLoss(-1)
if(species.flags & IS_PLANT)
if(nutrition > 500)
nutrition = 500
if(light_amount >= 3) //if there's enough light, heal
adjustBruteLoss(-(light_amount))
adjustToxLoss(-(light_amount))
adjustOxyLoss(-(light_amount))
//TODO: heal wounds, heal broken limbs.
if(dna && dna.mutantrace == "shadow")
var/light_amount = 0
if(isturf(loc))
@@ -455,7 +455,7 @@
if(nutrition > 500)
nutrition = 500
if(light_amount > 2) //if there's enough light, heal
heal_overall_damage(1,1)
adjustBruteLoss(-1)
adjustToxLoss(-1)
adjustOxyLoss(-1)
+1 -1
View File
@@ -126,7 +126,7 @@
eyes = "vox_eyes_s"
breath_type = "nitrogen"
flags = NO_SCAN
flags = NO_SCAN | NO_BLOOD
blood_color = "#2299FC"
flesh_color = "#808D11"