3 private const float TIME_TO_CRAFT_CLOTHES = 5.0;
5 override void CreateActionComponent()
22 m_Text =
"#STR_CraftImprovisedHeadCover";
25 override void CreateConditionComponents()
33 if( item.GetQuantity() >= 2 )
40 override bool HasTarget()
45 override void OnFinishProgressServer(
ActionData action_data )
47 EntityAI item_ingredient = action_data.m_MainItem;
50 cover = action_data.m_Player.SpawnEntityOnGroundPos(
"HeadCover_Improvised", action_data.m_Player.GetPosition());
51 action_data.m_MainItem.AddQuantity(-2);
53 MiscGameplayFunctions.TransferItemProperties(item_ingredient, cover);
56 override string GetSoundCategory(
ActionData action_data)
58 return "ImprovisedCloth_craft";