DayZ 1.24
Loading...
Searching...
No Matches
NutritionalProfile.c
Go to the documentation of this file.
2{
3 float m_Energy;
7 float m_Toxicity;
12
23
29
31 {
32 return m_Agents;
33 }
34
36 {
37 return m_LiquidType;
38 }
39
41 {
42 return m_LiquidClassname;
43 }
44
45 bool IsLiquid()
46 {
47 return (m_LiquidType > 0);
48 }
49
50 float GetEnergy()
51 {
52 return m_Energy;
53 }
54
56 {
57 return m_WaterContent;
58 }
59
61 {
62 return m_NutritionalIndex;
63 }
64
66 {
67 return m_FullnessIndex;
68 }
69
71 {
72 return m_Toxicity;
73 }
74
76 {
77 return m_Digestibility;
78 }
79}
void MarkAsLiquid(int liquid_type, string classname)
void NutritionalProfile(float energy, float water_content, float nutritional_index, float fullness_index, float toxicity, int agents, float digestibility)