37 {
38 super.OnFreezeStateChangeServer();
39
40
41 CargoBase cargo;
42 if (!GetIsFrozen() &&
GetLiquidType() != 0 && Class.CastTo(cargo,GetInventory().GetCargo()))
43 {
45 for (int i = 0; i < count; ++i)
46 {
47 MiscGameplayFunctions.SoakItemInsideParentContainingLiquidAboveThreshold(
ItemBase.Cast(cargo.
GetItem(i)),
this);
48 }
49 }
50 }
class GP5GasMask extends MaskBase ItemBase
override int GetLiquidType()
proto native int GetItemCount()
proto native EntityAI GetItem(int index)