3 override void CreateActionComponent()
21 override void CreateConditionComponents()
27 override bool HasTarget()
34 if (IsWearingHeadgear(player))
40 override void OnFinishProgressServer(
ActionData action_data )
43 if (
Class.CastTo(new_item,action_data.m_Player.GetInventory().CreateAttachmentEx(
"BurlapSackCover",
InventorySlots.HEADGEAR)))
45 MiscGameplayFunctions.TransferItemProperties(action_data.m_MainItem,new_item,
true,
false,
true);
46 action_data.m_MainItem.Delete();