Updated interact
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"title": "Interact",
|
"title": "Interact",
|
||||||
"description": "Defines interactions with this entity.",
|
"description": "Defines interactions with this entity.",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"examples": [{ "interactions": [] }],
|
"examples": [{ "interactions": [{}] }],
|
||||||
"definitions": {
|
"definitions": {
|
||||||
"interaction_spec": {
|
"interaction_spec": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -30,6 +30,12 @@
|
|||||||
"description": "Time in seconds before this entity can be interacted with again.",
|
"description": "Time in seconds before this entity can be interacted with again.",
|
||||||
"title": "Cooldown"
|
"title": "Cooldown"
|
||||||
},
|
},
|
||||||
|
"health_amount": {
|
||||||
|
"type": "number",
|
||||||
|
"default": 0,
|
||||||
|
"description": "Amount of health to add to the entity upon successful interaction.",
|
||||||
|
"title": "Health Amount"
|
||||||
|
},
|
||||||
"hurt_item": {
|
"hurt_item": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user