Code:
automacro refine1 {
inventory Phracon >= 1
inventory "Battle Axe [4]" >= 1
timeout 0
disabled 0
exclusive 1
priority 1
call {
do eq Battle Axe [4]
do talknpc 63 60 c r2 c r0 c w1 c w1 r0 w1 c c n
do uneq +1 Battle Axe [4]
}
}
automacro refine2 {
inventory Phracon >= 1
inventory "+1 Battle Axe [4]" >= 1
timeout 0
disabled 0
exclusive 1
priority 2
call {
do eq +1 Battle Axe [4]
do talknpc 63 60 c r2 c r0 c w1 c w1 r0 w1 c c n
do uneq +2 Battle Axe [4]
}
}
automacro refine3 {
inventory Phracon >= 1
inventory "+2 Battle Axe [4]" >= 1
timeout 0
disabled 0
exclusive 1
priority 3
call {
do eq +2 Battle Axe [4]
do talknpc 63 60 c r2 c r0 c w1 c w1 r0 w1 c c n
do uneq +3 Battle Axe [4]
}
}
automacro refine4 {
inventory Phracon >= 1
inventory "+3 Battle Axe [4]" >= 1
timeout 0
disabled 0
exclusive 1
priority 4
call {
do eq +3 Battle Axe [4]
do talknpc 63 60 c r2 c r0 c w1 c w1 r0 w1 c c n
do uneq +4 Battle Axe [4]
}
}
automacro refine5 {
inventory Phracon >= 1
inventory "+4 Battle Axe [4]" >= 1
timeout 0
disabled 0
exclusive 1
priority 5
call {
do eq +4 Battle Axe [4]
do talknpc 63 60 c r2 c r0 c w1 c w1 r0 w1 c c n
do uneq +5 Battle Axe [4]
}
}
automacro refine6 {
inventory Phracon >= 1
inventory "+5 Battle Axe [4]" >= 1
timeout 0
disabled 0
exclusive 1
priority 6
call {
do eq +5 Battle Axe [4]
do talknpc 63 60 c r2 c r0 c w1 c w1 r0 w1 c c n
do uneq +6 Battle Axe [4]
}
}
automacro refine7 {
inventory Phracon >= 1
inventory "+6 Battle Axe [4]" >= 1
timeout 0
disabled 0
exclusive 1
priority 7
call {
do eq +6 Battle Axe [4]
do talknpc 63 60 c r2 c r0 c w1 c w1 r0 w1 c c n
do uneq +7 Battle Axe [4]
}
}
automacro refine8 {
inventory Phracon >= 1
inventory "+7 Battle Axe [4]" >= 1
timeout 0
disabled 0
exclusive 1
priority 8
call {
do eq +7 Battle Axe [4]
do talknpc 63 60 c r2 c r0 c w1 c w1 r0 w1 c c n
do uneq +8 Battle Axe [4]
}
}
automacro refine9 {
inventory Phracon >= 1
inventory "+8 Battle Axe [4]" >= 1
timeout 0
disabled 0
exclusive 1
priority 9
call {
do eq +8 Battle Axe [4]
do talknpc 63 60 c r2 c r0 c w1 c w1 r0 w1 c c n
do uneq +9 Battle Axe [4]
}
}
automacro refine10 {
inventory Phracon >= 1
inventory "+9 Battle Axe [4]" >= 1
timeout 0
disabled 0
exclusive 1
priority 10
call {
do eq +9 Battle Axe [4]
do talknpc 63 60 c r2 c r0 c w1 c w1 r0 w1 c c n
do uneq +10 Battle Axe [4]
}
}
automacro refine_get_from_storage {
inventory Phracon = 0
timeout 0
disabled 0
exclusive 1
call {
do c @storage
do storage get Phracon 50
do storage close
}
}