summaryrefslogtreecommitdiff
path: root/npc/kafras/functions_kafras.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-05-13 18:15:14 +0200
committerHaru <haru@dotalux.com>2014-05-13 18:15:14 +0200
commitc03094034f5338016221775bce4b39a0e9b75ee6 (patch)
tree559e52c5207911190ea336eb82a933ce37305065 /npc/kafras/functions_kafras.txt
parent3bd57cf4858696b2586543098bc9eeac70a1854e (diff)
downloadhercules-c03094034f5338016221775bce4b39a0e9b75ee6.tar.gz
hercules-c03094034f5338016221775bce4b39a0e9b75ee6.tar.bz2
hercules-c03094034f5338016221775bce4b39a0e9b75ee6.tar.xz
hercules-c03094034f5338016221775bce4b39a0e9b75ee6.zip
Removed trailing whitespace (scripts)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/kafras/functions_kafras.txt')
-rw-r--r--npc/kafras/functions_kafras.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt
index 11d411e9d..dfce182d2 100644
--- a/npc/kafras/functions_kafras.txt
+++ b/npc/kafras/functions_kafras.txt
@@ -37,7 +37,7 @@
//= 5.1a Temporary? Added F_ClearGarbage to clear unused/outdated variables [Lupus]
//= 5.2 By default commented out custom Guilds Kafra's "Guild Storage". [Lupus]
//= 5.3 uncommented Guild Storage. Confirmed kRO feature. [Lupus]
-//= 5.4 added -Guide option (Kafra shows you nearest Guide) Work in progress.
+//= 5.4 added -Guide option (Kafra shows you nearest Guide) Work in progress.
//= Need all coords for all guides.. and somehow pass their coords to kafra.
//= Removed universal Kafra Pass, added 3 new Kafra Tickets [Lupus]
//= 5.4b temporary moved "-Guide" from the 1st menu punct [Lupus]
@@ -45,7 +45,7 @@
//= Cleaned up the menus a bit. Got rid of the proceeding "-" prefix.
//= 5.5b Missed a preceeding hyphen, which was screwing up teleporting. [L0ne_W0lf]
//= 5.6 Further dialog updates, added dynamic costs for cart and storage use. [L0ne_W0lf]
-//= Updated some functions to handle Guild Kafras the way they should.
+//= Updated some functions to handle Guild Kafras the way they should.
//= 5.6a Corrected a few wrong names in the teleport function. [L0ne_W0lf]
//= 5.7 Correced end message no longer displaying, and the duplicate names [L0ne_W0lf]
//= Thanks to Barron-Monster for pointing out the issues.
@@ -104,14 +104,14 @@ function script F_Kafra {
mes "In either case, why not stay awhile?";
mes "The air is eternally heavy with the";
mes "scent of pleasant wildflowers.";
- break;
+ break;
case 4:
// Louyang and Ayothaya specific message (obsolete)
mes "[Kafra Employee]";
mes "With our many Kafra";
mes "service locations, you're never";
mes "far from home.";
- break;
+ break;
case 5:
// NPC has it's own welcome message. (Display nothing)
break;
@@ -149,15 +149,15 @@ function script F_Kafra {
}
set .@menu$,"";
for (set .@i, 0; .@i < getarraysize(@K_Menu0$); set .@i, .@i + 1)
- set .@menu$, .@menu$ + @K_Menu0$[.@i] + ":";
+ set .@menu$, .@menu$ + @K_Menu0$[.@i] + ":";
set .@j, select (.@menu$) - 1;
if (@K_Menu0$[.@j] == "Save") {
return;
} else if (@K_Menu0$[.@j] == "Use Storage") {
// Do not charge for Guild Storage
- if(getarg(0) == 2)
+ if(getarg(0) == 2)
callfunc "F_KafStor",2,0,0;
- else
+ else
callfunc "F_KafStor",0,getarg(3),getarg(0);
next;
} else if (@K_Menu0$[.@j] == "Use Teleport Service") {
@@ -179,7 +179,7 @@ function script F_Kafra {
}
next;
} else if (@K_Menu0$[.@j] == "Rent a Pushcart") {
- if(callfunc("F_KafCart",getarg(0),getarg(4)) == 1)
+ if(callfunc("F_KafCart",getarg(0),getarg(4)) == 1)
next;
} else if (@K_Menu0$[.@j] == "Check Other Information") {
callfunc "F_KafInfo",getarg(2);
@@ -424,14 +424,14 @@ function script F_KafInfo {
//===================================================================
function script F_KafEnd {
mes "[Kafra Employee]";
- if(getarg(1)==1) {
+ if(getarg(1)==1) {
// Save
mes "Your Respawn Point";
mes "has been saved here";
mes getarg(2)+".";
mes "Thank you for using";
mes "the Kafra Services.";
- } else if(getarg(0)==0 || getarg(0)==5) {
+ } else if(getarg(0)==0 || getarg(0)==5) {
// Generic End
mes "We, here at Kafra Corporation,";
mes "are always endeavoring to provide you with the best services. We hope that we meet your adventuring needs and standards of excellence.";
@@ -525,7 +525,7 @@ function script F_SetKafCode {
next;
switch (select("Set new password -> 5000z:Cancel")) {
case 1: callsub S_SET,getarg(0),getarg(1); break;
- case 2: break;
+ case 2: break;
}
}
close2;