mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
feat(production): include logistics charging in black-box power
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user