The Wiki for Tale 6 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:Hahotep

From ATITD6
Jump to navigationJump to search

Hahotep's Slate Macro for Ac Tool

Works with screen resolution 1920 x 1080 If you want to use another resolution you will have to create your own object for the slate using AC Tools Object Mapper.


//Slatebot
//General purpose slate and collector.  Works in a spot where there is only mud, as the slate must be in the 2nd position.  Do not have empty water jugs on hand!
// This will move left and right, pause and look for slate. 


Object Slate
  105=0,0|64=0,2|184=0,4
  189=2,2|128=2,4
  86=4,0|176=4,2|122=4,4
End



Procedure MoveRight
  keydown {right} 200
End

Procedure MoveLeft
  keydown {left} 200
End

Procedure Checkslate
  IsObject Slate at 285, 93
    mousepos 285, 93
    delay 250
    rightclick
    delay 2500
  End
End


delay 5000
While 0 = 0
  Loop 50
    Call MoveRight
    delay 500
    Call CheckSlate
  End
  
  Loop 50
    Call Moveleft
    delay 500
    Call CheckSlate
  End
  
end