12 override void CreateConditionComponents()
22 string selection = target_EAI.GetActionComponentName(target.GetComponentIndex());
24 if ( selection ==
"sparkplug" && target_EAI.GetInventory().CanAddAttachment(item) )
32 override void OnExecuteServer(
ActionData action_data )
35 target_EAI.LocalTakeEntityAsAttachment (action_data.m_MainItem);
37 override void OnExecuteClient(
ActionData action_data )
40 target_EAI.LocalTakeEntityAsAttachment (action_data.m_MainItem);