Updated UNDOCUMENTED

This commit is contained in:
DaanV2
2021-07-01 11:35:53 +02:00
parent 6ac62d15e7
commit ba94cceb50
367 changed files with 2266 additions and 640 deletions

View File

@@ -5,10 +5,16 @@
"title": "Enchant Book For Trading",
"required": ["function", "base_cost", "base_random_cost", "per_level_random_cost", "per_level_cost"],
"properties": {
"function": { "type": "string", "const": "enchant_book_for_trading", "title": "Function", "description": "UNDOCUMENTED" },
"base_cost": { "type": "integer", "title": "Base Cost", "description": "UNDOCUMENTED" },
"base_random_cost": { "type": "integer", "title": "Base Cost", "description": "UNDOCUMENTED" },
"per_level_random_cost": { "type": "integer", "title": "Base Cost", "description": "UNDOCUMENTED" },
"per_level_cost": { "type": "integer", "title": "Base Cost", "description": "UNDOCUMENTED" }
"function": {
"type": "string",
"const": "enchant_book_for_trading",
"title": "Function",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"base_cost": { "type": "integer", "title": "Base Cost", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"base_random_cost": { "type": "integer", "title": "Base Cost", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"per_level_random_cost": { "type": "integer", "title": "Base Cost", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"per_level_cost": { "type": "integer", "title": "Base Cost", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
}
}

View File

@@ -4,7 +4,7 @@
"description": "The function enchant_random_gear",
"title": "Enchant Random Gear",
"properties": {
"function": { "type": "string", "const": "enchant_random_gear", "title": "Function", "description": "UNDOCUMENTED" },
"function": { "type": "string", "const": "enchant_random_gear", "title": "Function", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"chance": {
"type": "number",
"description": "Takes a chance modifier to manipulate the algorithm. Note that a chance modifier of 1.0 doesn't mean a 100% chance that gear will become enchanted.",

View File

@@ -4,7 +4,7 @@
"description": "The function enchant_randomly",
"title": "Enchant Randomly",
"properties": {
"function": { "type": "string", "const": "enchant_randomly", "title": "Function", "description": "UNDOCUMENTED" },
"function": { "type": "string", "const": "enchant_randomly", "title": "Function", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"treasure": {
"type": "boolean",
"description": "Supports the optional treasure boolean (true/false) to allow treasure enchantments to be toggled on and off.",

View File

@@ -4,7 +4,13 @@
"description": "The function enchant_with_levels",
"title": "Enchant With Levels",
"properties": {
"function": { "type": "string", "const": "enchant_with_levels", "description": "UNDOCUMENTED", "title": "TODO Title" },
"function": {
"type": "string",
"const": "enchant_with_levels",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "TODO Title"
},
"levels": {
"title": "Levels",
"oneOf": [
@@ -16,8 +22,9 @@
"properties": { "min": { "type": "integer", "title": "Minimum" }, "max": { "type": "integer", "title": "Maximum" } }
}
],
"description": "UNDOCUMENTED"
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"treasure": { "type": "boolean", "title": "Treasure", "description": "UNDOCUMENTED" }
"treasure": { "type": "boolean", "title": "Treasure", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
}
}

View File

@@ -5,7 +5,7 @@
"title": "Exploration Map",
"type": "object",
"properties": {
"function": { "type": "string", "const": "exploration_map", "description": "UNDOCUMENTED", "title": "Function" },
"function": { "type": "string", "const": "exploration_map", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" },
"destination": {
"type": "string",
"description": "The destination value defines what type of treasure map they receive.",

View File

@@ -4,7 +4,13 @@
"description": "The function fill_container",
"title": "Fill Container",
"properties": {
"function": { "type": "string", "const": "fill_container", "title": "Function", "description": "UNDOCUMENTED" },
"loot_table": { "type": "string", "title": "Loot Table", "pattern": "^loot_tables/.*\\.json$", "description": "UNDOCUMENTED" }
"function": { "type": "string", "const": "fill_container", "title": "Function", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"loot_table": {
"type": "string",
"title": "Loot Table",
"pattern": "^loot_tables/.*\\.json$",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}
}

View File

@@ -5,7 +5,13 @@
"title": "Furnace Smelt",
"type": "object",
"properties": {
"function": { "type": "string", "const": "furnace_smelt", "description": "UNDOCUMENTED", "title": "Function" },
"conditions": { "title": "Conditions", "description": "UNDOCUMENTED", "type": "array", "items": { "$ref": "../conditions.json" } }
"function": { "type": "string", "const": "furnace_smelt", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" },
"conditions": {
"title": "Conditions",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": { "$ref": "../conditions.json" }
}
}
}

View File

@@ -5,11 +5,12 @@
"title": "Looting Enchant",
"type": "object",
"properties": {
"function": { "type": "string", "const": "looting_enchant", "description": "UNDOCUMENTED", "title": "Function" },
"function": { "type": "string", "const": "looting_enchant", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" },
"count": {
"type": "object",
"properties": { "min": { "type": "integer" }, "max": { "type": "integer" } },
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Count",
"additionalProperties": false
}

View File

@@ -5,15 +5,16 @@
"title": "Random Aux Value",
"type": "object",
"properties": {
"function": { "type": "string", "const": "random_aux_value", "description": "UNDOCUMENTED", "title": "Function" },
"function": { "type": "string", "const": "random_aux_value", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" },
"values": {
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Values",
"additionalProperties": false,
"type": "object",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "title": "Minimum" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "title": "Maximum" }
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Minimum" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Maximum" }
}
}
}

View File

@@ -5,12 +5,13 @@
"title": "Random Block State",
"type": "object",
"properties": {
"function": { "type": "string", "const": "random_block_state", "description": "UNDOCUMENTED", "title": "Function" },
"block_state": { "type": "string", "description": "UNDOCUMENTED", "title": "Block State" },
"function": { "type": "string", "const": "random_block_state", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" },
"block_state": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Block State" },
"values": {
"type": "object",
"properties": { "min": { "title": "Min", "type": "integer" }, "max": { "title": "Max", "type": "integer" } },
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Values",
"additionalProperties": false
}

View File

@@ -4,5 +4,7 @@
"description": "The function random_dye",
"title": "Trader Material Type",
"type": "object",
"properties": { "function": { "type": "string", "const": "random_dye", "description": "UNDOCUMENTED", "title": "Function" } }
"properties": {
"function": { "type": "string", "const": "random_dye", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" }
}
}

View File

@@ -5,7 +5,7 @@
"title": "Set Actor Id",
"type": "object",
"properties": {
"function": { "type": "string", "const": "set_actor_id", "description": "UNDOCUMENTED", "title": "Function" },
"id": { "type": "string", "description": "UNDOCUMENTED", "title": "Id" }
"function": { "type": "string", "const": "set_actor_id", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" },
"id": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Id" }
}
}

View File

@@ -5,7 +5,7 @@
"title": "Set Banner Details",
"type": "object",
"properties": {
"function": { "type": "string", "const": "set_banner_details", "description": "UNDOCUMENTED", "title": "Function" },
"type": { "type": "integer", "description": "UNDOCUMENTED", "title": "Type" }
"function": { "type": "string", "const": "set_banner_details", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" },
"type": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Type" }
}
}

View File

@@ -6,13 +6,14 @@
"required": ["function", "author", "title", "pages"],
"type": "object",
"properties": {
"function": { "type": "string", "const": "set_book_contents", "description": "UNDOCUMENTED", "title": "Function" },
"author": { "type": "string", "description": "UNDOCUMENTED", "title": "Author" },
"title": { "type": "string", "description": "UNDOCUMENTED", "title": "Title" },
"function": { "type": "string", "const": "set_book_contents", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" },
"author": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Author" },
"title": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Title" },
"pages": {
"type": "array",
"items": { "type": "string", "examples": ["Some text", "{`rawtext`:[ {`translate`:`some.text`}]}"] },
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Pages"
}
}

View File

@@ -4,11 +4,15 @@
"description": "The function set_count",
"title": "Set Count",
"properties": {
"function": { "type": "string", "const": "set_count", "title": "Function", "description": "UNDOCUMENTED" },
"function": { "type": "string", "const": "set_count", "title": "Function", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"count": {
"title": "Count",
"oneOf": [{ "type": "integer" }, { "type": "object", "properties": { "min": { "type": "integer", "title": "Minimum" }, "max": { "type": "integer", "title": "Maximum" } } }],
"description": "UNDOCUMENTED"
"oneOf": [
{ "type": "integer" },
{ "type": "object", "properties": { "min": { "type": "integer", "title": "Minimum" }, "max": { "type": "integer", "title": "Maximum" } } }
],
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}
}

View File

@@ -5,17 +5,18 @@
"title": "Set Damage",
"type": "object",
"properties": {
"function": { "type": "string", "const": "set_damage", "description": "UNDOCUMENTED", "title": "Function" },
"function": { "type": "string", "const": "set_damage", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" },
"damage": {
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Damage",
"oneOf": [
{ "type": "integer" },
{
"type": "object",
"properties": {
"min": { "type": "integer", "description": "UNDOCUMENTED", "title": "Minimum" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "title": "Maximum" }
"min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Minimum" },
"max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Maximum" }
}
}
]

View File

@@ -5,17 +5,18 @@
"title": "Set Data",
"type": "object",
"properties": {
"function": { "type": "string", "const": "set_data", "description": "UNDOCUMENTED", "title": "Function" },
"function": { "type": "string", "const": "set_data", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" },
"data": {
"title": "Data",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"oneOf": [
{ "type": "integer" },
{
"type": "object",
"properties": {
"min": { "type": "integer", "title": "Minimum", "description": "UNDOCUMENTED" },
"max": { "type": "integer", "title": "Maximum", "description": "UNDOCUMENTED" }
"min": { "type": "integer", "title": "Minimum", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"max": { "type": "integer", "title": "Maximum", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
}
}
]

View File

@@ -4,5 +4,13 @@
"description": "The function set_data_from_color_index",
"title": "Set Data From Color Index",
"type": "object",
"properties": { "function": { "type": "string", "const": "set_data_from_color_index", "description": "UNDOCUMENTED", "title": "Function" } }
"properties": {
"function": {
"type": "string",
"const": "set_data_from_color_index",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Function"
}
}
}

View File

@@ -5,7 +5,7 @@
"title": "Set Lore",
"type": "object",
"properties": {
"function": { "type": "string", "const": "set_lore", "description": "UNDOCUMENTED", "title": "Function" },
"lore": { "type": "array", "items": { "type": "string" }, "description": "UNDOCUMENTED", "title": "Lore" }
"function": { "type": "string", "const": "set_lore", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" },
"lore": { "type": "array", "items": { "type": "string" }, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Lore" }
}
}

View File

@@ -5,7 +5,7 @@
"title": "Set Name",
"type": "object",
"properties": {
"function": { "type": "string", "const": "set_name", "description": "UNDOCUMENTED", "title": "Function" },
"name": { "type": "string", "description": "UNDOCUMENTED", "title": "name" }
"function": { "type": "string", "const": "set_name", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Function" },
"name": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "name" }
}
}

View File

@@ -4,5 +4,7 @@
"description": "The function trader_material_type",
"title": "Trader Material Type",
"type": "object",
"properties": { "function": { "type": "string", "const": "trader_material_type", "description": "UNDOCUMENTED", "title": "function" } }
"properties": {
"function": { "type": "string", "const": "trader_material_type", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "function" }
}
}