437 {
438 if ( item.IsInherited( InventoryItem ) )
439 {
441 if ( item.IsInherited( Magazine ) )
442 {
444 }
445 else if ( item.IsInherited( ItemBook ) )
446 {
448 }
449 int max = item.GetQuantityMax();
450 bool bar = item.ConfigGetBool( "quantityBar" );
451 if ( max > 0 )
452 {
453 if ( max == 1 || bar )
454 {
456 }
457 else
458 {
460 }
461 }
462 }
464 }
class GP5GasMask extends MaskBase ItemBase
const int QUANTITY_PROGRESS
const int QUANTITY_HIDDEN