feat(production): include logistics charging in black-box power

This commit is contained in:
soarqin committed 2026-10-11 03:13:07 +08:00
1 parent d4ba72abf4
commit 8696a80a66
7 files changed
+164 -2

No files matched your search

@@ -190,6 +190,8 @@ public static class ProductionCatalogReader
if (prefab.isPowerGen)
return prefab.photovoltaic || prefab.windForcedPower || prefab.geothermal
? ProductionBuildingKind.RenewableGenerator : ProductionBuildingKind.FuelGenerator;
if (prefab.isStation || prefab.isDispenser || prefab.isBattleBase)
return ProductionBuildingKind.Logistics;
if (prefab.isPowerConsumer && !prefab.isStation && !prefab.isDispenser)
return ProductionBuildingKind.Auxiliary;
return ProductionBuildingKind.Ordinary;