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:Viscis/Bricks

From A Tale in the Desert
< User:Viscis
Revision as of 01:37, 16 January 2009 by Viscis (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
delay 5000

loop $iSet

If $boolType = 0
	// Normal Bricks
	Call LayBricks
	Delay $iDelay // standard wait
Else $boolType = 1
	// Firebricks
	Call LayFBricks
	Delay $iDelay
End

Call PickBricks

end

// Constants -- DO  EDIT -- //
// ======================== //

CONSTANTS
	boolType = 0 // 0 BRICKS // 1 FIREBRICKS
	iSet = 80 // number of sets to make (64 Straw per Set) (120 Silt per Set)
	iDelay = 33000 // delay time in milisecs
END

// Procedures -- DO NOT EDIT -- //
// ============================ //

Procedure LayBricks

MousePos 138, 317
delay 100
leftclick
delay 100
MousePos 166, 306
delay 100
leftclick

MousePos 135, 394
delay 100
leftclick
delay 100
MousePos 163, 384
delay 100
leftclick

MousePos 136, 472
delay 100
leftclick
delay 100
MousePos 160, 460
delay 100
leftclick

MousePos 219, 315
delay 100
leftclick
delay 100
MousePos 244, 309
delay 100
leftclick

MousePos 214, 394
delay 100
leftclick
delay 100
MousePos 242, 388
delay 100
leftclick

MousePos 213, 475
delay 100
leftclick
delay 100
MousePos 236, 466
delay 100
leftclick

MousePos 296, 318
delay 100
leftclick
delay 100
MousePos 321, 306
delay 100
leftclick

MousePos 292, 395
delay 100
leftclick
delay 100
MousePos 324, 386
delay 100
leftclick

MousePos 293, 474
delay 100
leftclick
delay 100
MousePos 327, 469
delay 100
leftclick

MousePos 376, 318
delay 100
leftclick
delay 100
MousePos 403, 310
delay 100
leftclick

MousePos 370, 397
delay 100
leftclick
delay 100
MousePos 400, 386
delay 100
leftclick

MousePos 373, 474
delay 100
leftclick
delay 100
MousePos 407, 466
delay 100
leftclick

End // end of LayBricks

Procedure LayFBricks

MousePos 138, 317
delay 100
leftclick
delay 100
MousePos 166, 326
delay 100
leftclick

MousePos 135, 394
delay 100
leftclick
delay 100
MousePos 163, 404
delay 100
leftclick

MousePos 136, 472
delay 100
leftclick
delay 100
MousePos 160, 480
delay 100
leftclick

MousePos 219, 315
delay 100
leftclick
delay 100
MousePos 244, 329
delay 100
leftclick

MousePos 214, 394
delay 100
leftclick
delay 100
MousePos 242, 408
delay 100
leftclick

MousePos 213, 475
delay 100
leftclick
delay 100
MousePos 236, 486
delay 100
leftclick

MousePos 296, 318
delay 100
leftclick
delay 100
MousePos 321, 326
delay 100
leftclick

MousePos 292, 395
delay 100
leftclick
delay 100
MousePos 324, 406
delay 100
leftclick

MousePos 293, 474
delay 100
leftclick
delay 100
MousePos 327, 489
delay 100
leftclick

MousePos 376, 318
delay 100
leftclick
delay 100
MousePos 403, 330
delay 100
leftclick

MousePos 370, 397
delay 100
leftclick
delay 100
MousePos 400, 406
delay 100
leftclick

MousePos 373, 474
delay 100
leftclick
delay 100
MousePos 407, 486
delay 100
leftclick

End // end of LayBricks

Procedure PickBricks

MousePos 138, 317
KeyDown {T} 100

MousePos 135, 394
KeyDown {T} 100

MousePos 136, 472
KeyDown {T} 100

MousePos 219, 315
KeyDown {T} 100

MousePos 214, 394
KeyDown {T} 100

MousePos 213, 475
KeyDown {T} 100

MousePos 296, 318
KeyDown {T} 100

MousePos 292, 395
KeyDown {T} 100

MousePos 293, 474
KeyDown {T} 100

MousePos 376, 318
KeyDown {T} 100

MousePos 370, 397
KeyDown {T} 100

MousePos 373, 474
KeyDown {T} 100

MousePos 373, 474 //call last one twice to mimick the correct delay
KeyDown {T} 100

End