6 m_Text =
"#switch_to_next_material";
38 if ( target_entity && target_entity.CanUseConstruction() )
46 string main_part_name = target_entity.GetActionComponentName( target.GetComponentIndex() );
60 super.Start( action_data );
class ActionTargets ActionTarget
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
void ActionSingleUseBase()
void ActionTakeMaterialToHandsSwitch()
override void Start(ActionData action_data)
override bool UseAcknowledgment()
override bool RemoveForceTargetAfterUse()
override bool IsInstant()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void CreateConditionComponents()
override bool IsPlayerInside(PlayerBase player, string selection)
int GetAttachmentsToDetachCount()
void SetNextAttachmentIndex()
void RefreshAttachmentsToDetach(EntityAI target, string main_part_name)