Remove the change from Schema.cs, the 'Description' property there is unrelated to workshop's Description setting. The RootSchema class is an implementation of the json schema standard: https://www.tutorialspoint.com/json/json_schema.htm
Decompile code looks good
The following methods need to be updated:
Ruleset.ToWorkshop so that Mode Name is written to the workshop output.
Ruleset.Validate so that Mode Name is recognized as a valid setting, see line 300.
Ruleset.GenerateSchema so the Mode Name property is visible in vscode's json autocomplete.
Run the Setting schema launch task to generate the json, then copy that to overwatch-script-to-workshop/json-schemas/LobbySettingValidation.json
Will work fine without this. You don't need to do this one, I can do this when I get around to it.
Remove the change from Schema.cs, the 'Description' property there is unrelated to workshop's Description setting. The RootSchema class is an implementation of the json schema standard: https://www.tutorialspoint.com/json/json_schema.htm
Decompile code looks good
The following methods need to be updated:
Ruleset.ToWorkshop
so that Mode Name is written to the workshop output.Ruleset.Validate
so that Mode Name is recognized as a valid setting, see line 300.Ruleset.GenerateSchema
so the Mode Name property is visible in vscode's json autocomplete.Setting schema
launch task to generate the json, then copy that tooverwatch-script-to-workshop/json-schemas/LobbySettingValidation.json