The Wiki for Tale 7 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Difference between revisions of "Macro/Automato/barrel vise"
Line 17: | Line 17: | ||
= Tale 7 problems = | = Tale 7 problems = | ||
− | + | Make one slight change to the macro work in tale 7: | |
− | |||
− | + | Line 130: add "- 20" after window_pos[0], to give you: | |
− | + | <CODE>local pos = srFindImageInRange("Vise_bars.png", window_pos[0] ''' - 20''', window_pos[1], window_w, window_h);</CODE> | |
− | |||
− |
Latest revision as of 15:40, 7 December 2015
Automato |
Macro Name: barrel _vise
Author: Not known
Setting Up
Open and pin the Barrel Vise. Make sure you have 100 boards, 2 Copper Strap and Wood for fuel (around 80) in your inventory for each barrel you wish to make.
What it does
- Makes Small Barrel by following these simple rules:
- If "Fuel" is length 2, do nothing and wait for the next tick
- If "Fuel" is length 1, check flame: If not high, add 1 wood, otherwise do nothing
- If "Fuel" is empty, add 2 wood
This is a reliable script, and makes a small barrel 100% of the time.
It is possible to enter the total number you wish to make in the starting window, and it will loop to make that many barrels. If you change your mind, there is a Finish up button to finish making the barrel - again, this is reliable and works 100% of the time.
Tale 7 problems
Make one slight change to the macro work in tale 7:
Line 130: add "- 20" after window_pos[0], to give you:
local pos = srFindImageInRange("Vise_bars.png", window_pos[0] - 20, window_pos[1], window_w, window_h);