Skip to main content

Introduction

This plugin allows the size an item takes when using the Storage Area plugin. By default an item is 1x1

Fields#

NameDescription
SizeSize the item takes
Storage ImageNormal image for the item
Storage Image RotatedRotated image for the item
On Action State ChangedEvent raised whenever the action state changes

Properties#

NameDescription
titleTitle of the plugin
descriptionDescription of the plugin
actionKeysAction keys the plugin responds to
hostInventory hosting the plugin
isActionGets if the plugin is an action
itemGets the item associated with the plugin
iconIcon associated with the plugin
titlebarTextText to display in the titlebar for the plugin

Methods#

NameDescription
GetRotatedImageGet the rotated image for the item
AfterAddMethod run after item is added to inventory
AllowActionCheck if an action is allowed
BeforeAddMethod run before item is added to inventory
DataSavePrepare data for serialization and saving
HasActionKeyCheck if plugin has action key
InitializeInitialize the plugin
IsActionReadyGet if a specific action is ready to perform
OnItemDroppedMethod called when another item is dropped onto this one (return true if event handled)
OnAfterAttackMethod to call whenever the player deals damage to another object
PerformActionPerform the default action
RunCommandRun a command
ShutdownShuts down the object