The Wiki for Tale 4 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 "User:Jimbly/Macros"

From A Tale in the Desert
Jump to navigationJump to search
Line 7: Line 7:
 
General usage info - to come!
 
General usage info - to come!
  
== Specific Macros ==
+
== Notes on Specific Macros ==
  
Note: all of these are available by installing VeggieTales (above), this page just lists information on these macros.  Feel free to edit the descriptions to be more useful as needed (e.g. if you found that you needed to tweak some value to get it to work right, add that info here!).
+
All of these are available by installing VeggieTales (above), this page just lists information on these macros.  Feel free to edit the descriptions to be more useful as needed (e.g. if you found that you needed to tweak some value to get it to work right, add that info here!).
  
 
In general, all macros, when first started, will prompt you for some initial parameters and then ask you to put the ATITD window in focus, and then press shift (may need to hold for a moment).  You can also use this for other programs (or, for instance, have Photoshop open with a bunch of screenshots to toggle between, for testing purposes).
 
In general, all macros, when first started, will prompt you for some initial parameters and then ask you to put the ATITD window in focus, and then press shift (may need to hold for a moment).  You can also use this for other programs (or, for instance, have Photoshop open with a bunch of screenshots to toggle between, for testing purposes).
Line 24: Line 24:
  
 
Simple [[dig]] script and a good example to learn from.  Monitors for a red [[Endurance]] stat and finds the "dig deeper" button to click on when appropriate.
 
Simple [[dig]] script and a good example to learn from.  Monitors for a red [[Endurance]] stat and finds the "dig deeper" button to click on when appropriate.
 +
 +
=== flax.lua ===
 +
 +
Must have ''Options|One-click|Enabled hotkeys on flax'' '''disabled'''.
 +
 +
Flax macro specifically designed for planting 6x6 arrays of Tedra #660 flax (requires exactly one weeding, no watering).  Macro and image could be modified to handle other configurations.  Edit the script if you cannot handle a 6x6 grid of flax at once (probably need 3 Dexterity).
 +
 +
If you can carry 2500 (3 STR and 3 DEX and 1000 base), then grab 216 flax seeds, have it run 6 passes, come back in a few minutes and you'll have 2160 flax.
 +
 +
=== flax_seeds.lua ===
 +
 +
Same as above, but for gathering seeds, not flax.
  
 
=== quarry.lua - Automated Quarrying ===
 
=== quarry.lua - Automated Quarrying ===

Revision as of 21:53, 8 March 2010

All of my macros and automation are written for VeggieTales - my LUA-based automation/macro engine. I was fed up with issues with ACTool and AutoHotKey, so I did what any self-respecting engineer would do - re-invent the wheel!

VeggieTales

Get it here: http://bigscreensmallgames.com/ATITD/VeggieTalesInstaller.exe

General usage info - to come!

Notes on Specific Macros

All of these are available by installing VeggieTales (above), this page just lists information on these macros. Feel free to edit the descriptions to be more useful as needed (e.g. if you found that you needed to tweak some value to get it to work right, add that info here!).

In general, all macros, when first started, will prompt you for some initial parameters and then ask you to put the ATITD window in focus, and then press shift (may need to hold for a moment). You can also use this for other programs (or, for instance, have Photoshop open with a bunch of screenshots to toggle between, for testing purposes).

Also, generally, a macro will cancel if it detects you are holding Ctrl+Shift, and pause with Alt+Shift (some may have slightly different behaviors).

Carrot Mode

barrel_grinder.lua - Solo barrel grinding

Set up to run the barrel grinder solo, winding every 20 seconds until it breaks, then repairing, waiting 2 minutes, and restarting. For non-solo grinding, the script would need to be modified a bit (would not want automated repair and restart).

dig.lua

Simple dig script and a good example to learn from. Monitors for a red Endurance stat and finds the "dig deeper" button to click on when appropriate.

flax.lua

Must have Options|One-click|Enabled hotkeys on flax disabled.

Flax macro specifically designed for planting 6x6 arrays of Tedra #660 flax (requires exactly one weeding, no watering). Macro and image could be modified to handle other configurations. Edit the script if you cannot handle a 6x6 grid of flax at once (probably need 3 Dexterity).

If you can carry 2500 (3 STR and 3 DEX and 1000 base), then grab 216 flax seeds, have it run 6 passes, come back in a few minutes and you'll have 2160 flax.

flax_seeds.lua

Same as above, but for gathering seeds, not flax.

quarry.lua - Automated Quarrying

raeli_color_mon.lua

Automatically saves a screenshot, with timestamp, every time a specified pixel changes color. When first burning a Raeli Oven, this will give you about 50-100 screenshots you can very quickly toggle through to get an accurate list of what colors are generated at what times.