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:Hilly/Macros

From A Tale in the Desert
Jump to navigationJump to search

Kilns


// Written by: Coyan/Mosaic Guild originally as a mining Macro
// Adjusted by Menhotep for woodplane work.
// Adjusted By Hilly for Kilns
// with minor adjustments
// This is what I suggest for setting up for this macro

Constructs
	MouseX=List // this is an array of mouse X coords for gem sample points
	MouseY=List // this is an array of mouse X coords for gem sample points
END

Constants
	totalpulls = 16 // How many times do you want it to run all kilns? (make sure you have wood and brick in inventory)
	loopcnt = 1 
	Mousecnt = 1
	MouseXN = 0
	MouseYN = 0
End

// First part that requires a detailed explanation
// this loop will pause for 3 seconds then grab the current mouse location
// its purpose is to identify the locations for the Kilns(or however
// many) when it grabs the spot(s), it will then echo a . to the chat window
// make sure you are in your main chat tab.  After it finds all the Kilns, you
// may need to minimize your chat window.  BE SURE TO BE IN MAIN TAB!

// Adjust this Loop numer to the number of kilns being used
Loop 20
	Delay 3000
	Listadd MouseX, {MouseX}
	Listadd MouseY, {MouseY}
	SayPaste ..
END

loop $totalpulls
	Compute loopcnt = 1
// Adjust this Loop numer to the number of kins being used
	loop 20
		mousepos MouseX[$loopcnt], MouseY[$loopcnt]
		Delay 150
		keys t
		Delay 150
		keys c // c=Clay brick, b=fire bricks, ext 
		Delay 150 
		keys w
		Delay 150 
		keys f
		Compute loopcnt = $loopcnt + 1
		Delay 100
	END
		
	Delay 150000 
	
end