It can be downloaded here: http://www.nether-world.com/atitd/macros/treatment_tank/treatment_tank.zip
Please refer to the HOWTO for installation instructions.
Before running this Pentautomation be sure to pin open the Wood Treatment Tank and push it up into the upper-left hand corner of your screen.
The core macro to run is Wood Treatment Factory.
Starting note: I have included 2 formulae that will appear in the main UI of this Pentautomation. To add more formulae, as you undoubtedly will want to do, follow the steps below.
There are 2 things you will want to do to add a new formula:
<if_str>("%parWood% == Hard Glossy Black")The Treatment Tank Pentautomation will expect to receive the parFormula variable in the following format:
<varset>("parFormula=110 Water,60 Oil,30 Petroleum,7 Lead,9 Oil","")
<endif>
<number of seconds to treat> <type of treatment>[,<number of seconds to treat> <type of treatment>]Be sure there is a space separating only the # of seconds and the type of treatment, and no spaces before or after the commas.
To edit the Wood Treatment Factory macro simply locate the following line:
<form_item>("frmTreatmentFormulaPicker","Select an existing formula below.","LIST","Hard Glossy Black|Hard Glossy Blond","varWoodType")Modify the value of "Hard Glossy Black|Hard Glossy Blond" to include your recipe. Thus, if you wanted to add Termite-Resistant Rotproof Black you would see the following in its place:
<form_item>("frmTreatmentFormulaPicker","Select an existing formula below.","LIST","Hard Glossy Black|Hard Glossy Blond|Termite-Resistant Rotproof Black","varWoodType")The new value you add here should match the <if_str>("%parWood% == Hard Glossy Black") value you placed in Values_Treatment_Tank.
I hope to replace this some day with an automatic user interface, but that is currently more trouble than it is worth.
Please let me know if you have any issues, questions, comments, suggestions, improvements, rants, or other thoughts. Send questions to me in-game.
Greater Detailed Implementation
I will provide more information (along with the screenshots) about how to make Pentautomation work.
Formula Editing
I would like to add a UI to allow for new formulas to be added via the Pentautomation, and not by editing the actual macro files.