Use typed thermal bounds in schematic HUD

This commit is contained in:
Meta Vens 2026-06-14 03:05:37 +01:00
commit 0d286e095a
159 changed files with 317 additions and 267 deletions

View file

@ -391,6 +391,8 @@ internal static class LegacyCatalogReader
Stackable = false,
Duration = 0,
Durability = unionKey is 2 or 3 or 29 or 30 or 31 ? GetDouble(payload, 12) : 0,
MinimumTemperature = unionKey is 2 or 3 or 29 or 30 or 31 ? GetDouble(payload, 13) : 0,
MaximumTemperature = unionKey is 2 or 3 or 29 or 30 or 31 ? GetDouble(payload, 14) : 0,
WeaponRange = unionKey == 31 ? GetEnumName(payload, 24, WeaponRanges) : "",
WeaponCaliber = unionKey == 31 ? GetEnumName(payload, 25, WeaponCalibers) : "",
WeaponType = unionKey == 31 ? GetEnumName(payload, 26, WeaponTypes) : "",