96 {
97 if ( Math.RandomFloat01() <= chance )
98 {
99 ItemBase item =
ItemBase.Cast( player.GetHumanInventory().CreateInInventory(
"Food_Worm") );
101 return true;
102 }
103
104 return false;
105 }
class GP5GasMask extends MaskBase ItemBase
override bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)