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.

User:Pheros Bastet/macro pigmentlab

From A Tale in the Desert
Jump to navigationJump to search

use it with ahk! pigment lab without upgrade maybe adjust coords of the buttons... copy text below into a text file and name it pigmentlab.ahk run it now with AHK pigment lab must be pinned top left

start the macro with the hotkay CTRL-ATL-1

pause with CTRL-Shift-Q

reload macro with CTRL-SHIFT-R

exit macro with CTRL-SHIFT-X


^+q::Pause, Toggle ; strg shift Q

^+r::Reload ; strg shift R  

^+x::ExitApp ; Exit macro  strg shift X

^!1:: ; CTRL ALT 1 

IfWinActive, eGenesis Client
  {
loop, 20   ; numbers of runs 
{
;here the coords of the points u have to click for each incredient, maybe different at your place
; cabbage 250.... carrot 268 ... Clay 287
; deadtong 304 ... toadskin 322 .. earthlight 340
; redsand 360 ... lead 378 ... silver 394
; iron 412 ... copper 430 ... sulfur 448
; potash 467 ... lime 485 ... saltpeter 502
; below special color, to get the idea how it works

;current color is blue
; recipe is iron, saltpeter, lead, 3 clay, copper, 4cabbage juice
sleep 150
mouseclick, right, 21, 412 , 1, 0 
sleep 150
mouseclick, right, 21, 502, 1, 0
sleep 150
mouseclick, right, 21, 378 , 1, 0
sleep 150
mouseclick, right, 21, 287, 1, 0 
sleep 150
mouseclick, right, 21, 287, 1, 0 
sleep 150
mouseclick, right, 21, 287, 1, 0 
sleep 150
mouseclick, right, 21, 430, 1, 0 
sleep 150
mouseclick, right, 21, 250, 1, 0 
sleep 150
mouseclick, right, 21, 250, 1, 0 
sleep 150
mouseclick, right, 21, 250, 1, 0 
sleep 150
mouseclick, right, 21, 250, 1, 0 

		sleep 1000
mouseclick, right, 72, 87, 1, 0 ;take color
		sleep 1000
}
}
 Msgbox, >>> >> Done << <<<	 

return