summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2016-01-16 20:47:02 +0530
committerDastgir <dastgirpojee@rocketmail.com>2016-01-17 17:44:32 +0530
commit20f6d1a9d0448869c80510c9be58c9bf30ee23bb (patch)
treeda2886ae3e88737e914c1d35ac0b7ce0c70f322e
parent67eb36ab193d7258e9f225891474c2914d1bba64 (diff)
downloadhercules-20f6d1a9d0448869c80510c9be58c9bf30ee23bb.tar.gz
hercules-20f6d1a9d0448869c80510c9be58c9bf30ee23bb.tar.bz2
hercules-20f6d1a9d0448869c80510c9be58c9bf30ee23bb.tar.xz
hercules-20f6d1a9d0448869c80510c9be58c9bf30ee23bb.zip
Script Standardization: changed select format in kafras folder
-rw-r--r--npc/kafras/dts_warper.txt28
-rw-r--r--npc/kafras/functions_kafras.txt6
-rw-r--r--npc/kafras/kafras.txt2
3 files changed, 18 insertions, 18 deletions
diff --git a/npc/kafras/dts_warper.txt b/npc/kafras/dts_warper.txt
index 74c2c910c..a482652ed 100644
--- a/npc/kafras/dts_warper.txt
+++ b/npc/kafras/dts_warper.txt
@@ -314,7 +314,7 @@ function script F_VoteKafra {
mes "provide the Dungeon Teleport";
mes "Service. How may I help you?";
next;
- switch(select("Reason for Election:Cast a Vote:Use Teleport Service:Cancel")) {
+ switch(select("Reason for Election", "Cast a Vote", "Use Teleport Service", "Cancel")) {
case 1:
mes "[Kafra Voting Staff]";
mes "Cool Event Corp and the";
@@ -391,7 +391,7 @@ function script F_VoteKafra {
mes "us. Would you like to vote";
mes "for the Kafra Corporation?";
next;
- switch(select("No:Yes")) {
+ switch(select("No", "Yes")) {
case 1:
mes "[Kafra Voting Staff]";
mes "I understand. But if you";
@@ -460,7 +460,7 @@ function script F_VoteKafra {
mes "us. Would you like to vote";
mes "for the Kafra Corporation?";
next;
- switch(select("No:Yes")) {
+ switch(select("No", "Yes")) {
case 1:
mes "[Kafra Voting Staff]";
mes "I understand. But if you";
@@ -526,7 +526,7 @@ function script F_VoteKafra {
mes "apply in this special service.";
next;
if ($DTS_KafraWins == 0) {
- switch(select("Toy Factory, Level 2 -> 4,000 z:Cancel")) {
+ switch(select("Toy Factory, Level 2 -> 4,000 z", "Cancel")) {
case 1:
if (Zeny >= 4000) {
cutin "",255;
@@ -551,7 +551,7 @@ function script F_VoteKafra {
}
}
else if ($DTS_KafraWins == 1) {
- switch(select("Toy Factory, Level 2 -> 4,000 z:Clock Tower, Level 3 -> 4,000 z:Cancel")) {
+ switch(select("Toy Factory, Level 2 -> 4,000 z", "Clock Tower, Level 3 -> 4,000 z", "Cancel")) {
case 1:
if (Zeny >= 4000) {
Zeny -= 4000;
@@ -592,7 +592,7 @@ function script F_VoteKafra {
}
}
else {
- switch(select("Toy Factory, Level 2 -> 4,000 z:Clock Tower, Level 3 -> 4,000 z:Lava Dungeon, Level 2 -> 4,000 z:Cancel")) {
+ switch(select("Toy Factory, Level 2 -> 4,000 z", "Clock Tower, Level 3 -> 4,000 z", "Lava Dungeon, Level 2 -> 4,000 z", "Cancel")) {
case 1:
if (Zeny >= 4000) {
Zeny -= 4000;
@@ -713,7 +713,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
mes "between Cool Event Corp. and";
mes "Kafra Corporation for control of the Dungeon Teleport Service!";
next;
- switch(select("Reason for Election:Cast a Vote:Use Teleport Service:Cancel")) {
+ switch(select("Reason for Election", "Cast a Vote", "Use Teleport Service", "Cancel")) {
case 1:
mes "[Cool Event Corp. Voting Staff]";
mes "Cool Event Corp. has been";
@@ -796,7 +796,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
mes "Would you like to vote";
mes "for Cool Event Corp.?";
next;
- switch(select("No:Yes")) {
+ switch(select("No", "Yes")) {
case 1:
mes "[Cool Event Corp. Voting Staff]";
mes "Ah, I see... Well, if you";
@@ -868,7 +868,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
mes "Would you like to vote";
mes "for Cool Event Corp.?";
next;
- switch(select("No:Yes")) {
+ switch(select("No", "Yes")) {
case 1:
mes "[Cool Event Corp. Voting Staff]";
mes "Ah, I see... Well, if you";
@@ -926,7 +926,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
mes "choose your destination.";
next;
if ($DTS_JondaWins == 0) {
- switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Cancel")) {
+ switch(select("Byalan Dungeon, Level 3 -> 4,000 z", "Cancel")) {
case 1:
if (Zeny >= 4000) {
Zeny -= 4000;
@@ -954,7 +954,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
}
}
else if ($DTS_JondaWins == 1) {
- switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Clock Tower, 3rd Floor -> 4,000 z:Cancel")) {
+ switch(select("Byalan Dungeon, Level 3 -> 4,000 z", "Clock Tower, 3rd Floor -> 4,000 z", "Cancel")) {
case 1:
if (Zeny >= 4000) {
Zeny -= 4000;
@@ -1004,7 +1004,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
mes "for this service. Now, please";
mes "choose your destination.";
next;
- switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Clock Tower, 3rd Floor -> 4,000 z:Glast Heim Entrance -> 4,000 z:Cancel")) {
+ switch(select("Byalan Dungeon, Level 3 -> 4,000 z", "Clock Tower, 3rd Floor -> 4,000 z", "Glast Heim Entrance -> 4,000 z", "Cancel")) {
case 1:
if (Zeny >= 4000) {
Zeny -= 4000;
@@ -1180,7 +1180,7 @@ sec_in02,17,160,4 script Vote Globalvar Girl#yuno 4_F_OPERATION,{
mes "[Christy's Maid]";
mes "I am Lady Christy's Maid.";
next;
- switch(select("Globalvar Check:Setitem Zero:Change Glbalvar")) {
+ switch(select("Globalvar Check", "Setitem Zero", "Change Glbalvar")) {
case 1:
mes "Current GlobalVar are";
next;
@@ -1204,7 +1204,7 @@ sec_in02,17,160,4 script Vote Globalvar Girl#yuno 4_F_OPERATION,{
mes "[Christy's Maid]";
mes "Which Globalvar value would you like to change?";
next;
- switch(select("1 - Voting Time:2 - Cool Event Corp. Vote Numbers:3 - Kafra Vote Numbers:4 - Winner:5 - Teleport Service Period:6 - Kafra Warp Number:7 - Cool Event Corp. Warp Number:8 - Setitem Value")) {
+ switch(select("1 - Voting Time", "2 - Cool Event Corp. Vote Numbers", "3 - Kafra Vote Numbers", "4 - Winner", "5 - Teleport Service Period", "6 - Kafra Warp Number", "7 - Cool Event Corp. Warp Number", "8 - Setitem Value")) {
case 1:
mes "[Christy's Maid]";
mes "Please enter a number among 0 and 1000.";
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt
index e50264c9d..3155c5df8 100644
--- a/npc/kafras/functions_kafras.txt
+++ b/npc/kafras/functions_kafras.txt
@@ -388,7 +388,7 @@ function script F_KafCart {
mes "fee is "+getarg(1)+" zeny. Would";
mes "you like to rent a Pushcart?";
next;
- if (select("Rent a Pushcart.:Cancel") == 2)
+ if (select("Rent a Pushcart.", "Cancel") == 2)
return 0;
if (Zeny < getarg(1)) {
mes getarg(2);
@@ -501,7 +501,7 @@ function script F_SetKafCode {
if (#kafra_code) {
mes "Your storage is protected with a password. What would you do now?";
next;
- switch (select("Change old password -> 5000z:Remove storage password -> 1000z:Cancel")) {
+ switch (select("Change old password -> 5000z", "Remove storage password -> 1000z", "Cancel")) {
case 1:
mes getarg(0);
mes "At first, please enter your ^0000FFold password^000000.";
@@ -549,7 +549,7 @@ function script F_SetKafCode {
mes getarg(1)+" proudly presents you a new service:";
mes "Additional storage protection with a password.";
next;
- switch (select("Set new password -> 5000z:Cancel")) {
+ switch (select("Set new password -> 5000z", "Cancel")) {
case 1: callsub S_SET,getarg(0),getarg(1); break;
case 2: break;
}
diff --git a/npc/kafras/kafras.txt b/npc/kafras/kafras.txt
index adffbfb8e..39e389682 100644
--- a/npc/kafras/kafras.txt
+++ b/npc/kafras/kafras.txt
@@ -49,7 +49,7 @@ aldeba_in,96,181,4 script Kafra Service 4_F_KAFRA5,{
mes "Headquarters. Did you";
mes "need something?";
next;
- switch(select("Save:Use Storage:Rent a Pushcart:Cancel")) {
+ switch(select("Save", "Use Storage", "Rent a Pushcart", "Cancel")) {
case 1:
mes "[Kafra Leilah]";
mes "Your Respawn Point has";