Used by tips and tricks and main menu simulations. Simulations can be controlled at runtime via LuaSimulation.
planet optional | :: SpaceLocationID | |
game_view_settings optional | :: GameViewSettings | |
save optional | :: FileName | The save file that is used for this simulation. [...] |
The save file that is used for this simulation. [...] | ||
init_file optional | :: FileName | This code is run as a (silent) console command inside the simulation when it is first initialized. [...] |
This code is run as a (silent) console command inside the simulation when it is first initialized. [...] | ||
init optional | :: string | Only loaded if |
Only loaded if | ||
update_file optional | :: FileName | This code is run as a (silent) console command inside the simulation every time the simulation is updated. [...] |
This code is run as a (silent) console command inside the simulation every time the simulation is updated. [...] | ||
update optional | :: string | Only loaded if |
Only loaded if | ||
mods optional | :: array[string] | An array of mods that will be run in this simulation if they are present and enabled. |
An array of mods that will be run in this simulation if they are present and enabled. | ||
init_update_count optional | :: uint32 | Amount of ticks that this simulation should run for before the simulation is shown to the player. [...] |
Amount of ticks that this simulation should run for before the simulation is shown to the player. [...] | ||
length optional | :: uint32 | How long this simulation takes. [...] |
How long this simulation takes. [...] | ||
generate_map optional | :: bool | If |
If | ||
checkboard optional | :: bool | If this is true, the map of the simulation is set to be a lab-tile checkerboard in the area of |
If this is true, the map of the simulation is set to be a lab-tile checkerboard in the area of | ||
hide_health_bars optional | :: bool | |
mute_technology_finished_sound optional | :: bool | |
mute_alert_sounds optional | :: bool | |
volume_modifier optional | :: float | Multiplier for the simulation volume set by the player in the sound settings. |
Multiplier for the simulation volume set by the player in the sound settings. | ||
override_volume optional | :: bool | If true, overrides the simulation volume set by the player in the sound settings, simply setting the volume modifier to |
If true, overrides the simulation volume set by the player in the sound settings, simply setting the volume modifier to | ||
mute_wind_sounds optional | :: bool | Overrides whether a simulation has its wind sounds muted. [...] |
Overrides whether a simulation has its wind sounds muted. [...] | ||
hide_factoriopedia_gradient optional | :: bool |
checkboard optional | :: bool | If this is true, the map of the simulation is set to be a lab-tile checkerboard in the area of |
If this is true, the map of the simulation is set to be a lab-tile checkerboard in the area of | ||
game_view_settings optional | :: GameViewSettings | |
generate_map optional | :: bool | If |
If | ||
hide_factoriopedia_gradient optional | :: bool | |
hide_health_bars optional | :: bool | |
init optional | :: string | Only loaded if |
Only loaded if | ||
init_file optional | :: FileName | This code is run as a (silent) console command inside the simulation when it is first initialized. [...] |
This code is run as a (silent) console command inside the simulation when it is first initialized. [...] | ||
init_update_count optional | :: uint32 | Amount of ticks that this simulation should run for before the simulation is shown to the player. [...] |
Amount of ticks that this simulation should run for before the simulation is shown to the player. [...] | ||
length optional | :: uint32 | How long this simulation takes. [...] |
How long this simulation takes. [...] | ||
mods optional | :: array[string] | An array of mods that will be run in this simulation if they are present and enabled. |
An array of mods that will be run in this simulation if they are present and enabled. | ||
mute_alert_sounds optional | :: bool | |
mute_technology_finished_sound optional | :: bool | |
mute_wind_sounds optional | :: bool | Overrides whether a simulation has its wind sounds muted. [...] |
Overrides whether a simulation has its wind sounds muted. [...] | ||
override_volume optional | :: bool | If true, overrides the simulation volume set by the player in the sound settings, simply setting the volume modifier to |
If true, overrides the simulation volume set by the player in the sound settings, simply setting the volume modifier to | ||
planet optional | :: SpaceLocationID | |
save optional | :: FileName | The save file that is used for this simulation. [...] |
The save file that is used for this simulation. [...] | ||
update optional | :: string | Only loaded if |
Only loaded if | ||
update_file optional | :: FileName | This code is run as a (silent) console command inside the simulation every time the simulation is updated. [...] |
This code is run as a (silent) console command inside the simulation every time the simulation is updated. [...] | ||
volume_modifier optional | :: float | Multiplier for the simulation volume set by the player in the sound settings. |
Multiplier for the simulation volume set by the player in the sound settings. |
Default: "nauvis"
The save file that is used for this simulation. If not given and generate_map
is true
, a map is generated by the game.
This code is run as a (silent) console command inside the simulation when it is first initialized. Since this is run as a console command, the restrictions of console commands apply, e.g. require
is not available, see here.
Default: ""
Only loaded if init_file
is not defined.
This code is run as a (silent) console command inside the simulation when it is first initialized. Since this is run as a console command, the restrictions of console commands apply, e.g. require
is not available, see here.
This code is run as a (silent) console command inside the simulation every time the simulation is updated. Since this is run as a console command, the restrictions of console commands apply, e.g. require
is not available, see here.
Default: ""
Only loaded if update_file
is not defined.
This code is run as a (silent) console command inside the simulation every time the simulation is updated. Since this is run as a console command, the restrictions of console commands apply, e.g. require
is not available, see here.
An array of mods that will be run in this simulation if they are present and enabled.
Default: 0
Amount of ticks that this simulation should run for before the simulation is shown to the player. These updates happen after init/init_file has been run and at the highest possible rate (> 60 UPS).
Default: 0
How long this simulation takes. In the main menu simulations, another simulation will start after this simulation ends.
Default: false
If save
is not given and this is true, a map gets generated by the game for use in the simulation.
Default: true
If this is true, the map of the simulation is set to be a lab-tile checkerboard in the area of {{-20, -15},{20, 15}}
when the scenario is first initialized (before init/init_file run).
Multiplier for the simulation volume set by the player in the sound settings.
If true, overrides the simulation volume set by the player in the sound settings, simply setting the volume modifier to 1
.
Overrides whether a simulation has its wind sounds muted.
Tips and Tricks simulations and Factoriopedia simulations have their wind sounds muted by default, other simulations don't.