37 throughputCoef =
Math.
Min(throughputCoef,entity.GetLiquidThroughputCoef());
99 return super.Interrupt( action_data );
119 bool injectAgents =
true;
121 injectAgents =
false;
protected void CalcAndSetQuantity()
ref ActionTarget m_Target
void SetACData(Param units)
protected ActionBase m_Action
void OnCompletePogress(ActionData action_data)
override int Cancel(ActionData action_data)
protected float m_QuantityFilledPerSecond
override int Interrupt(ActionData action_data)
protected float m_DefaultTimeStep
override int Execute(ActionData action_data)
protected float m_SpentQuantity_total
void CAContinuousFill(float quantity_filled_per_second, int liquid_type)
override float GetProgress()
protected ref Param1< float > m_SpentUnits
protected float m_TimeElpased
void CalcAndSetQuantity(ActionData action_data)
protected int m_liquid_type
protected float m_ItemQuantity
protected float m_AdjustedQuantityFilledPerSecond
protected float m_TargetUnits
protected float m_SpentQuantity
override void Setup(ActionData action_data)
Super root of all classes in Enforce script.
override float GetLiquidThroughputCoef()
static void FillContainerEnviro(ItemBase container, int liquid_type, float amount, bool inject_agents=false)
proto native CGame GetGame()
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.