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 "Matk/Macros"

From A Tale in the Desert
Jump to navigationJump to search
(Replacing page with 'Here's a (very crude) macro I wrote for growing flax. It's for AC Tool.')
Line 1: Line 1:
 
Here's a (very crude) macro I wrote for growing flax. It's for AC Tool.
 
Here's a (very crude) macro I wrote for growing flax. It's for AC Tool.
 
 
----<nowiki>
 
// Screen is 1680 x 1050. F8 zoomed in most of the way - adjust so flax beds adjacent and Alt-L to
 
// lock the screen. Flax hotkeys off in one-click.
 
// Flax planting button pinned up in the far upper left of the screen.
 
 
Constants
 
  newX = 0
 
  newY = 0
 
End
 
 
Procedure Clicky
 
  Delay 500
 
  RightClick
 
  Compute newX = {mousex} + 50
 
  Compute newY = {mousey}
 
  Delay 100
 
  MousePos $newX,$newY
 
  Delay 400
 
  RightClick
 
End
 
 
Procedure Clicky2
 
  Delay 200
 
  RightClick
 
  Compute newX = {mousex} + 50
 
  Compute newY = {mousey} - 25
 
  Delay 600
 
  MousePos $newX,$newY
 
  Delay 200
 
  RightClick
 
End
 
 
Procedure Weedy
 
  MousePos 1040,980
 
  Call Clicky2
 
  MousePos 760,980
 
  Call Clicky2
 
  MousePos 500,980
 
  Call Clicky2
 
  MousePos 300,980
 
  Call Clicky2
 
  MousePos 260,720
 
  Call Clicky
 
  MousePos 260,480
 
  Call Clicky
 
  MousePos 260,180
 
  Call Clicky
 
  MousePos 560,220
 
  Call Clicky
 
  MousePos 820,220
 
  Call Clicky
 
  MousePos 1100,220
 
  Call Clicky
 
  MousePos 1100,540
 
  Call Clicky
 
  MousePos 1100,760
 
  Call Clicky
 
  MousePos 820,760
 
  Call Clicky
 
  MousePos 560,760
 
  Call Clicky
 
  MousePos 560,540
 
  Call Clicky
 
  MousePos 820,540
 
  Call Clicky
 
End
 
 
MousePos 250,40
 
RightClick
 
 
Loop 3
 
MousePos 50, 40
 
RightClick
 
MousePos 570,540
 
LeftClick
 
Delay 1000
 
End
 
 
Loop 3
 
MousePos 50, 40
 
RightClick
 
MousePos 840,270
 
LeftClick
 
Delay 1000
 
End
 
 
Loop 3
 
MousePos 50, 40
 
RightClick
 
MousePos 1090,540
 
LeftClick
 
Delay 1000
 
End
 
 
Loop 2
 
MousePos 50, 40
 
RightClick
 
MousePos 840,810
 
LeftClick
 
Delay 1000
 
End
 
 
Loop 2
 
MousePos 50,40
 
RightClick
 
MousePos 570,540
 
LeftClick
 
Delay 1000
 
End
 
 
MousePos 50,40
 
RightClick
 
MousePos 840,270
 
LeftClick
 
Delay 1000
 
 
MousePos 50,40
 
RightClick
 
MousePos 1090,540
 
LeftClick
 
Delay 1000
 
MousePos 50,40
 
RightClick
 
 
// Everything is planted. Now weed it.
 
 
Delay 24000
 
Call Weedy
 
 
Loop 2
 
  Delay 9000
 
  Call Weedy
 
End
 
 
Delay 500
 
MousePos 1020,980
 
Delay 500
 
LeftClick
 
Delay 2000
 
</nowiki>
 

Revision as of 05:32, 19 December 2008

Here's a (very crude) macro I wrote for growing flax. It's for AC Tool.