mirror of
https://github.com/ow-mods/owml.git
synced 2025-12-11 20:15:48 +01:00
Add defaults for parameters (#564)
Co-authored-by: Will Corby <williamforgames6@gmail.com> Co-authored-by: Noah Pilarski <noah.pilarski@icloud.com>
This commit is contained in:
parent
cd1dadc553
commit
1945a68dfc
@ -72,6 +72,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The dependencies of the mod",
|
"description": "The dependencies of the mod",
|
||||||
|
"default": [],
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The uniqueName of the dependency",
|
"description": "The uniqueName of the dependency",
|
||||||
@ -91,6 +92,7 @@
|
|||||||
"minGameVersion": {
|
"minGameVersion": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The minimum version of the game that this mod is compatible with",
|
"description": "The minimum version of the game that this mod is compatible with",
|
||||||
|
"default": ""
|
||||||
"pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$",
|
"pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$",
|
||||||
"examples": [
|
"examples": [
|
||||||
"1.0.0",
|
"1.0.0",
|
||||||
@ -101,6 +103,7 @@
|
|||||||
"maxGameVersion": {
|
"maxGameVersion": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The maximum version of the game that this mod is compatible with",
|
"description": "The maximum version of the game that this mod is compatible with",
|
||||||
|
"default": ""
|
||||||
"pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$",
|
"pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$",
|
||||||
"examples": [
|
"examples": [
|
||||||
"1.0.0",
|
"1.0.0",
|
||||||
@ -116,6 +119,7 @@
|
|||||||
"incompatibleVendors": {
|
"incompatibleVendors": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The vendors this mod does not work on",
|
"description": "The vendors this mod does not work on",
|
||||||
|
"default": []
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user