mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user