Fixes ingested organs giving way too much fat

Oh god I just realized the slow item digestion code made hardvored bodyparts have the calorie content of nuclear fuel.
This commit is contained in:
Verkister
2018-11-22 17:27:55 +02:00
committed by GitHub
parent 2455d4b84e
commit 86ee636b19

View File

@@ -98,7 +98,11 @@
/obj/item/organ/digest_act(var/atom/movable/item_storage = null)
if((. = ..()))
. += 70 //Organs give a little more
if(isbelly(item_storage))
var/obj/belly/B = item_storage
. += 5 * (B.digest_brute + B.digest_burn)
else
. += 70 //Organs give a little more
/obj/item/weapon/storage/digest_act(var/atom/movable/item_storage = null)
for(var/obj/item/I in contents)
@@ -115,4 +119,4 @@
// Gradual damage measurement
/obj/item
var/digest_stage = null
var/digest_stage = null