5 float m_NutritionalIndex;
10 string m_LiquidClassname;
11 float m_Digestibility;
13 void NutritionalProfile(
float energy,
float water_content,
float nutritional_index,
float fullness_index,
float toxicity,
int agents,
float digestibility)
16 m_WaterContent = water_content;
17 m_NutritionalIndex = nutritional_index;
18 m_FullnessIndex = fullness_index;
19 m_Toxicity = toxicity;
21 m_Digestibility = digestibility;
24 void MarkAsLiquid(
int liquid_type,
string classname)
26 m_LiquidType = liquid_type;
27 m_LiquidClassname = classname;
40 string GetLiquidClassname()
42 return m_LiquidClassname;
47 return (m_LiquidType > 0);
55 float GetWaterContent()
57 return m_WaterContent;
60 float GetNutritionalIndex()
62 return m_NutritionalIndex;
65 float GetFullnessIndex()
67 return m_FullnessIndex;
75 float GetDigestibility()
77 return m_Digestibility;