22 string selection =
target_EAI.GetActionComponentName(
target.GetComponentIndex());
24 if (selection ==
"sparkplug" &&
target_EAI.GetInventory().CanAddAttachment(
item))
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
override void CreateConditionComponents()
void ActionInsertSparkplug()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void OnExecuteServer(ActionData action_data)
override void OnExecuteClient(ActionData action_data)