Fatallity
01.04.2009, 20:03
Помогите пажалуйсто доделать макрос. Сделал макрос на то что бы он точил шмот. Но немогу сделать так что бы он сам когда заканчивались элиниумы шол в кафру (т.к. нету команды @storage) брал элиниумы и возращался назад в определенную точку.
Вот мой макрос:
automacro zatocka_4 {
map payon
inventory "Shoes [1]" > 0
call {
set exclusive 1
:da
do eq Shoes [1]
do talknpc 144 173 c r5 r1 c d5 c r0 r0 c c c c c
:end
release zatocka_4
}
run-once 1
}
automacro refine_4 {
map payon
inventory "+4 Shoes [1]" > 0
inventory "Shoes [1]" < 1
call {
set exclusive 1
:da
do eq +4 Shoes [1]
do talknpc 144 173 c r5 c d1 c r0 c r0 c c
pause 1
:end
release refine_4
}
run-once 1
}
automacro refine_5 {
map payon
inventory "+5 Shoes [1]" > 0
inventory "+4 Shoes [1]" < 1
inventory "Shoes [1]" < 1
call {
set exclusive 1
:da
do eq +5 Shoes [1]
do talknpc 144 173 c r5 c d1 c r0 c r0 c c
pause 1
:end
release refine_5
}
run-once 1
}
automacro refine_6 {
map payon
inventory "+6 Shoes [1]" > 0
inventory "+5 Shoes [1]" < 1
inventory "+4 Shoes [1]" < 1
inventory "Shoes [1]" < 1
call {
set exclusive 1
:da
do eq +6 Shoes [1]
do talknpc 144 173 c r5 c d1 c r0 c r0 c c
pause 1
:end
release refine_6
}
run-once 1
}
automacro refine_7 {
map payon
inventory "+7 Shoes [1]" > 0
inventory "+6 Shoes [1]" < 1
inventory "+5 Shoes [1]" < 1
inventory "+4 Shoes [1]" < 1
inventory "Shoes [1]" < 1
call {
set exclusive 1
:da
do eq +7 Shoes [1]
do talknpc 144 173 c r5 c d1 c r0 c r0 c c
pause 1
:end
release refine_7
}
run-once 1
}
automacro refine_8 {
map payon
inventory "+8 Shoes [1]" > 0
inventory "+7 Shoes [1]" < 1
inventory "+6 Shoes [1]" < 1
inventory "+5 Shoes [1]" < 1
inventory "+4 Shoes [1]" < 1
inventory "Shoes [1]" < 1
call {
set exclusive 1
:da
do eq +8 Shoes [1]
do talknpc 144 173 c r5 c d1 c r0 c r0 c c
pause 1
:end
release refine_8
}
run-once 1
}
automacro refine_9 {
map payon
inventory "+9 Shoes [1]" > 0
inventory "+8 Shoes [1]" < 1
inventory "+7 Shoes [1]" < 1
inventory "+6 Shoes [1]" < 1
inventory "+5 Shoes [1]" < 1
inventory "+4 Shoes [1]" < 1
inventory "Shoes [1]" < 1
call {
set exclusive 1
:da
do eq +9 Shoes [1]
do talknpc 144 173 c r5 c d1 c r0 c r0 c c
pause 1
:end
release refine_9
}
run-once 1
}
automacro storaging {
inventory "+9 Shoes [1]" > 0
call {
do autostorage
do storage add +9 Shoes [1]
do storage close
release storaging
}
run-once 1
}
automacro storaging {
inventory "Elunium" <10
call {
do autostorage
do take Elunium 70
do storage close
release storaging
}
run-once 1
}
Вот мой макрос:
automacro zatocka_4 {
map payon
inventory "Shoes [1]" > 0
call {
set exclusive 1
:da
do eq Shoes [1]
do talknpc 144 173 c r5 r1 c d5 c r0 r0 c c c c c
:end
release zatocka_4
}
run-once 1
}
automacro refine_4 {
map payon
inventory "+4 Shoes [1]" > 0
inventory "Shoes [1]" < 1
call {
set exclusive 1
:da
do eq +4 Shoes [1]
do talknpc 144 173 c r5 c d1 c r0 c r0 c c
pause 1
:end
release refine_4
}
run-once 1
}
automacro refine_5 {
map payon
inventory "+5 Shoes [1]" > 0
inventory "+4 Shoes [1]" < 1
inventory "Shoes [1]" < 1
call {
set exclusive 1
:da
do eq +5 Shoes [1]
do talknpc 144 173 c r5 c d1 c r0 c r0 c c
pause 1
:end
release refine_5
}
run-once 1
}
automacro refine_6 {
map payon
inventory "+6 Shoes [1]" > 0
inventory "+5 Shoes [1]" < 1
inventory "+4 Shoes [1]" < 1
inventory "Shoes [1]" < 1
call {
set exclusive 1
:da
do eq +6 Shoes [1]
do talknpc 144 173 c r5 c d1 c r0 c r0 c c
pause 1
:end
release refine_6
}
run-once 1
}
automacro refine_7 {
map payon
inventory "+7 Shoes [1]" > 0
inventory "+6 Shoes [1]" < 1
inventory "+5 Shoes [1]" < 1
inventory "+4 Shoes [1]" < 1
inventory "Shoes [1]" < 1
call {
set exclusive 1
:da
do eq +7 Shoes [1]
do talknpc 144 173 c r5 c d1 c r0 c r0 c c
pause 1
:end
release refine_7
}
run-once 1
}
automacro refine_8 {
map payon
inventory "+8 Shoes [1]" > 0
inventory "+7 Shoes [1]" < 1
inventory "+6 Shoes [1]" < 1
inventory "+5 Shoes [1]" < 1
inventory "+4 Shoes [1]" < 1
inventory "Shoes [1]" < 1
call {
set exclusive 1
:da
do eq +8 Shoes [1]
do talknpc 144 173 c r5 c d1 c r0 c r0 c c
pause 1
:end
release refine_8
}
run-once 1
}
automacro refine_9 {
map payon
inventory "+9 Shoes [1]" > 0
inventory "+8 Shoes [1]" < 1
inventory "+7 Shoes [1]" < 1
inventory "+6 Shoes [1]" < 1
inventory "+5 Shoes [1]" < 1
inventory "+4 Shoes [1]" < 1
inventory "Shoes [1]" < 1
call {
set exclusive 1
:da
do eq +9 Shoes [1]
do talknpc 144 173 c r5 c d1 c r0 c r0 c c
pause 1
:end
release refine_9
}
run-once 1
}
automacro storaging {
inventory "+9 Shoes [1]" > 0
call {
do autostorage
do storage add +9 Shoes [1]
do storage close
release storaging
}
run-once 1
}
automacro storaging {
inventory "Elunium" <10
call {
do autostorage
do take Elunium 70
do storage close
release storaging
}
run-once 1
}