User-defined Scripts
The Capitalism Lab script system lets you configure a new game from a plain text file, going well beyond the New Game Settings menu — a game with ten cities, a player character with expertise set to any value, or a challenge with objectives of your own.
Start here
- 📝Script BasicsHow a script file is written, loaded and applied to a new game.
- ⚙️Script GeneratorBuild a script file in the browser instead of writing one by hand.
- 📁Pre-defined ScriptsThe scripts that ship with Capitalism Lab, ready to load.
The game world
- 🌍EnvironmentEconomic conditions and world settings the game starts under.
- 🏙️CitiesChoose which cities appear, and how many.
- 🗂️City ListEvery city in the Capitalism Lab database, for reference.
- 🏢CompetitorsDefine the AI companies and how they behave.
- 📦ProductsControl which products and industries are in play.
The player
- 🎓Player ExpertiseSet your character's starting skills to any values.
- ⚖️Special RulesRules that change how the simulation itself behaves.
- 🔒LocksRestrict what the player is allowed to do or build.
- 🧩DLCsScript settings that apply to the DLC expansions.
Goals and challenges
- 🎯GoalsDefine what the player has to achieve to win.
- 📋Goal HeadersThe header block that opens a goal definition.
- 🔢Goal ValuesThe target figures a goal is measured against.
- 🏭Goal Industries and ProductsTie a goal to particular industries or products.
- 🏆Goal Rewards and PenaltiesWhat the player gains or loses on each outcome.
- 🎁Goal Reward SettingsFurther configuration for how rewards are applied.
- 🏁Challenge GamesBuild a scripted challenge with fixed objectives.