Use typed hull prefabs in zone renderer

This commit is contained in:
Meta Vens 2026-06-14 03:31:08 +01:00
commit 46793a5a2f
159 changed files with 305 additions and 276 deletions

View file

@ -394,6 +394,7 @@ internal static class LegacyCatalogReader
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,
ThermalPerformanceCurveKeys = unionKey is 2 or 3 or 29 or 30 or 31 ? ReadCurveKeys(payload, 17) : [],
HullPrefab = unionKey == 3 ? GetString(payload, 24) : "",
WeaponRange = unionKey == 31 ? GetEnumName(payload, 24, WeaponRanges) : "",
WeaponCaliber = unionKey == 31 ? GetEnumName(payload, 25, WeaponCalibers) : "",
WeaponType = unionKey == 31 ? GetEnumName(payload, 26, WeaponTypes) : "",