Hunger Rework

This commit is contained in:
Fox-McCloud
2016-11-28 13:17:46 -05:00
parent 08142bb855
commit e134100164
23 changed files with 157 additions and 124 deletions
+2 -2
View File
@@ -77,8 +77,8 @@
if(prob(15/D.permeability_mod))
return
/* if(satiety>0 && prob(satiety/10)) // positive satiety makes it harder to contract the disease.
return*/
if(satiety > 0 && prob(satiety/10)) // positive satiety makes it harder to contract the disease.
return
var/target_zone = pick(head_ch;1,body_ch;2,hands_ch;3,feet_ch;4)
+1 -1
View File
@@ -102,7 +102,7 @@ var/list/diseases = subtypesof(/datum/disease)
return
if(affected_mob)
if(affected_mob.reagents.has_reagent("spaceacillin"))
if(affected_mob.reagents.has_reagent("spaceacillin") || (affected_mob.satiety > 0 && prob(affected_mob.satiety/10)))
return
var/spread_range = 1