Lockpicking practice

Posts: 184
Joined: Fri Feb 19, 2016 9:46 pm

Lockpicking practice

Postby Tillblik » Sun Jan 22, 2017 3:41 am

Here is a simple lockpicking macro that works on one chest at a time.
You just need a Chest and a key or keyring with the key on it, and of course some tools.
Code: Select all
clearjournal
// alias the key
headmsg 'Target your key'
promptalias 'thekey'
// alias the chest
headmsg 'Target your chest'
promptalias 'chest'
while not dead
  //Lock the chest
  while not @injournal 'You lock it.' 'system'
    useobject 'thekey'
    waitfortarget 5000
    target! 'chest'
    pause 700
  endwhile
  clearjournal
  //Pick the chest
  while not @injournal 'The lock quickly yields' 'system'
    if usetype 0x14fc
      waitfortarget 15000
      target! 'chest'
      pause 4500
    else
      headmsg 'Need More Picks'
      pause 5000
    endif
    if @injournal "You don't see how that lock can be manipulated."
      headmsg 'That lock is too hard for you at the moment'
      stop
    endif
  endwhile
  clearjournal
endwhile


And here is one for you Dungeon crawlers or Treasure Hunters to pick chests till they open.

Code: Select all
clearjournal
promptalias 'chest'
while not @injournal 'The lock quickly yields'
  usetype 0x14fc
  waitfortarget 15000
  target! 'chest'
  pause 4000
endwhile

Return to Macros

Who is online

Users browsing this forum: No registered users and 3 guests

cron