3 override void CreateActionComponent()
21 override void CreateConditionComponents()
27 override bool HasTarget()
32 override void OnFinishProgressServer(
ActionData action_data )
34 action_data.m_MainItem.TransferModifiers(action_data.m_Player);
35 action_data.m_Player.ApplySplint();
38 if (action_data.m_Player.GetBrokenLegs() ==
eBrokenLegs.BROKEN_LEGS)
40 action_data.m_Player.SetBrokenLegs(
eBrokenLegs.BROKEN_LEGS_SPLINT);
42 ItemBase new_item =
ItemBase.Cast(action_data.m_Player.GetInventory().CreateInInventory(
"Splint_Applied"));
45 MiscGameplayFunctions.TransferItemProperties(action_data.m_MainItem,new_item,
true,
false,
true);
46 action_data.m_MainItem.Delete();
54 if (player.GetBrokenLegs() !=
eBrokenLegs.BROKEN_LEGS || IsWearingSplint(player))
58 return super.ActionCondition(player, target, item);
64 if ( player.GetItemOnSlot(
"Splint_Right") )