This commit is contained in:
DaanV2
2022-07-20 21:34:51 +02:00
parent ab92c3dc35
commit 06b8937265

View File

@@ -28,56 +28,55 @@
"description": "If true, this food item is considered meat.", "description": "If true, this food item is considered meat.",
"type": "boolean", "type": "boolean",
"default": false "default": false
}, }
}, },
"saturation_modifier": { "saturation_modifier": {
"title": "Saturation Modifier", "title": "Saturation Modifier",
"description": "Saturation Modifier is used in this formula: (nutrition * saturation_modifier * 2) when appling the saturation buff. Which happens when you eat the item.", "description": "Saturation Modifier is used in this formula: (nutrition * saturation_modifier * 2) when appling the saturation buff. Which happens when you eat the item.",
"oneOf": [ "oneOf": [
{ "type": "number" }, { "type": "number" },
{ {
"type": "string", "type": "string",
"enum": ["poor", "low"] "enum": ["poor", "low"]
} }
] ]
}, },
"using_converts_to": { "using_converts_to": {
"title": "Using Converts To", "title": "Using Converts To",
"description": "When used, convert the *this* item to the one specified by `using_converts_to`.", "description": "When used, convert the *this* item to the one specified by `using_converts_to`.",
"type": "string" "type": "string"
}, },
"effects": { "effects": {
"title": "Effects", "title": "Effects",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"title": "Effect",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "object",
"items": { "additionalProperties": false,
"title": "Effect", "properties": {
"description": "UNDOCUMENTED", "name": {
"$comment": "UNDOCUMENTED", "title": "Name",
"type": "object", "description": "UNDOCUMENTED",
"additionalProperties": false, "$comment": "UNDOCUMENTED",
"properties": { "type": "string"
"name": { },
"title": "Name", "duration": {
"description": "UNDOCUMENTED", "type": "integer",
"$comment": "UNDOCUMENTED", "default": 0,
"type": "string" "minimum": 0,
}, "description": "The duration of the effect.",
"duration": { "$comment": "UNDOCUMENTED"
"type": "integer", },
"default": 0, "amplifier": {
"minimum": 0, "type": "integer",
"description": "The duration of the effect.", "default": 0,
"$comment": "UNDOCUMENTED" "minimum": 0,
}, "description": "The amplifier of the effect.",
"amplifier": { "$comment": "UNDOCUMENTED"
"type": "integer",
"default": 0,
"minimum": 0,
"description": "The amplifier of the effect.",
"$comment": "UNDOCUMENTED"
}
} }
} }
} }