Skip to content

Instantly share code, notes, and snippets.

@wmh
Created February 22, 2010 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wmh/311061 to your computer and use it in GitHub Desktop.
Save wmh/311061 to your computer and use it in GitHub Desktop.
;-----------------------------
sub put
putStart:
set %putType DWJ ;ores
gosub putType
set %putType UWS ;perfect emerald
gosub putType
set %putType GXS ;blue diamond
gosub putType
set %putType AXS ;dark sapphire
gosub putType
set %putType VWS ;fire ruby
gosub putType
set %putType TWS ;ecru citrine
gosub putType
set %putType ZWS ;turquoise
gosub putType
;check pickaxe
move 4065 491 0
finditem QPF C ;pickaxe
wait 10
if #FINDCNT <= 1
{
click 378 331 d
wait 20
finditem QPF C_MYCPQMD
if #FINDKIND = 0
{
event drag #FINDID
wait 10
click 399 225 p
wait 10
}
}
return
;-----------------------------
sub putType
finditem %putType C_HNKTJMD
if #FINDKIND = 0
{
event drag #FINDID
msg $
click 355 300 p
wait 10
goto putStart
}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment