Introduction
Adds a list Stat Modifiers (Requires GDTK: Inventory)
Fields#
| Name | Description |
|---|---|
| Apply To Remote | Apply modifier to 'Remote Source' (GDTK: Stats) |
| Stat Modifiers | List of Stat Modifiers to add |
| Remote Source | Remote Stat Source |
| On Action State Changed | Event raised whenever the action state changes |
Properties#
| Name | Description |
|---|---|
| title | Title of the plugin |
| description | Description of the plugin |
| icon | Icon for 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 |
| titlebarText | Text to display in the titlebar for the plugin |
Methods#
| Name | Description |
|---|---|
| Initialize | Initialize the plugin |
| RunCommand | Run a command |
| 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 |
| 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 |
| Shutdown | Shuts down the object |