mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"type" : "object",
|
|
"$schema" : "http://json-schema.org/draft-04/schema",
|
|
"title" : "MMAI settings format",
|
|
"description" : "Format used to define settings for the MMAI mod",
|
|
"additionalProperties" : false,
|
|
"required" : [ "models", "fallback", "temperature", "seed" ],
|
|
"properties" : {
|
|
"$comment" : {
|
|
"type" : "array",
|
|
"default" : [],
|
|
"items" : {
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"models" : {
|
|
"type" : "object",
|
|
"additionalProperties" : false,
|
|
"required" : [ "attacker", "defender" ],
|
|
"properties" : {
|
|
"attacker" : { "type" : "string" },
|
|
"defender" : { "type" : "string" }
|
|
}
|
|
},
|
|
"fallback" : {
|
|
"type" : "string",
|
|
"default" : "BattleAI",
|
|
"enum" : [ "BattleAI", "StupidAI" ]
|
|
},
|
|
"temperature" : {
|
|
"type" : "number",
|
|
"default" : 0.5
|
|
},
|
|
"seed" : {
|
|
"type" : "number",
|
|
"default" : 0
|
|
}
|
|
}
|
|
}
|