3 override void CreateActionComponent()
9 private const float TIME_TO_CRAFT_CLOTHES = 5.0;
22 m_Text =
"#STR_DeCraftRopeBelt";
33 return item.GetInventory().AttachmentCount() == 0;
43 EntityAI ropebelt = action_data.m_MainItem;
45 EntityAI rope = action_data.m_Player.SpawnEntityOnGroundPos(
"Rope", action_data.m_Player.GetPosition());
46 action_data.m_MainItem.Delete();
48 MiscGameplayFunctions.TransferItemProperties(ropebelt, rope);