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

This commit is contained in:
soarqin committed 2026-10-25 22:01:05 +08:00
1 parent 51e90a8e1d
commit cada02fbf4
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;