$${
if(@pot);
unset(@pot);
log( );
log( );
log("&c[&3%PLAYER%&c]&aAlpaca-Pocoes &4(By:elissonS2)&4OFF");
log( );
log( );
stop;
else;
set(@pot);
log( );
log( );
log("&c[&3%PLAYER%&c]&aAlpaca-Pocoes &4(By:elissonS2)&aON");
log( );
log( );
#baufrasco=1;
#frasco=0;
#suporte=1;
#item=0;
#item1=0;
#temp=4;
#bau=1;
#pegar=0;
PROMPT(#item4,$$?,Deseja usar o quarto ingrediente? coloque 1(para sim) ou 0(para nao).);
endif;
//pegando pots//
do;
look(west);
wait(500ms);
if(%#baufrasco%=2);
look(,22);
wait(500ms);
if(%#frasco%=1);
unset(@pot);
log( );
log( );
log("&c[&3%PLAYER%&c]&aAlpaca-Pocoes &4Acabou os frascos.");
log( );
log("&c[&3%PLAYER%&c]&aAlpaca-Pocoes &4(By:elissonS2)&4OFF");
log( );
log( );
stop;
endif;
endif;
key(use);
wait(3);
slotclick(%#frasco%,l,true);
wait(500ms);
//enchendo pots//
gui();
look(180,60);
slot(9);
do(38);
key(use);
wait(700ms);
loop;
//olhando suporte//
do();
look(north);
if(%#suporte%=1);
look(-45,45);
#liberaitem=0;
#temp=0;
#temp1=0;
#temp2=0;
#temp3=0;
#temp4=0;
#temp5=0;
#item5=0;
endif;
if(%#suporte%=2);
look(-30,50);
endif;
if(%#suporte%=3);
look(,50);
endif;
if(%#suporte%=4);
look(+30,50);
endif;
if(%#suporte%=5);
look(+45,45);
endif;
if(%#suporte%=6);
look(+65,50);
endif;
if(%#suporte%=7);
look(+45,60);
endif;
if(%#suporte%=8);
look(,60);
endif;
if(%#suporte%=9);
look(-40,60);
endif;
if(%#suporte%=10);
look(-60,45);
endif;
if(%#suporte%=11);
look(+90,50);
endif;
if(%#suporte%=12);
look(+90,65);
#liberaitem=1;
endif;
//pegando pots//
if(%#item%=5);
#temp5=0;
wait(500ms);
key(use);
wait(3);
do(3);
slotclick(%#temp5%,l,true);
wait(500ms);
#temp5=%#temp5%+1;
loop;
if(%#liberaitem%=1);
#item=6;
#temp5=0;
endif;
gui();
endif;
//colocar ingrediente 4//
if(%#item%=7);
if(%#temp4%=0);
#temp4=4;
endif;
wait(1);
key(use);
wait(3);
slotclick(%#temp4%,l,true);
wait(500ms);
#temp4=%#temp4%+1;
if(%#liberaitem%=1);
#item=5;
#item5=0;
#temp=0;
#pegar=3;
endif;
gui();
endif;
//colocar ingrediente 3//
if(%#item%=3);
if(%#temp3%=0);
#temp3=28;
endif;
wait(1);
key(use);
wait(3);
slotclick(%#temp3%,l,true);
wait(500ms);
#temp3=%#temp3%+1;
if(%#liberaitem%=1);
#item=5;
if(%#item4%=1);
#item=4;
endif;
#temp3=0;
endif;
gui();
endif;
//colocar ingrediente 2//
if(%#item%=2);
if(%#temp2%=0);
#temp2=16;
endif;
wait(1);
key(use);
wait(3);
slotclick(%#temp2%,l,true);
wait(500ms);
#temp2=%#temp2%+1;
if(%#liberaitem%=1);
#item=3;
#temp2=0;
endif;
gui();
endif;
//colocar ingrediente 1//
if(%#item%=1);
if(%#temp1%=0);
#temp1=4;
endif;
wait(1);
key(use);
wait(3);
slotclick(%#temp1%,l,true);
wait(500ms);
#temp1=%#temp1%+1;
if(%#liberaitem%=1);
#item=2;
#temp1=0;
endif;
gui();
endif;
//colocando frascos//
if(%#item%=0);
if(%#temp%=0);
#temp=4;
endif;
wait(1);
key(use);
wait(3);
do(3);
slotclick(%#temp%,l,true);
wait(500ms);
#temp=%#temp%+1;
loop;
if(%#liberaitem%=1);
#item=1;
#pegar=1;
#temp=0;
endif;
gui();
endif;
//pegar itens//
if(%#pegar%=1);
if(%#item%=1);
wait(500ms);
look(north);
if(%#baufrasco%=1);
look(-20,);
else;
look(-20,20);
endif;
wait(500ms);
key(use);
wait(3);
slotclick(%#frasco%,l,false);
wait(500ms);
for(#peg,27,38);
slotclick(%#peg%,r,false);
wait(500ms);
next;
gui();
//segundo item//
wait(500ms);
look(north);
if(%#baufrasco%=1);
else;
look(,20);
endif;
wait(500ms);
key(use);
wait(3);
slotclick(%#frasco%,l,false);
wait(500ms);
for(#peg2,39,50);
slotclick(%#peg2%,r,false);
wait(500ms);
next;
gui();
//terceiro item//
wait(500ms);
look(north);
if(%#baufrasco%=1);
look(+20,);
else;
look(+20,20);
endif;
wait(500ms);
key(use);
wait(3);
slotclick(%#frasco%,l,false);
wait(500ms);
for(#peg3,51,62);
slotclick(%#peg3%,r,false);
wait(500ms);
next;
gui();
endif;
#pegar=0;
endif;
//quarto item//
if(%#item%=4);
#item=7;
wait(500ms);
look(north);
if(%#baufrasco%=1);
look(+90,);
else;
look(+90,20);
endif;
wait(500ms);
key(use);
wait(3);
slotclick(%#frasco%,l,false);
wait(500ms);
for(#peg4,27,38);
slotclick(%#peg4%,r,false);
wait(500ms);
next;
gui();
#pegar=0;
#item=7;
endif;
//guarda nos baus//
if(%#item%=6);
do;
look(south);
if(%#bau%=1);
look(-50,-50);
endif;
if(%#bau%=2);
look(-30,-60);
endif;
if(%#bau%=3);
look(,-60);
endif;
if(%#bau%=4);
look(+30,-60);
endif;
if(%#bau%=5);
look(+50,-50);
endif;
if(%#bau%=6);
look(-50,-40);
endif;
if(%#bau%=7);
look(-30,-50);
endif;
if(%#bau%=8);
look(,-50);
endif;
if(%#bau%=9);
look(+30,-50);
endif;
if(%#bau%=10);
look(+50,-40);
endif;
if(%#bau%=11);
look(-50,-20);
endif;
if(%#bau%=12);
look(-30,-30);
endif;
if(%#bau%=13);
look(,-30);
endif;
if(%#bau%=14);
look(+30,-30);
endif;
if(%#bau%=15);
look(+50,-20);
endif;
if(%#bau%=16);
look(-50,);
endif;
if(%#bau%=17);
look(-30,);
endif;
if(%#bau%=18);
look(south);
endif;
if(%#bau%=19);
look(+30,);
endif;
if(%#bau%=20);
look(+50,);
endif;
if(%#bau%=21);
look(-50,+20);
endif;
if(%#bau%=22);
look(-30,+30);
endif;
if(%#bau%=23);
look(,+30);
endif;
if(%#bau%=24);
look(+30,+30);
endif;
if(%#bau%=25);
look(+50,+20);
endif;
wait(500ms);
key(use);
wait(3);
for(#i,54,89);
slotclick(%#i%,l,true);
wait(300ms);
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau);
endif;
gui();
until(%#stack%=0);
endif;
#suporte=%#suporte%+1;
if(%#suporte%=13);
#suporte=1;
endif;
until(%#item%==6);
#item=0;
#frasco=%#frasco%+1;
if(%#frasco%=27);
#baufrasco=2;
#fraco=0;
endif;
loop;
}$$