mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
fix(production): correct full-load capture and solver scaling
Stop capturing the transient miner output damper, apply the sandbox boost state to artificial stars as for launchers, and keep lens-free photon flows when no ray receiver is selected. Scale the planner conservation check by each ledger row and normalize the simplex right-hand side so large rates no longer fail. Skip non-production objects before copying native settings, decode blueprints through the native paste path, and simplify analyzer mode resolution. Update stale ProductionCheck expectations, add regression checks, and document the rules.
This commit is contained in:
1 parent
426cdf8975
commit
b1b6785572
13 files changed
+418
-254
No files matched your search
@@ -245,6 +245,15 @@ public sealed class ProductionBuilding
|
||||
AmmunitionItemId = ammunitionItemId;
|
||||
CollectorSpeedMultiplier = collectorSpeedMultiplier;
|
||||
}
|
||||
|
||||
internal ProductionBuilding WithSpeedFactor(double speedFactor)
|
||||
{
|
||||
return new ProductionBuilding(ItemId, Category, speedFactor, WorkingPowerWatts, IdlePowerWatts, Kind,
|
||||
RatedGenerationWatts, ExchangeRateWatts, AccumulatorEnergyJoules, EmptyAccumulatorItemId,
|
||||
FullAccumulatorItemId, RenewableSource, MinerKind, MiningPeriodTicks, FuelMask, FuelUseWatts,
|
||||
PowerProductItemId, PowerProductEnergyJoules, CatalystMask, LaunchChargeTicks, LaunchCooldownTicks,
|
||||
AmmunitionItemId, CollectorSpeedMultiplier);
|
||||
}
|
||||
}
|
||||
|
||||
public sealed class ProductionCatalog
|
||||
|
||||
Reference in new issue
Block a user