21 m_Text =
"#fertilize_slot";
39 garden_base.GetActionComponentNameList(target.GetComponentIndex(), selections);
42 for (
int s = 0; s < selections.Count(); s++)
44 selection = selections[s];
45 slot = garden_base.GetSlotBySelection( selection );
50 if ( garden_base.NeedsFertilization( selection ) )
52 if ( item.GetQuantity() > 0 )
class ActionTargets ActionTarget
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
void ActionContinuousBase()
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
void ActionFertilizeSlot()
override void OnFinishProgressServer(ActionData action_data)
const float QUANTITY_USED_PER_SEC
override void CreateActionComponent()
Super root of all classes in Enforce script.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
DayZPlayerConstants
defined in C++
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.