vice city online: the bare online core
This commit is contained in:
commit
2f98475c19
256 changed files with 144219 additions and 0 deletions
48
gamefiles/online/menu.schema.json
Normal file
48
gamefiles/online/menu.schema.json
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "Online menus",
|
||||
"type": "object",
|
||||
"required": ["keys", "startWeapons", "weapons", "cars", "featured", "help"],
|
||||
"properties": {
|
||||
"$schema": { "type": "string" },
|
||||
"comment": { "type": "string" },
|
||||
"keys": {
|
||||
"type": "object",
|
||||
"required": ["weapons", "cars", "passive", "name"],
|
||||
"properties": { "name": { "type": "string", "minLength": 1, "maxLength": 1 }, "weapons": { "type": "string", "minLength": 1, "maxLength": 1 }, "cars": { "type": "string", "minLength": 1, "maxLength": 1 }, "passive": { "type": "string", "minLength": 1, "maxLength": 1 } },
|
||||
"additionalProperties": false
|
||||
},
|
||||
"name": { "type": "object" },
|
||||
"startArmour": { "type": "number", "minimum": 0, "maximum": 100 },
|
||||
"startMoney": { "type": "integer", "minimum": 0 },
|
||||
"carGroups": { "type": "array", "items": { "type": "string" } },
|
||||
"death": { "type": "object" },
|
||||
"tags": { "type": "object" },
|
||||
"lookSettleMs": { "type": "number", "minimum": 0 },
|
||||
"helpSeconds": { "type": "number", "minimum": 0 },
|
||||
"desktopRenderWidth": { "type": "integer", "minimum": 640 },
|
||||
"startWeapons": { "type": "array", "items": { "type": "integer", "minimum": 1, "maximum": 36 } },
|
||||
"weapons": {
|
||||
"type": "array", "minItems": 1,
|
||||
"items": {
|
||||
"type": "object", "required": ["name", "type", "ammo"],
|
||||
"properties": { "name": { "type": "string" }, "type": { "type": "integer", "minimum": 1, "maximum": 36 }, "ammo": { "type": "integer", "minimum": 1 }, "icon": { "type": "string" } },
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"cars": {
|
||||
"type": "array", "minItems": 1,
|
||||
"items": {
|
||||
"type": "object", "required": ["name", "model"],
|
||||
"properties": { "name": { "type": "string" }, "model": { "type": "string" }, "bike": { "type": "boolean" } },
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"featured": { "type": "array", "minItems": 6, "maxItems": 6, "items": { "type": "string" } },
|
||||
"wheel": { "type": "array", "items": { "type": "object", "required": ["name", "types"], "properties": { "name": { "type": "string" }, "types": { "type": "array", "items": { "type": "integer" } } }, "additionalProperties": false } },
|
||||
"radio": { "type": "array", "items": { "type": "object", "required": ["station", "name"], "properties": { "station": { "type": "integer", "minimum": 0, "maximum": 10 }, "icon": { "type": "string" }, "name": { "type": "string" } }, "additionalProperties": false } },
|
||||
"touch": { "type": "object", "required": ["renderWidth", "lookSpeed", "stickRadius", "stickDeadZone", "rotate", "stick", "buttons"] },
|
||||
"help": { "type": "array", "items": { "type": "string" } }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue