Introduction
This add-on allows you to add funds to your inventory. (Requires GDTK: Inventory)
Fields#
| Name | Description |
|---|---|
| Currency Id | Id of currency to add |
| Add Amount | Amount of funds to add |
| Random Amount | Grant random amount |
| Random Min | Minimum awarded amount |
| Random Max | Maximum awarded amount |
| 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 |