34 if (slot && slot.GetPlant())
36 m_Plant = PlantBase.Cast(slot.GetPlant());
void CalcAndSetQuantity()
void OnCompletePogress(ActionData action_data)
override int Execute(ActionData action_data)
float m_PlantNeededSpraying
float m_SpentQuantityTotal
void CAContinuousDisinfectPlant(float quantity_used_per_second)
override void Setup(ActionData action_data)
override float GetProgress()
ref Param1< float > m_SpentUnits
float m_QuantityUsedPerSecond
Super root of all classes in Enforce script.
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static proto float Min(float x, float y)
Returns smaller of two given values.