This commit is contained in:
DaanV2
2021-07-01 16:51:30 +02:00
parent 35a92fa231
commit 96e637d99f
11 changed files with 88 additions and 39 deletions

View File

@@ -9,21 +9,22 @@
"name_actions": {
"type": "object",
"description": "Describes the special names for this entity and the events to call when the entity acquires those names",
"properties": {
"on_named": { "type": "string", "description": "Event to be called when this entity acquires the name specified in `name_filter'" },
"name_filter": { "type": "string", "description": "List of special names that will cause the events defined in `on_named` to fire" }
},
"title": "TODO Title",
"additionalProperties": false
},
"default_trigger": { "type": "string", "description": "Trigger to run when the entity gets named", "title": "TODO Title" },
"alwaysShow": { "type": "boolean", "default": false, "description": "If true, the name will always be shown", "title": "TODO Title" },
"allowNameTagRenaming": {
"type": "boolean",
"default": true,
"description": "If true, this entity can be renamed with name tags",
"title": "TODO Title"
"additionalProperties": false,
"properties": {
"on_named": {
"type": "string",
"description": "Event to be called when this entity acquires the name specified in `name_filter`",
"title": "On Named"
},
"name_filter": {
"type": "string",
"description": "List of special names that will cause the events defined in `on_named` to fire",
"title": "Name Filter"
}
}
},
"default_trigger": { "type": "string", "description": "Trigger to run when the entity gets named", "title": "Default Trigger" },
"allow_name_tag_renaming": {
"type": "boolean",
"default": true,