docs/Modders/Scenarios.md
Scenarios are specific game states, set up so a player has a specific experience.
These can range from just having cities and units in specific places, to having full-blown custom rulesets to support them.
When creating a mod, we differentiate the ruleset from the scenario - the scenario is just a specific game state, or in other words - a saved game.
To create a scenario:
civ add, civ remove, city add or unit action to set up the players exactly as you want themTo play a scenario:
When loading a scenario:
To open the console from the world screen, click the ` button on your keyboard. It's the one top left, just below Esc, independent of international layout.
On mobile:
To see available commands, click enter. This works for subcommands as well (e.g. when you entered tile).
Object names (units buildings civs etc.) are case-insensitive.
Unit and building names with spaces in them, like "Great General", can be inputted in 2 ways:
The console has autocompletion - for commands and arguments with Tab. On Android, use the button to the left of the input field.
" quotation mark will use quoted format for auto-complete, and use the capitalization as defined in the ruleset.Some commands operate on a tile or unit you need to select on the map. You can also do so while the console is open.
The console intentionally does not follow all rules defined by the ruleset - e.g. it allows Farms on hills without fresh water or the Mobility promotion on a Worker. Any unexpected consequences are your responsibility.
You can access command history using the arrow keys, the history command, or on Android using the up/down buttons to the right of the input field.
Note the entries that history displays are clickable.