Skip to content

Commit

Permalink
Merge pull request #5374 from Kilmented/master
Browse files Browse the repository at this point in the history
soup is for sick people (which is you)
  • Loading branch information
Tk420634 committed Sep 25, 2024
2 parents de24179 + 1e86a6d commit 37a189d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions code/modules/mob/living/life.dm
Original file line number Diff line number Diff line change
Expand Up @@ -231,15 +231,17 @@
////////////////////////////////

/mob/living/proc/handle_healreservoir()
var/heal_max = 5
var/heal_max = 10
if(HAS_TRAIT(src, TRAIT_IMPROVED_HEALING))
heal_max = 25
heal_max = 30
if(heal_reservoir < heal_max)
if(iscarbon(src)) //Humans and stuff with stinky reagents
if(src.reagents.has_reagent(/datum/reagent/water))
heal_reservoir += 0.5
heal_reservoir += 0.75
if(src.reagents.has_reagent(/datum/reagent/consumable/nutriment))
heal_reservoir += 0.75
else
heal_reservoir += 0.25
heal_reservoir += 0.05
else //Everything else
heal_reservoir += (rand(10,50)/100)//0.1 to 0.5
heal_reservoir = min(heal_reservoir,heal_max)

0 comments on commit 37a189d

Please sign in to comment.