I would like to change the payment method for the item with ID 7420 for example. currently the script is working ok, but it is only for zeny
thanks guys, much love
Spoiler
ayothaya.gat,150,158,4 script Equipamentos Campais 691,{
mes "Equipamentos Campais";
mes "Olá!";
mes "Gostaria de olhar nossa loja Campal?";
next;
switch(select("Armas:Acessórios:Variados:Hoje não")) {
case 1: // Pet Food
mes "Vou mostrar as armas Campais para você.";
close2; // Closes the NPC dialog without ending the script
callshop "PetFoodShop",1; // Only Sell window
end; // We end the script just after opening the shop so no need to break
case 2: // Pet Armor
mes "Vou mostrar os acessórios Campais para você.";
callshop "PetArmorShop",1;
end;
case 3: // Taming Items
mes "empty.";
callshop "TamingItemsShop",1;
end;
default: // Any other case not covered above. "Not today" in this example.
mes "Te vejo em breve.!";
close; // This statement closes and ends the script so no need to end again
}
// No need to close or end anything at this point
}
// Please add yourself the items you want to sell, last one doesn't need a comma
- shop PetFoodShop -1,13036:-1,13411:-1,
- shop PetArmorShop -1,2720:-1,2721:-1,
- shop TamingItemsShop -1,
Question
IsabelaFernandez
I would like to change the payment method for the item with ID 7420 for example. currently the script is working ok, but it is only for zeny
thanks guys, much love
ayothaya.gat,150,158,4 script Equipamentos Campais 691,{
mes "Equipamentos Campais";
mes "Olá!";
mes "Gostaria de olhar nossa loja Campal?";
next;
switch(select("Armas:Acessórios:Variados:Hoje não")) {
case 1: // Pet Food
mes "Vou mostrar as armas Campais para você.";
close2; // Closes the NPC dialog without ending the script
callshop "PetFoodShop",1; // Only Sell window
end; // We end the script just after opening the shop so no need to break
case 2: // Pet Armor
mes "Vou mostrar os acessórios Campais para você.";
callshop "PetArmorShop",1;
end;
case 3: // Taming Items
mes "empty.";
callshop "TamingItemsShop",1;
end;
default: // Any other case not covered above. "Not today" in this example.
mes "Te vejo em breve.!";
close; // This statement closes and ends the script so no need to end again
}
// No need to close or end anything at this point
}
// Please add yourself the items you want to sell, last one doesn't need a comma
- shop PetFoodShop -1,13036:-1,13411:-1,
- shop PetArmorShop -1,2720:-1,2721:-1,
- shop TamingItemsShop -1,
Link to comment
Share on other sites
2 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.