87 {
88 ConstructionActionData construction_action_data = action_data.
m_Player.GetConstructionActionData();
90 if( item_target )
91 {
92 float stackable = item_target.GetTargetQuantityMax();
93
94 if( stackable == 0 || stackable >= item_target.GetQuantity() )
95 {
96
97 action_data.
m_Player.PredictiveTakeEntityToHands( item_target );
98 }
99 else if( stackable != 0 && stackable < item_target.GetQuantity() )
100 {
101
102 item_target.SplitIntoStackMaxHandsClient( action_data.
m_Player );
103 }
104 }
105 }
class GP5GasMask extends MaskBase ItemBase
EntityAI GetActualAttachmentToDetach()