That FN Ninja
Member
DwaFa 1.3 - Dwarven Factory puzzle solver
Dwarvish War Uniform here I come!
Previously dwarven_factory.ash. Thanks Veracity!!
This script automates the dwarven factory complex puzzle and retrieves the Dwarvish War Uniform item for you.
Requires Zlib & Miner.ash
User Preferences
boolean delivery_quest
If true will complete the Dwarven Factory Guild Quest (delivery service) before solving the factory puzzle.
boolean puzzle
Set this to false if you just want to use the script to complete the guild quest.
boolean buyore
If true the script will buy ore instead of mine for it.
WARNING: buyore is false by default. This script will spend adventures mining for ore if you do not change this to true before executing.
This is the order of the buying logic:
First dwafa.ash checks the script's buyore preference and if that is true it will try to buy all the required ore and abort if unsuccessful.
If buyore is false dwafa.ash passes control to miner.ash. Miner.ash tries to retrieve the ore, which means it might still buy it if autoSatisfyWithMall is true.
If miner.ash is unable to retrieve the ore it will then proceed to mine for the rest.
item transform
Specify the piece of mining gear to transform. By default the script will get a piece of the Dwarvish War Uniform that you do not already have. If you already have all the components of the Dwarvish War Uniform this script will just abort. If you are a collector change transform to bypass this abort. (i.e. If you collect Dwarvish War Helmets set transform to miner's helmet)
Here is an alias to complete the delivery service quest:
alias ds => ash import <dwarven_factory.ash> prep(); delivery();
Thanks to Veracity for adding Dwarven Factory support to KoLmafia.
If you find this script useful donations in the form of in-game ninja paraphernalia are always appreciated! Thanks and enjoy the script!
Change log:
11.08.09 - Added buyore boolean.
12.05.09 - Fixed a bug that was preventing the digit runes from getting parsed correctly.
09.24.10 - Re-named. Re-factored code. Converted aborts to exits and prints to vprints. Fixed a bug in the outfit item selection logic.
Dwarvish War Uniform here I come!
Previously dwarven_factory.ash. Thanks Veracity!!
This script automates the dwarven factory complex puzzle and retrieves the Dwarvish War Uniform item for you.
Requires Zlib & Miner.ash
User Preferences
boolean delivery_quest
If true will complete the Dwarven Factory Guild Quest (delivery service) before solving the factory puzzle.
boolean puzzle
Set this to false if you just want to use the script to complete the guild quest.
boolean buyore
If true the script will buy ore instead of mine for it.
WARNING: buyore is false by default. This script will spend adventures mining for ore if you do not change this to true before executing.
This is the order of the buying logic:
First dwafa.ash checks the script's buyore preference and if that is true it will try to buy all the required ore and abort if unsuccessful.
If buyore is false dwafa.ash passes control to miner.ash. Miner.ash tries to retrieve the ore, which means it might still buy it if autoSatisfyWithMall is true.
If miner.ash is unable to retrieve the ore it will then proceed to mine for the rest.
item transform
Specify the piece of mining gear to transform. By default the script will get a piece of the Dwarvish War Uniform that you do not already have. If you already have all the components of the Dwarvish War Uniform this script will just abort. If you are a collector change transform to bypass this abort. (i.e. If you collect Dwarvish War Helmets set transform to miner's helmet)
Here is an alias to complete the delivery service quest:
alias ds => ash import <dwarven_factory.ash> prep(); delivery();
Thanks to Veracity for adding Dwarven Factory support to KoLmafia.
If you find this script useful donations in the form of in-game ninja paraphernalia are always appreciated! Thanks and enjoy the script!
Change log:
11.08.09 - Added buyore boolean.
12.05.09 - Fixed a bug that was preventing the digit runes from getting parsed correctly.
09.24.10 - Re-named. Re-factored code. Converted aborts to exits and prints to vprints. Fixed a bug in the outfit item selection logic.
Attachments
Last edited: