The Incense Maker script supports all incense sticks types, creating these from their base logs through to adding the required herb.
The script uses a task queue, where you can add the following actions indepndently:
- Craft Incense Sticks: Crafting of the logs
- Ash Incense Sticks: Adding ash to the crafted incense sticks
- Herb Incense Sticks: Adding the herb to the ashed incense sticks, completing the process
To start:
- Setup 3 bank presets, example:
- Preset 1: The logs to be crafted into the base incense stick
- Preset 2: 13 incense sticks and 26 of the required ashes (2:1 ratio)
- Preset 3: A stack of incense sticks and 27 of the corresponding herb
- Select the herb you intend on making (eg, Torstol Incense Sticks)
- Select the action (Make sticks, Add Ash or Add Herb)
- Select the bank preset that contains the materials required
- Enter the number of each FINISHED object you want to make (Eg, 500 Magic incense sticks)
- Click Add to Queue
- Click Start Script
The script contains fail safes against selecting incompatible combinations of either incense sticks, ashes or herbs.
The script has 4 core states:
- STOPPED
- IDLE
- RUNNING
- BANKING
IDLE: is used when the script returns from one of it's methods (ie, no logs in the bank).
STOPPED: is invoked via the "Stop Script" button, or when Logout on Completion is ticked in the ImGui. When the logout option is selected, the script will first go into an IDLE state, followed by STOPPED when the actual logout occurs..
RUNNING: When the core script is executing. This state is effectively a "wait" function, which loops until Interface 1251 (the item production interface) is closed. It then moves to the RUNNING state.
BANKING: Retrieves items from bank preset, and confirms items are present in the inventory.
Refactor and remove the many redundant/duplicate methodsModify existing methods to use item name only instead of a combination of IDs and item names (I came across an issue with item stacks which only seemed to work when using an ID, not an item name. More testing is needed)Move to switch/case for the required resources (logs/ashes/herbs), returning it's completed variantAdd a task queue systemAdd script progress to the ImGui window