Skip to content

Settings

JSON schema

settings.json stores numeric values. The code keeps the legacy boolean keys readable for compatibility, but new saves should use the numeric schema below.

The built-in code defaults are conservative. The committed settings.json in this repository currently uses a stronger showcase preset with CarryMultiplier=100, MoveSpeedPercent=500, and StorageMultiplier=100.

KeyCode defaultEffectNotes
CarryMultiplier10Multiplies GoodCarrierSpec.BaseLiftingCapacity.Use 1 for vanilla behavior.
MoveSpeedPercent200Scales walking and slowed walking speeds.100 keeps vanilla values.
StorageMultiplier10Multiplies StockpileSpec.MaxCapacity.Affects storage blueprints that expose StockpileSpec.
BuildCostPercent10Scales BuildingSpec.BuildingCost.Uses ceiling rounding so small costs do not disappear accidentally.
ScienceCostPercent0Scales BuildingSpec.ScienceCost.0 makes science free.
FactoryWorkerMultiplier2Expands WorkplaceSpec worker counts.The UI label says Workplace workers because the generator now applies to general workplaces, not only factories.
PowerInputPercent10Scales MechanicalNodeSpec.PowerInput.Values above 0 are clamped to stay positive.

Example file

settings.json screenshot

Normalization rules

The settings object normalizes each field before generation:

  • multipliers stay at 1 or higher where vanilla needs a positive count
  • percentage-based values stay at 0 or higher where zero is valid
  • invalid or unreadable JSON falls back to the built-in defaults

Legacy compatibility

TimberBoostControlSettingsStore still maps the older boolean keys when they appear:

  • CarryTenX
  • MoveTwoX
  • StorageTenX
  • BuildCostTenth
  • FreeScience
  • DoubleFactoryWorkers
  • PowerTenth

That means the mod can load older local files and translate them into the new numeric model automatically.

Released under the MIT License.