Added comments

This commit is contained in:
DaanV2
2022-03-18 08:51:06 +01:00
parent 7416a269d4
commit 0ec4ebf49b
2 changed files with 25 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
"description": "Returns true if the actor properties defined were executed.",
"title": "Entity Properties",
"properties": {
"condition": { "type": "string", "title": "Condition", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"condition": { "type": "string", "title": "Condition", "description": "Returns true if the actor properties defined were executed.", "$comment": "UNDOCUMENTED" },
"entity": { "type": "string", "default": "this", "description": "The entity to test. The value must be only `this`.", "title": "Entity" },
"properties": {
"type": "object",
@@ -14,8 +14,18 @@
"title": "Properties",
"additionalProperties": false,
"properties": {
"on_fire": { "title": "On Fire", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" },
"on_ground": { "title": "On Fire", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }
"on_fire": {
"title": "On Fire",
"description": "Checks if the entity is on fire or not",
"$comment": "UNDOCUMENTED",
"type": "boolean"
},
"on_ground": {
"title": "On Ground",
"description": "Checks if the entity is on the ground or not",
"$comment": "UNDOCUMENTED",
"type": "boolean"
}
}
}
}

View File

@@ -5,7 +5,17 @@
"description": "Returns the condition true if the actor's mark variant is matched to the value.",
"title": "Has Mark Variant",
"properties": {
"condition": { "type": "string", "title": "Condition", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"value": { "type": "integer", "default": "0", "description": "Tests for the actor's mark variant (if it has one)", "title": "Value" }
"condition": {
"type": "string",
"title": "Condition",
"description": "Returns the condition true if the actor's mark variant is matched to the value.",
"$comment": "UNDOCUMENTED"
},
"value": {
"type": "integer",
"default": "0",
"description": "Tests for the actor's mark variant (if it has one)",
"title": "Value"
}
}
}