33 {
34 action_data.m_MainItem.TransferModifiers(action_data.m_Player);
35 action_data.m_Player.ApplySplint();
36
37
38 if (action_data.m_Player.GetBrokenLegs() ==
eBrokenLegs.BROKEN_LEGS)
39 {
40 action_data.m_Player.SetBrokenLegs(
eBrokenLegs.BROKEN_LEGS_SPLINT);
41
42 ItemBase new_item =
ItemBase.Cast(action_data.m_Player.GetInventory().CreateInInventory(
"Splint_Applied"));
43 if ( new_item )
44 {
45 MiscGameplayFunctions.TransferItemProperties(action_data.m_MainItem,new_item,true,false,true);
46 action_data.m_MainItem.Delete();
47 }
48 }
49 }
class GP5GasMask extends MaskBase ItemBase