ItemContainerComponent - acrimi/Raven GitHub Wiki
ItemContainerComponent
defines the contents of an entity, such as a chest. The main contrast with ContainerComponent is ItemContainerComponent
references an abstract item name as opposed to a separate child entity.
Configuration
When used inside the components
block, the initial state of the component can be configured with the following parameters:
Key | Type | Description |
---|---|---|
item | string | The name of the item contained by the entity. |
quantity | int | The quantity of item that the entity contains. Defaults to 1 . |
Example:
"ItemContainerComponent": {
"item": "gold",
"quantity": 10
}
Properties
This component has no exposed properties