mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Hunger Rework
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user