См. определение в файле PlantBase.c строка 102
103 {
105
108 else
110
113 else
115
118
121
123
124 float count =
m_CropsCount * fertility * harvesting_efficiency;
126
128
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)
proto native Weather GetWeather()
Returns weather controller object.
proto native Rain GetRain()
Returns a rain phenomenon object.
proto native float GetActual()
proto native CGame GetGame()
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(), WeatherPhenomenon::GetActual(), GetGame(), Weather::GetRain(), CGame::GetWeather(), 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.