From d2f9ad731c53da1bf0d9998cafef98fd8bf7ea83 Mon Sep 17 00:00:00 2001 From: Dastgir Date: Sat, 16 Jan 2016 20:48:55 +0530 Subject: Script Standardization: changed select format in merchants folder --- npc/merchants/novice_exchange.txt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'npc/merchants/novice_exchange.txt') diff --git a/npc/merchants/novice_exchange.txt b/npc/merchants/novice_exchange.txt index d23961554..c27fc6570 100644 --- a/npc/merchants/novice_exchange.txt +++ b/npc/merchants/novice_exchange.txt @@ -58,14 +58,14 @@ prontera,123,102,5 script Merchant#pron 4_M_03,{ mes "to give me that stuff for free. What about if I trade a Red Potion for 5 Shells, 10 Fluff,"; mes "or 10 Jellopies?"; next; - switch(select("Sure!:I think it's a rip-off!:No, thanks.")) { + switch(select("Sure!", "I think it's a rip-off!", "No, thanks.")) { case 1: mes "[Merchant]"; mes "So which item do"; mes "you want to bring me?"; mes "Shells, Fluffs, or Jellopies?"; next; - switch(select("Shells:Jellopies:Fluff:Cancel")) { + switch(select("Shells", "Jellopies", "Fluff", "Cancel")) { case 1: callfunc "F_PotExchange",935,5; case 2: callfunc "F_PotExchange",909,10; case 3: callfunc "F_PotExchange",914,10; @@ -114,7 +114,7 @@ morocc,180,259,3 script Merchant#morroc 4_M_03,{ mes "to give me that stuff for free. What about if I trade a Red Potion for 5 Shells, 7 Feathers of Bird"; mes "or 10 Jellopies?"; next; - switch(select("Sure!:I think it's a rip-off!:No, thanks.")) { + switch(select("Sure!", "I think it's a rip-off!", "No, thanks.")) { case 1: mes "[Merchant]"; mes "So which item do"; @@ -122,7 +122,7 @@ morocc,180,259,3 script Merchant#morroc 4_M_03,{ mes "Shells, Feathers of Birds,"; mes "or Jellopies?"; next; - switch(select("Shells:Feathers of Birds:Jellopies:Cancel")) { + switch(select("Shells", "Feathers of Birds", "Jellopies", "Cancel")) { case 1: callfunc "F_PotExchange",935,5; case 2: callfunc "F_PotExchange",916,7; case 3: callfunc "F_PotExchange",909,10; @@ -170,14 +170,14 @@ payon,200,134,5 script Merchant#pay 4_M_03,{ mes "Of course, I won't ask you"; mes "to give me that stuff for free. What about if I trade a Red Potion for 6 Tree Roots or 10 Jellopies?"; next; - switch(select("Sure!:I think it's a rip-off!:No, thanks.")) { + switch(select("Sure!", "I think it's a rip-off!", "No, thanks.")) { case 1: mes "[Merchant]"; mes "So which item do"; mes "you want to bring me?"; mes "Tree Roots, or Jellopies?"; next; - switch(select("Tree Roots:Jellopies:Cancel")) { + switch(select("Tree Roots", "Jellopies", "Cancel")) { case 1: callfunc "F_PotExchange",902,6; case 2: callfunc "F_PotExchange",909,10; case 3: @@ -224,7 +224,7 @@ aldebaran,152,63,5 script Merchant#alde 4_M_03,{ mes "Of course, I won't ask you"; mes "to give me that stuff for free. What about if I trade a Red Potion for 1 Worm Peeling, 7 Feather of Birds, or 10 Jellopies?"; next; - switch(select("Sure!:I think it's a rip-off!:No, thanks.")) { + switch(select("Sure!", "I think it's a rip-off!", "No, thanks.")) { case 1: mes "[Merchant]"; mes "So which item do"; @@ -233,7 +233,7 @@ aldebaran,152,63,5 script Merchant#alde 4_M_03,{ mes "Worm Peelings?"; mes "Or Jellopies?"; next; - switch(select("Worm Peelings:Feathers of Birds:Jellopies:Cancel")) { + switch(select("Worm Peelings", "Feathers of Birds", "Jellopies", "Cancel")) { case 1: callfunc "F_PotExchange",955,1; case 2: callfunc "F_PotExchange",916,7; case 3: callfunc "F_PotExchange",909,10; @@ -281,14 +281,14 @@ geffen,173,88,5 script Merchant#geff 4_M_03,{ mes "Of course, I won't ask you"; mes "to give me that stuff for free. What about if I trade a Red Potion for 5 Shells or 6 Chrysalises, or 10 Jellopies?"; next; - switch(select("Sure!:I think it's a rip-off!:No, thanks.")) { + switch(select("Sure!", "I think it's a rip-off!", "No, thanks.")) { case 1: mes "[Merchant]"; mes "So which item do"; mes "you want to bring me?"; mes "Shells, Chrysalises, or Jellopies?"; next; - switch(select("Shells:Chrysalises:Jellopies:Cancel")) { + switch(select("Shells", "Chrysalises", "Jellopies", "Cancel")) { case 1: callfunc "F_PotExchange",935,5; case 2: callfunc "F_PotExchange",915,6; case 3: callfunc "F_PotExchange",909,10; @@ -340,7 +340,7 @@ function script F_PotExchange { mes "What do you say?"; mes "Do we have a deal?"; next; - if (select("Deal.:No deal.") == 1) { + if (select("Deal.", "No deal.") == 1) { mes "[Merchant]"; mes "You know the exact"; mes "number of Red Potions"; -- cgit v1.2.3-60-g2f50