3 override void CreateActionComponent()
17 m_Text =
"#fix_persons_fracture";
20 override void CreateConditionComponents()
26 override void OnFinishProgressServer(
ActionData action_data )
31 action_data.m_MainItem.TransferModifiers(ntarget);
32 ntarget.ApplySplint();
34 ItemBase new_item =
ItemBase.Cast(ntarget.GetInventory().CreateInInventory(
"Splint_Applied"));
37 MiscGameplayFunctions.TransferItemProperties(action_data.m_MainItem,new_item,
true,
false,
true);
38 action_data.m_MainItem.Delete();
42 ntarget.SetBrokenLegs(
eBrokenLegs.BROKEN_LEGS_SPLINT);
52 if (ntarget.GetBrokenLegs() !=
eBrokenLegs.BROKEN_LEGS || IsWearingSplint(ntarget))
56 return super.ActionCondition(player, target, item);
62 if ( player.GetItemOnSlot(
"Splint_Right") )