3 override void CreateActionComponent()
19 m_Text =
"#STR_CraftBoneKnife0";
22 override void CreateConditionComponents()
30 if( item.GetQuantity() >= 2 )
37 override bool HasTarget()
42 override void OnFinishProgressServer(
ActionData action_data )
44 EntityAI knife = action_data.m_Player.SpawnEntityOnGroundPos(
"BoneKnife", action_data.m_Player.GetPosition());
45 action_data.m_MainItem.AddQuantity(-2);
47 MiscGameplayFunctions.TransferItemProperties(action_data.m_MainItem, knife);
50 override string GetSoundCategory(
ActionData action_data)
52 return "BoneKnife_craft";