SimulationDefinition :: struct
| planet optional | :: SpaceLocationID | |
| game_view_settings optional | :: GameViewSettings | Only applied to the simulation if a test player is created through LuaSimulation::create_test_player. |
Only applied to the simulation if a test player is created through LuaSimulation::create_test_player. | ||
| 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 whose runtime scripts will be loaded for this simulation, if they are present and enabled. |
An array of mods whose runtime scripts will be loaded for 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 | :: boolean | If |
If | ||
| checkboard optional | :: boolean | 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 | :: boolean | |
| mute_technology_finished_sound optional | :: boolean | |
| mute_alert_sounds optional | :: boolean | |
| 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 | :: boolean | 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 | :: boolean | Overrides whether a simulation has its wind sounds muted. [...] |
Overrides whether a simulation has its wind sounds muted. [...] | ||
| hide_factoriopedia_gradient optional | :: boolean | |


