Introduction
This add-on allows you to add one or more items (with counts) to your inventory. (Requires GDTK: Inventory)
Fields#
| Name | Description |
|---|---|
| Mode | Mode of addition |
| Add Count | Number of items to pick |
| Options | Options to add or pick from |
| Source | Object adding this plugin |
Properties#
| Name | Description |
|---|---|
| title | Title of the plugin |
| description | Description of the plugin |
| needsUI | Get if this add-on requires UI |
| selectCount | Get the selected count |
| availableOptions | Get/Set list of all available options |
| hasUnused | Get if this add-on has already been used |
| instanceId | Currently instanced id |
| selectedIds | Get list of selected ids |
| selectedOptions | Get list of selected options |
| icon | Icon associated with the plugin |
| titlebarText | Text to display in the titlebar for the plugin |
Methods#
| Name | Description |
|---|---|
| Apply | Apply the selected options |
| Initialize | Initialize the plugin |
| AddSelection | Add an option to the selected list |
| OptionSelected | Get if an option is in the selected list |
| RemoveSelection | Remove an option from the selected list |
| Unapply | Remove options that have been applied |