removed var digestion_ratio (#19114)

This commit is contained in:
Henri215
2022-09-21 21:50:06 +01:00
committed by GitHub
parent b060b4b6d2
commit c2aba93317
6 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -1086,7 +1086,7 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
var/fullness = nutrition + 10
if(istype(toEat, /obj/item/reagent_containers/food/snacks))
for(var/datum/reagent/consumable/C in reagents.reagent_list) //we add the nutrition value of what we're currently digesting
fullness += C.nutriment_factor * C.volume / (C.metabolization_rate * metabolism_efficiency * digestion_ratio)
fullness += C.nutriment_factor * C.volume / (C.metabolization_rate * metabolism_efficiency)
if(user == src)
if(istype(toEat, /obj/item/reagent_containers/food/drinks))
if(!selfDrink(toEat))
@@ -1295,7 +1295,6 @@
add_language(dna.species.default_language)
hunger_drain = dna.species.hunger_drain
digestion_ratio = dna.species.digestion_ratio
if(dna.species.base_color && use_default_color)
//Apply colour.
@@ -34,7 +34,6 @@
var/body_temperature = 310.15 //non-IS_SYNTHETIC species will try to stabilize at this temperature. (also affects temperature processing)
var/reagent_tag //Used for metabolizing reagents.
var/hunger_drain = HUNGER_FACTOR
var/digestion_ratio = 1 //How quickly the species digests/absorbs reagents.
var/taste_sensitivity = TASTE_SENSITIVITY_NORMAL //the most widely used factor; humans use a different one
var/hunger_icon = 'icons/mob/screen_hunger.dmi'
var/hunger_type
@@ -38,7 +38,6 @@
// What type of mob is this
var/mob_biotypes = MOB_ORGANIC
var/metabolism_efficiency = 1 //more or less efficiency to metabolize helpful/harmful reagents and regulate body temperature..
var/digestion_ratio = 1 //controls how quickly reagents metabolize; largely governered by species attributes.
var/holder = null //The holder for blood crawling