Updated comments

This commit is contained in:
DaanV2
2021-07-02 13:05:57 +02:00
parent dd28b6a467
commit 90a39eba44
67 changed files with 350 additions and 310 deletions

View File

@@ -8,7 +8,7 @@
"properties": {
"priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"speed_modifier": { "default": 0.0, "description": "UNDOCUMENTATED: speed modifier", "title": "Speed Modifier" },
"speed_modifier": { "default": 0.0, "description": "UNDOCUMENTED: speed modifier", "title": "Speed Modifier" },
"potions": {
"type": "array",
"description": "A list of potions that this entity can drink.",
@@ -17,7 +17,7 @@
"required": ["id", "chance", "filters"],
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTATED: potions",
"description": "UNDOCUMENTED: potions",
"title": "Potions",
"properties": {
"id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" },

View File

@@ -33,8 +33,8 @@
"title": "On Damage",
"properties": {
"filters": { "$ref": "../../filters/filters.json" },
"event": { "type": "string", "pattern": "^.*$", "description": "UNDOCUMENTATED: event", "title": "Event" },
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "UNDOCUMENTATED: target", "title": "Target" }
"event": { "type": "string", "pattern": "^.*$", "description": "UNDOCUMENTED: event", "title": "Event" },
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "UNDOCUMENTED: target", "title": "Target" }
},
"on_damage_sound_event": {
"type": "string",

View File

@@ -26,7 +26,7 @@
}
}
},
"table": { "type": "string", "pattern": ".*\\.json$", "description": "UNDOCUMENTATED: table", "title": "Table" }
"table": { "type": "string", "pattern": ".*\\.json$", "description": "UNDOCUMENTED: table", "title": "Table" }
},
"description": "UNDOCUMENTATED: "
"description": "UNDOCUMENTED: "
}

View File

@@ -20,15 +20,20 @@
},
"randomize": {
"title": "Randomize",
"description": "UNDOCUMENTATED: randomize",
"description": "Randomly selects one of the following items based upon their weight and the total weights",
"type": "array",
"items": {
"required": ["weight"],
"properties": {
"add": { "$ref": "#/definitions/addremove", "description": "What gets added when the event gets triggered", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
"trigger": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Trigger" },
"weight": { "type": "number", "description": "UNDOCUMENTATED: weight", "title": "Weight" }
"trigger": { "type": "string", "description": "Triggers additional events", "$comment": "UNDOCUMENTED", "title": "Trigger" },
"weight": {
"type": "number",
"description": "The weight on how likely this section is to trigger",
"$comment": "UNDOCUMENTED",
"title": "Weight"
}
}
}
},
@@ -48,7 +53,7 @@
"description": "A series of filters and components to be added",
"title": "Sequences",
"type": "array",
"items": { "description": "UNDOCUMENTATED: sequence", "title": "Sequence", "type": "object", "$ref": "#/definitions/event_base" }
"items": { "description": "Filters and components to be added", "title": "Sequence", "type": "object", "$ref": "#/definitions/event_base" }
},
"trigger": { "type": "string", "description": "The event to run", "title": "Trigger" }
}