24 m_UpdateTimer.Run( 10,
this,
"RainProcurementCheck", NULL,
true );
34 if ( rain_intensity > 0 )
proto native Weather GetWeather()
Returns weather controller object.
static void FillContainerEnviro(ItemBase container, int liquid_type, float amount, bool inject_agents=false)
DEPRECATED, done through the RainProcurementHandler / component instead.
protected ItemBase m_ProcuringItem
void RainProcurementManager(ItemBase procuring_item)
void RainProcurementCheck()
protected int m_IsUnderRoof
void StopRainProcurement()
protected const int RAIN_COEFFICIENT
void InitRainProcurement()
protected ref Timer m_UpdateTimer
proto native Rain GetRain()
Returns a rain phenomenon object.
proto native float GetActual()
Returns actual value of phenomenon in range <0, 1>.
proto native CGame GetGame()