Added documentation for celebrate_survive

This commit is contained in:
DaanV2
2022-04-20 15:54:28 +02:00
parent 0e1e0d4c4f
commit 174e6a552e

View File

@@ -3,24 +3,23 @@
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Celebrate Survive", "title": "Celebrate Survive",
"$comment": "UNDOCUMENTED", "description": "Allows this entity to celebrate surviving a raid by shooting fireworks.",
"description": "UNDOCUMENTED",
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"fireworks_interval": { "fireworks_interval": {
"title": "Fireworks Interval", "title": "Fireworks Interval",
"$ref": "../types/range_number_type.json", "$ref": "../types/range_number_type.json",
"description": "The interval in ticks between playing the fireworks" "description": "Minimum and maximum time between firework (positive, in seconds)."
}, },
"duration": { "duration": {
"title": "Duration", "title": "Duration",
"description": "The duration in ticks of the celebration", "description": "The duration in seconds that the celebration lasts for.",
"type": "number" "type": "number"
}, },
"on_celebration_end_event": { "on_celebration_end_event": {
"title": "On Celebration End Event", "title": "On Celebration End Event",
"description": "The event to fire when the celebration ends", "description": "The event to trigger when the goal's duration expires.",
"$ref": "../types/event.json" "$ref": "../types/event.json"
} }
} }