Fixes prommies passively chonking it up (#7292)

* Fixes prommies passively chonking it up

Fixes prommies passively gaining nutrition on every tick to reach the maxcap within minutes by just standing around regardless if they're even standing on dirt or even standing on a turf at all.

* Update prometheans.dm

* Update prometheans.dm
This commit is contained in:
Verkister
2020-07-04 12:33:54 +03:00
committed by GitHub
parent 21d0112661
commit 4c5352c170

View File

@@ -179,13 +179,15 @@ var/datum/species/shapeshifter/promethean/prometheans
if(istype(T))
if(!(H.shoes || (H.wear_suit && (H.wear_suit.body_parts_covered & FEET))))
for(var/obj/O in T)
O.clean_blood()
H.adjust_nutrition(rand(5, 15))
if(O.clean_blood())
H.adjust_nutrition(rand(5, 15))
if (istype(T, /turf/simulated))
var/turf/simulated/S = T
T.clean_blood()
S.dirt = 0
H.adjust_nutrition(rand(10, 20))
if(T.clean_blood())
H.adjust_nutrition(rand(10, 20))
if(S.dirt > 50)
S.dirt = 0
H.adjust_nutrition(rand(10, 20))
if(H.clean_blood(1))
H.adjust_nutrition(rand(5, 15))
if(H.r_hand)