From c03094034f5338016221775bce4b39a0e9b75ee6 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 13 May 2014 18:15:14 +0200 Subject: Removed trailing whitespace (scripts) Signed-off-by: Haru --- npc/kafras/functions_kafras.txt | 22 +++++++++++----------- npc/kafras/kafras.txt | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'npc/kafras') 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; diff --git a/npc/kafras/kafras.txt b/npc/kafras/kafras.txt index 55187e37b..e52d195ce 100644 --- a/npc/kafras/kafras.txt +++ b/npc/kafras/kafras.txt @@ -9,12 +9,12 @@ //= arg(0): 0 - Default Kafra message //= 1 - Niflhiem Kafra message //= 2 - Guild Kafra message -//= arg(1): 1 - Disable teleport menu +//= arg(1): 1 - Disable teleport menu //= arg(2): 1 - Disable info menu //= arg(3): Cost of Storage service //= arg(4): Cost of Rent a Pushcart service //===== Additional Comments: ================================= -//= 0.x Previous Authors: +//= 0.x Previous Authors: //= - L0ne_W0lf, kobra_k88, Samuray22, Evera, Lupus //= 1.0 Merged and cleaned up Kafras. [Joseph] //= 1.1 Added Izlude RE coordinates. [Euphy] -- cgit v1.2.3-60-g2f50