Add setting to disable script parameter randomisation

This commit is contained in:
Jonathan G Rennison
2024-03-02 11:34:40 +00:00
parent e730956213
commit 2bb5c9ac84
7 changed files with 21 additions and 6 deletions

View File

@@ -568,6 +568,7 @@ struct AISettings {
struct ScriptSettings {
uint32_t script_max_opcode_till_suspend; ///< max opcode calls till scripts will suspend
uint32_t script_max_memory_megabytes; ///< limit on memory a single script instance may have allocated
bool script_disable_param_randomisation; ///< disable script parameter randomisation
};
/** Settings related to the new pathfinder. */