148 {
149 if (CanDrop())
150 {
153 SlotsIcon focused_icon = GetFocusedSlotsIcon();
154
155 if (item && !item.IsLockedInSlot() && (focused_icon && !focused_icon.
IsOutOfReach()))
156 {
157 if (item.GetTargetQuantityMax() < item.GetQuantity())
158 item.SplitIntoStackMaxClient( null, -1 );
159 else
160 player.PhysicalPredictiveDropItem( item );
161 return true;
162 }
163 }
164 return false;
165 }
class GP5GasMask extends MaskBase ItemBase
proto native CGame GetGame()