1113 {
1114 float heatPermCoef = heatPermeabilityCoef;
1115
1116
1117 int inventoryAttCount = item.GetInventory().AttachmentCount();
1118 if (inventoryAttCount > 0)
1119 {
1121 for (int inAttIdx = 0; inAttIdx < inventoryAttCount; ++inAttIdx)
1122 {
1123 if (Class.CastTo(attachmentItem,item.GetInventory().GetAttachmentFromIndex(inAttIdx)))
1124 {
1125 heatPermCoef = heatPermeabilityCoef;
1126 heatPermCoef *= attachmentItem.GetHeatPermeabilityCoef();
1127
1129 {
1131 }
1132
1134 }
1135 }
1136 }
1137
1138 if (item.GetInventory().GetCargo())
1139 {
1140 int inventoryItemCount = item.GetInventory().GetCargo().GetItemCount();
1141 if (inventoryItemCount > 0)
1142 {
1144 for (int j = 0; j < inventoryItemCount; ++j)
1145 {
1146 if (Class.CastTo(inventoryItem,item.GetInventory().GetCargo().GetItem(j)))
1147 {
1148 heatPermCoef = heatPermeabilityCoef;
1149 heatPermCoef *= inventoryItem.GetHeatPermeabilityCoef();
1150
1152 {
1154 }
1155
1157 }
1158 }
1159 }
1160 }
1161 }
class GP5GasMask extends MaskBase ItemBase
void SetProcessedItemTemperature(ItemBase item, float heatPermeabilityCoef=1.0)
void ProcessItemHierarchyRecursive(ItemBase item, float heatPermeabilityCoef=1.0)
override bool IsSelfAdjustingTemperature()