* Fixed a few errors with the kafra functions.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10839 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
L0ne_W0lf 2007-07-01 19:59:12 +00:00
parent 1ed7f6c584
commit 9baed59553
2 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,7 @@
Date Added Date Added
====== ======
2007/07/01
* Rev. 10839 Fixed a few errors with the kafra functions. [L0ne_W0lf]
2007/06/29 2007/06/29
* Fixed some typos in various Rachel quests. [SinSloth] * Fixed some typos in various Rachel quests. [SinSloth]
* Fixed a minor bug in Hugel Bingo game system. [SinSloth] * Fixed a minor bug in Hugel Bingo game system. [SinSloth]

View File

@ -5,7 +5,7 @@
//= Darlskies, Darkchild, Syrus22, Lupus, kobra_k88 (2.0) //= Darlskies, Darkchild, Syrus22, Lupus, kobra_k88 (2.0)
//= L0ne_W0lf //= L0ne_W0lf
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 5.6a //= 5.7
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= eAthena 1.0 //= eAthena 1.0
//===== Description: ========================================= //===== Description: =========================================
@ -50,6 +50,8 @@
//= 5.6 Further dialog updates, added dynamic costs for cart and storage use. [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 name sin the teleport function. [L0ne_W0lf] //= 5.6a Corrected a few wrong name sin 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.
//============================================================ //============================================================
@ -64,11 +66,11 @@ function script F_Kafra {
callfunc "F_ClearGarbage"; //Clear outdated, unused variables callfunc "F_ClearGarbage"; //Clear outdated, unused variables
//Display Kafra Welcome Message //Display Kafra Welcome Message
mes "[Kafra Employee]";
switch(getarg(0)){ switch(getarg(0)){
//Default message (obsolete) //Default message (obsolete)
default: default:
case 0: case 0:
mes "[Kafra Employee]";
mes "Welcome to the"; mes "Welcome to the";
mes "Kafra Corporartion."; mes "Kafra Corporartion.";
mes "The Kafra services"; mes "The Kafra services";
@ -78,6 +80,7 @@ function script F_Kafra {
//Niflheim specific message //Niflheim specific message
case 1: case 1:
mes "[Kafra Employee]";
mes "^666666W-weeeelc-c-come"; mes "^666666W-weeeelc-c-come";
mes "to th-the K-kaaafrrrra"; mes "to th-the K-kaaafrrrra";
mes "C-coorpoor-r-ratioooonn...^000000"; mes "C-coorpoor-r-ratioooonn...^000000";
@ -85,12 +88,14 @@ function script F_Kafra {
//Guild Castle Kafra message //Guild Castle Kafra message
case 2: case 2:
mes "[Kafra Employee]";
mes "Welcome. ^ff0000" + GetGuildName(@GID) + "^000000 Member."; mes "Welcome. ^ff0000" + GetGuildName(@GID) + "^000000 Member.";
mes "The Kafra Coporation will stay with you wherever you go."; mes "The Kafra Coporation will stay with you wherever you go.";
break; break;
//Amatsu specific message (obsolete) //Amatsu specific message (obsolete)
case 3: case 3:
mes "[Kafra Employee]";
mes "So, have you come from a faraway land to study our culture, or are you just sightseeing?"; mes "So, have you come from a faraway land to study our culture, or are you just sightseeing?";
mes "In either case, why not stay awhile?"; mes "In either case, why not stay awhile?";
mes "The air is eternally heavy with the"; mes "The air is eternally heavy with the";
@ -99,6 +104,7 @@ function script F_Kafra {
//Louyang and Ayothaya specific message (obsolete) //Louyang and Ayothaya specific message (obsolete)
case 4: case 4:
mes "[Kafra Employee]";
mes "With our many Kafra"; mes "With our many Kafra";
mes "service locations, you're never"; mes "service locations, you're never";
mes "far from home."; mes "far from home.";
@ -520,7 +526,7 @@ function script F_KafEnd {
} }
// Generic End // Generic End
else if(getarg(0)==0) { else if(getarg(0)==0 || getarg(0)==5) {
mes "We, here at Kafra Corporation,"; 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."; mes "are always endeavoring to provide you with the best services. We hope that we meet your adventuring needs and standards of excellence.";
} }