См. определение в файле PlantBase.c строка 102
103 {
105
108 else
110
113 else
115
118
121
123
124 float count =
m_CropsCount * fertility * harvesting_efficiency;
126
128
129 float rain_intensity =
g_Game.GetWeather().GetRain().GetActual();
130
132 {
135 }
136
137 if (rain_intensity <= 0.0)
138 {
141 }
142 }
float m_PlantMaterialMultiplier
static int m_DebugFullMaturityTime
const float SPOIL_AFTER_MATURITY_TIME
static int m_DebugDeleteDryTime
static int m_DebugSpoilTime
static int m_DebugSpoilRemoveTime
int m_SpoilAfterFullMaturityTime
void SetPlantState(int state)
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].
static proto float Ceil(float f)
Returns ceil of value.
Перекрестные ссылки Math::Ceil(), g_Game, GrowthTimerTick(), m_CropsCount, m_DebugDeleteDryTime, m_DebugFullMaturityTime, m_DebugSpoilRemoveTime, m_DebugSpoilTime, m_DeleteDryPlantTime, m_FullMaturityTime, m_GardenBase, m_GrowthStagesCount, m_PlantMaterialMultiplier, m_PlantState, m_SpoilAfterFullMaturityTime, m_SpoiledRemoveTime, m_StateChangeTime, NeedsWater(), Math::RandomInt(), SetPlantState() и SPOIL_AFTER_MATURITY_TIME.