Hello good, I am trying to put an npc that sells objects in exchange
for poring coins, do you know what is the code to implement this type of npc?
I have tried to copy the code of the dealer tool but I cannot change the currency from npc to Poring Coin.
thank you very much
This is the npc Code:
prontera,159,165,4 script Poring Shop 556,{
mes "[Poring Shop]";
mes "Bienvenido a mi Tienda";
mes "Aqui vas a poder utilizar tus Poring Coins para comprar todo tipo de objetos";
next;
switch(select("Consumibles:Equipo:Cartas:Aspectos")) {
close2;
case 1: callshop "Consumibles", 1; end;
case 2: callshop "Equipo", 1; end;
case 3: callshop "Cartas", 1; end;
case 4: callshop "Aspectos", 1; end;
}
}
Question
sacrox
Hello good, I am trying to put an npc that sells objects in exchange for poring coins, do you know what is the code to implement this type of npc? I have tried to copy the code of the dealer tool but I cannot change the currency from npc to Poring Coin.
thank you very much
This is the npc Code:
prontera,159,165,4 script Poring Shop 556,{
mes "[Poring Shop]";
mes "Bienvenido a mi Tienda";
mes "Aqui vas a poder utilizar tus Poring Coins para comprar todo tipo de objetos";
next;
switch(select("Consumibles:Equipo:Cartas:Aspectos")) {
close2;
case 1: callshop "Consumibles", 1; end;
case 2: callshop "Equipo", 1; end;
case 3: callshop "Cartas", 1; end;
case 4: callshop "Aspectos", 1; end;
}
}
//shops
- shop Consumibles -1,601:60,602:300,506:40,547:3000,545:300,645:1000,656:1500,657:3000,1065:100,522:8500,505:5000,610:5000,12020:1000,523:500,713:500,12070:15000,14579:15000,12045:15000,12050:15000,12055:15000,12060:15000
- shop Equipo -1,985:50000,984:50000,715:600,717:600,716:600,999:5000,1000:5000,990:5000,991:5000,992:5000,993:5000,994:20000,995:20000,996:20000,997:20000,1025:2000,612:2000,613:3000,614:5000,615:10000,970:10000,929:5000,1059:5000
- shop Cartas -1,1750:2,1751:3,1766:50,1767:30,1755:5,1754:5,1761:30,1752:3,1759:30,1765:50,1764:50,1753:20,1756:5,1757:5,1758:30
- shop Aspectos -1,13250:4,13252:20,13253:40,13254:100,2117:10000,7522:150,7523:150,7524:300
-
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.