Differential D1240 Diff 6083 binaries/data/mods/public/simulation/data/settings/victory_conditions/conquest_structures.json
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/data/settings/victory_conditions/conquest_structures.json
{ | { | ||||
"TranslatedKeys": ["Title", "Description"], | "TranslatedKeys": ["Title", "Description"], | ||||
"Data": | "Data": | ||||
{ | { | ||||
"Title": "Conquest Structures", | "Title": "Conquest Structures", | ||||
"Description": "Destroy all enemy structures to win.", | "Description": "Defeat opponents by destroying all their structures.", | ||||
"Scripts": | "Scripts": | ||||
[ | [ | ||||
"scripts/TriggerHelper.js", | "scripts/TriggerHelper.js", | ||||
"scripts/ConquestCommon.js", | "scripts/ConquestCommon.js", | ||||
"scripts/ConquestStructures.js" | "scripts/ConquestStructures.js" | ||||
] | ], | ||||
"DisabledWhenChecked": ["conquest"], | |||||
elexis: Could this use the same syntax or structure as Conquest? | |||||
Not Done Inline ActionsNo (Disabled means this vc is disabled if any of the settings in the array is checked) bb: No (Disabled means this vc is disabled if any of the settings in the array is checked)
renamed… | |||||
Not Done Inline ActionsWith getting similar syntax I meant something like this: Either: "EnabledOnChecked": { "conquest": false } "CheckOnChecked": { "conquest_units": false } But EnabledOnChecked probably makes no sense for true with the current code, so meh. Or maybe, perhaps probably, better: conquest_units.json: `Dependencies: []` but that sounds like it would require a function. Anyway can be improved later. elexis: With getting similar syntax I meant something like this:
Either:
```
"EnabledOnChecked":
{… | |||||
"OrderPriority": 1 | |||||
} | } | ||||
} | } |
Wildfire Games · Phabricator
Could this use the same syntax or structure as Conquest?