3 private const float TIME_TO_CRAFT_CLOTHES = 5.0;
5 override void CreateActionComponent()
21 m_Text =
"#STR_CraftImprovisedFeetCover";
24 override void CreateConditionComponents()
32 if( item.GetQuantity() >= 2 )
39 override bool HasTarget()
44 override void OnFinishProgressServer(
ActionData action_data )
46 EntityAI item_ingredient = action_data.m_MainItem;
49 cover = action_data.m_Player.SpawnEntityOnGroundPos(
"FeetCover_Improvised", action_data.m_Player.GetPosition());
50 action_data.m_MainItem.AddQuantity(-2);
52 MiscGameplayFunctions.TransferItemProperties(item_ingredient, cover);
55 override string GetSoundCategory(
ActionData action_data)
57 return "ImprovisedCloth_craft";