Introduction
This plugin allows the size an item takes when using the Storage Area plugin. By default an item is 1x1
Fields#
| Name | Description |
|---|---|
| Size | Size the item takes |
| Storage Image | Normal image for the item |
| Storage Image Rotated | Rotated image for the item |
| On Action State Changed | Event raised whenever the action state changes |
Properties#
| Name | Description |
|---|---|
| title | Title of the plugin |
| description | Description of the plugin |
| actionKeys | Action keys the plugin responds to |
| host | Inventory hosting the plugin |
| isAction | Gets if the plugin is an action |
| item | Gets the item associated with the plugin |
| icon | Icon associated with the plugin |
| titlebarText | Text to display in the titlebar for the plugin |
Methods#
| Name | Description |
|---|---|
| GetRotatedImage | Get the rotated image for the item |
| AfterAdd | Method run after item is added to inventory |
| AllowAction | Check if an action is allowed |
| BeforeAdd | Method run before item is added to inventory |
| DataSave | Prepare data for serialization and saving |
| HasActionKey | Check if plugin has action key |
| Initialize | Initialize the plugin |
| IsActionReady | Get if a specific action is ready to perform |
| OnItemDropped | Method called when another item is dropped onto this one (return true if event handled) |
| OnAfterAttack | Method to call whenever the player deals damage to another object |
| PerformAction | Perform the default action |
| RunCommand | Run a command |
| Shutdown | Shuts down the object |