Added transform_to_item to behavior components

This commit is contained in:
DaanV2
2021-06-03 14:48:18 +02:00
parent 2944d1e3a6
commit 7639d71232
3 changed files with 13 additions and 4 deletions

View File

@@ -34,6 +34,11 @@
],
"title": "TODO Title"
},
"grow_up": { "$ref": "../types/event.json", "description": "Event to run when this entity grows up.", "title": "TODO Title" }
"grow_up": { "$ref": "../types/event.json", "description": "Event to run when this entity grows up.", "title": "Grow up" },
"transform_to_item": {
"type": "string",
"title": "Transform to item",
"description": "The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"
}
}
}

View File

@@ -178,6 +178,11 @@
"default": true,
"description": "If true, the entities need to be tamed first before they can breed.",
"title": "Require Tame"
},
"transform_to_item": {
"type": "string",
"title": "Transform To Item",
"description": "The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"
}
}
}

View File

@@ -83,9 +83,8 @@
},
"transform_to_item": {
"type": "string",
"default": "",
"description": "The item used will transform to this item upon successful interaction. Format: itemName:auxValue",
"title": "Transform To Item"
"title": "Transform to item",
"description": "The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue"
},
"use_item": { "type": "boolean", "default": false, "description": "If true, the interaction will use an item.", "title": "Use Item" }
}