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();