Code: Select all
//=-=-=-=-=-=-=-=-=-
//Blacksmith Trainer
//Written by Xcess
//-=-=-=-=-=-=-=--=-=-
//Secure Container with Ingots
if not @findalias 'Stock'
promptalias 'Stock'
endif
//========================
//Gets ingots from a Container
if not @findtype 0x1bf2 0x0 'backpack' 300 0
movetype 0x1bf2 'Stock' 'backpack' 0x0 0 0 0 1000
endif
//========================
//Items to Smelt
if not listexists 'Smelt'
createlist 'Smelt'
endif
//========================
if listexists 'Smelt'
@pushlist! 'Smelt' 0xf5c
@pushlist! 'Smelt' 0x143b
@pushlist! 'Smelt' 0x1441
@pushlist! 'Smelt' 0x13b6
@pushlist! 'Smelt' 0x1401
@pushlist! 'Smelt' 0x1405
@pushlist! 'Smelt' 0x1403
@pushlist! 'Smelt' 0xf62
@pushlist! 'Smelt' 0x1413
@pushlist! 'Smelt' 0x1414
@pushlist! 'Smelt' 0x1412
@pushlist! 'Smelt' 0x1411
@pushlist! 'Smelt' 0x2b6f
endif
//========================
//Training
if skill 'Blacksmithy' < 100 and skill 'Blacksmithy' >= 30
//Mace
if skill 'Blacksmithy' < 40
replygump 0x38920abd 71
waitforgump 949095101 2000
replygump 0x38920abd 9
waitforgump 949095101 2000
//Maul
elseif skill 'Blacksmithy' >= 40 and skill 'Blacksmithy' < 45
replygump 0x38920abd 71
waitforgump 949095101 15000
replygump 0x38920abd 16
waitforgump 949095101 15000
//Cutlass
elseif skill 'Blacksmithy' >= 45 and skill 'Blacksmithy' < 50
replygump 0x38920abd 43
waitforgump 949095101 15000
replygump 0x38920abd 23
waitforgump 949095101 15000
//Scimitar
elseif skill 'Blacksmithy' >= 50 and skill 'Blacksmithy' < 55
replygump 0x38920abd 43
waitforgump 949095101 15000
replygump 0x38920abd 58
waitforgump 949095101 15000
//Kryss
elseif skill 'Blacksmithy' >= 55 and skill 'Blacksmithy' < 60
replygump 0x38920abd 43
waitforgump 949095101 15000
replygump 0x38920abd 44
waitforgump 949095101 15000
//War Fork
elseif skill 'Blacksmithy' >= 60 and skill 'Blacksmithy' < 65
replygump 0x38920abd 64
waitforgump 949095101 15000
replygump 0x38920abd 65
waitforgump 949095101 15000
//Short Spear
elseif skill 'Blacksmithy' >= 65 and skill 'Blacksmithy' < 70
replygump 0x38920abd 64
waitforgump 949095101 15000
replygump 0x38920abd 44
waitforgump 949095101 15000
//Spear
elseif skill 'Blacksmithy' >= 70 and skill 'Blacksmithy' < 75
replygump 0x38920abd 64
waitforgump 949095101 15000
replygump 0x38920abd 58
waitforgump 949095101 15000
//Plate Gorget
elseif skill 'Blacksmithy' >= 75 and skill 'Blacksmithy' < 80
replygump 0x38920abd 15
waitforgump 949095101 15000
replygump 0x38920abd 16
waitforgump 949095101 15000
//Plate Gloves
elseif skill 'Blacksmithy' >= 80 and skill 'Blacksmithy' < 85
replygump 0x38920abd 15
waitforgump 949095101 15000
replygump 0x38920abd 9
waitforgump 949095101 15000
//Plate Helm
elseif skill 'Blacksmithy' >= 85 and skill 'Blacksmithy' < 90
replygump 0x38920abd 22
waitforgump 949095101 15000
replygump 0x38920abd 30
waitforgump 949095101 15000
//Plate Legs
elseif skill 'Blacksmithy' >= 90 and skill 'Blacksmithy' < 97
replygump 0x38920abd 15
waitforgump 949095101 15000
replygump 0x38920abd 23
waitforgump 949095101 15000
//Royal Circlet
elseif skill 'Blacksmithy' >= 97 and skill 'Blacksmithy' < 100
replygump 0x38920abd 29
waitforgump 949095101 15000
replygump 0x38920abd 9
waitforgump 949095101 15000
endif
else
stop
endif
//========================
//Make Last
for 10
replygump 0x38920abd 21
waitforgump 949095101 15000
endfor
//========================
//Smelt it
for 0 to 'Smelt'
while @findtype Smelt[]
replygump 0x38920abd 14
waitfortarget 2000
targettype Smelt[]
waitforgump 0x38920abd 2000
endwhile
endfor