From 788a65d41bce37aad857e5b5202d0293e84963a2 Mon Sep 17 00:00:00 2001 From: Lupus Date: Thu, 15 Mar 2007 20:32:55 +0000 Subject: removed all .GAT from all the scripts and tested git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10018 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/kafras/cool_event_corp.txt | 4 ++-- npc/kafras/dts_warper.txt | 32 +++++++++++++------------- npc/kafras/functions_kafras.txt | 30 ++++++++++++------------- npc/kafras/kafras_alb.txt | 10 ++++----- npc/kafras/kafras_alde.txt | 10 ++++----- npc/kafras/kafras_com.txt | 10 ++++----- npc/kafras/kafras_dungeons.txt | 34 ++++++++++++++-------------- npc/kafras/kafras_gef.txt | 18 +++++++-------- npc/kafras/kafras_izl.txt | 6 ++--- npc/kafras/kafras_mor.txt | 18 +++++++-------- npc/kafras/kafras_new.txt | 50 ++++++++++++++++++++--------------------- npc/kafras/kafras_pay.txt | 14 ++++++------ npc/kafras/kafras_pron.txt | 22 +++++++++--------- npc/kafras/kafras_yun.txt | 14 ++++++------ 14 files changed, 136 insertions(+), 136 deletions(-) (limited to 'npc/kafras') diff --git a/npc/kafras/cool_event_corp.txt b/npc/kafras/cool_event_corp.txt index 8da63ddce..6b9f0552d 100644 --- a/npc/kafras/cool_event_corp.txt +++ b/npc/kafras/cool_event_corp.txt @@ -15,7 +15,7 @@ //= 1.1a Redo back. It wasn't a bug [Lupus] //============================================================ -hugel.gat,88,168,4 script Cool Event Corp. Staff#hk 874,{ +hugel,88,168,4 script Cool Event Corp. Staff#hk 874,{ mes "[Cool Event Corp. Staff]"; mes "Welcome to Cool Event Corp."; @@ -34,7 +34,7 @@ hugel.gat,88,168,4 script Cool Event Corp. Staff#hk 874,{ mes "Thank you for using the"; mes "Cool Event Corp. service~"; emotion e_thx; - savepoint "hugel.gat",96,155; + savepoint "hugel",96,155; close; case 2: mes "[Cool Event Corp. Staff]"; diff --git a/npc/kafras/dts_warper.txt b/npc/kafras/dts_warper.txt index 446b0de31..6d261e688 100644 --- a/npc/kafras/dts_warper.txt +++ b/npc/kafras/dts_warper.txt @@ -74,27 +74,27 @@ //============================================================ //Yuno -yuno.gat,153,191,4 script Cool Event Voting Staff::CoolEventVotingStaff01 874,{ +yuno,153,191,4 script Cool Event Voting Staff::CoolEventVotingStaff01 874,{ callfunc "F_DTS_Warp",0,0; } -yuno.gat,162,191,6 script Kafra Voting Staff#01 861,{ +yuno,162,191,6 script Kafra Voting Staff#01 861,{ callfunc "F_DTS_Warp",1,8; } //Lighthalzen -lighthalzen.gat,154,60,6 script Cool Event Voting Staff::CoolEventVotingStaff02 874,{ +lighthalzen,154,60,6 script Cool Event Voting Staff::CoolEventVotingStaff02 874,{ callfunc "F_DTS_Warp",0,0; } //Prontera -prontera.gat,147,125,4 script Cool Event Voting Staff::CoolEventVotingStaff03 874,{ +prontera,147,125,4 script Cool Event Voting Staff::CoolEventVotingStaff03 874,{ callfunc "F_DTS_Warp",0,0; } -prontera.gat,164,125,6 script Kafra Voting Staff#02 115,{ +prontera,164,125,6 script Kafra Voting Staff#02 115,{ callfunc "F_DTS_Warp",1,3; } //Cool Event Staff Headquarters NPCs //Kudiuu (Maintenance Guy) -lhz_in02.gat,20,274,6 script Maintenance Guy 851,{ +lhz_in02,20,274,6 script Maintenance Guy 851,{ mes "[Kudiuu]"; mes "Holy...!"; mes "Will this place"; @@ -105,7 +105,7 @@ lhz_in02.gat,20,274,6 script Maintenance Guy 851,{ close; } //Cesuna (Zondaman at desk) -lhz_in02.gat,36,284,1 script Cool Event Staff#01 874,{ +lhz_in02,36,284,1 script Cool Event Staff#01 874,{ mes "[Cesuna]"; mes "Ack! I'm totally"; mes "swamped with all this"; @@ -122,7 +122,7 @@ lhz_in02.gat,36,284,1 script Cool Event Staff#01 874,{ close; } //Jellarin (Event planner) -lhz_in02.gat,40,279,3 script Event Planner 833,{ +lhz_in02,40,279,3 script Event Planner 833,{ mes "[Jellarin]"; mes "I don't like this."; mes "But I don't like that"; @@ -138,7 +138,7 @@ lhz_in02.gat,40,279,3 script Event Planner 833,{ close; } //Baoto (Cool Event Manager) -lhz_in02.gat,110,283,5 script Cool Event Manager 853,{ +lhz_in02,110,283,5 script Cool Event Manager 853,{ mes "[Baoto]"; mes "Hmmm..."; mes "The employees seem"; @@ -156,7 +156,7 @@ lhz_in02.gat,110,283,5 script Cool Event Manager 853,{ close; } //Saera (Secretary), contains GM menu -lhz_in02.gat,36,274,3 script Cool Event Staff#02 831,{ +lhz_in02,36,274,3 script Cool Event Staff#02 831,{ callfunc "F_ClearGarbage"; //Clear outdated, unused variables if($dts == 0){ set $dts,$dts|(1<<0); //Sets NPCs to election mode if first time running @@ -840,17 +840,17 @@ function script F_DTS_Warp { if (@dtswarp$[@num] == "Cancel") goto Lcancel; if (Zeny<4000) goto Lnomoney; set Zeny, Zeny-4000; - if (@dtswarpmap$[@num] == "Toy Factory, Level 2") warp "xmas_dun02.gat",130,123; + if (@dtswarpmap$[@num] == "Toy Factory, Level 2") warp "xmas_dun02",130,123; //Maps to warp to - if (@dtswarpmap$[@num] == "Clock Tower, Level 3") warp "alde_dun03.gat",265,22; + if (@dtswarpmap$[@num] == "Clock Tower, Level 3") warp "alde_dun03",265,22; - if (@dtswarpmap$[@num] == "Lava Dungeon, Level 2") warp "mag_dun02.gat",47,40; + if (@dtswarpmap$[@num] == "Lava Dungeon, Level 2") warp "mag_dun02",47,40; - if (@dtswarpmap$[@num] == "Byalan, Level 4") warp "iz_dun03.gat",32,63; + if (@dtswarpmap$[@num] == "Byalan, Level 4") warp "iz_dun03",32,63; - if (@dtswarpmap$[@num] == "Clock Tower, Basement 3") warp "alde_dun03.gat",277,178; + if (@dtswarpmap$[@num] == "Clock Tower, Basement 3") warp "alde_dun03",277,178; - if (@dtswarpmap$[@num] == "Glastheim Entrance") warp "glast_01.gat",370,304; + if (@dtswarpmap$[@num] == "Glastheim Entrance") warp "glast_01",370,304; cutin "", 255; end; diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt index 65d03ed21..455fb55cb 100644 --- a/npc/kafras/functions_kafras.txt +++ b/npc/kafras/functions_kafras.txt @@ -285,20 +285,20 @@ function script F_KafTele { set Zeny, Zeny-@wrpP[@num]; set RESRVPTS, RESRVPTS + (@wrpP[@num]/16); } - if (@wrpD$[@num] == "Alberta") warp "alberta.gat", 117, 56; - if (@wrpD$[@num] == "Al De Baran") warp "aldebaran.gat",143,110; - if (@wrpD$[@num] == "Aldebaran") warp "aldebaran.gat",143,110; - if (@wrpD$[@num] == "Comodo") warp "comodo.gat", 207, 144; - if (@wrpD$[@num] == "Izlude") warp "izlude.gat", 91, 105; - if (@wrpD$[@num] == "Geffen") warp "geffen.gat", 120, 39; - if (@wrpD$[@num] == "Morroc") warp "morocc.gat", 156, 46; - if (@wrpD$[@num] == "Payon") warp "payon.gat", 168, 103; - if (@wrpD$[@num] == "Prontera") warp "prontera.gat", 116, 72; - if (@wrpD$[@num] == "Coal Mine(Dead Pit)") warp "mjolnir_02.gat", 82, 347; - if (@wrpD$[@num] == "Comodo Pharos Lighthouse") warp "cmd_fild07.gat", 127, 134; - if (@wrpD$[@num] == "Orc Dungeon") warp "gef_fild10.gat", 52, 326; - if (@wrpD$[@num] == "Umbala") warp "umbala.gat", 130, 130; - if (@wrpD$[@num] == "Yuno") warp "yuno.gat", 157, 123; + if (@wrpD$[@num] == "Alberta") warp "alberta", 117, 56; + if (@wrpD$[@num] == "Al De Baran") warp "aldebaran",143,110; + if (@wrpD$[@num] == "Aldebaran") warp "aldebaran",143,110; + if (@wrpD$[@num] == "Comodo") warp "comodo", 207, 144; + if (@wrpD$[@num] == "Izlude") warp "izlude", 91, 105; + if (@wrpD$[@num] == "Geffen") warp "geffen", 120, 39; + if (@wrpD$[@num] == "Morroc") warp "morocc", 156, 46; + if (@wrpD$[@num] == "Payon") warp "payon", 168, 103; + if (@wrpD$[@num] == "Prontera") warp "prontera", 116, 72; + if (@wrpD$[@num] == "Coal Mine(Dead Pit)") warp "mjolnir_02", 82, 347; + if (@wrpD$[@num] == "Comodo Pharos Lighthouse") warp "cmd_fild07", 127, 134; + if (@wrpD$[@num] == "Orc Dungeon") warp "gef_fild10", 52, 326; + if (@wrpD$[@num] == "Umbala") warp "umbala", 130, 130; + if (@wrpD$[@num] == "Yuno") warp "yuno", 157, 123; cutin "", 255; end; } @@ -538,4 +538,4 @@ function script F_EntKafCode { return 0; } return @code_; -} +} \ No newline at end of file diff --git a/npc/kafras/kafras_alb.txt b/npc/kafras/kafras_alb.txt index 3a9adad90..0df7ed1ad 100644 --- a/npc/kafras/kafras_alb.txt +++ b/npc/kafras/kafras_alb.txt @@ -23,24 +23,24 @@ // NorthWest ----------------------------------------------------------------- -alberta.gat,28,229,8 script Kafra::kaf_alberta 115,{ +alberta,28,229,8 script Kafra::kaf_alberta 115,{ cutin "kafra_03",2; callfunc "F_KafSetAlb"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "alberta.gat",31,231; + savepoint "alberta",31,231; callfunc "F_KafEnd",0,1; } // South --------------------------------------------------------------------- -alberta.gat,113,60,5 script Kafra::kaf_alberta2 112,{ +alberta,113,60,5 script Kafra::kaf_alberta2 112,{ cutin "kafra_06",2; callfunc "F_KafSetAlb"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "alberta.gat",117,57; + savepoint "alberta",117,57; callfunc "F_KafEnd",0,1; } @@ -57,4 +57,4 @@ function script F_KafSetAlb { setarray @viewpX[0], 28, 113, 0, 0; setarray @viewpY[0], 229, 60, 0, 0; return; -} +} \ No newline at end of file diff --git a/npc/kafras/kafras_alde.txt b/npc/kafras/kafras_alde.txt index f50956ce9..dadde493a 100644 --- a/npc/kafras/kafras_alde.txt +++ b/npc/kafras/kafras_alde.txt @@ -22,18 +22,18 @@ // Kafra Main Office (Kafra Leilah) ------------------------------------ -aldeba_in.gat,96,181,4 script Kafra Leilah 113,{ +aldeba_in,96,181,4 script Kafra Leilah 113,{ cutin "kafra_05",2; callfunc "F_Kafra",0,2,1; M_Save: - savepoint "aldeba_in.gat",96,179; + savepoint "aldeba_in",96,179; callfunc "F_KafEnd",0,1; } // South -------------------------------------------------- -aldebaran.gat,143,119,4 script Kafra::kaf_aldebaran 113,{ +aldebaran,143,119,4 script Kafra::kaf_aldebaran 113,{ cutin "kafra_05",2; cleararray @wrpC$[0],"",getarraysize(@wrpC$); setarray @wrpP[0], 1200, 1200, 1800, 1700; @@ -46,6 +46,6 @@ aldebaran.gat,143,119,4 script Kafra::kaf_aldebaran 113,{ callfunc "F_Kafra",0,0,1; M_Save: - savepoint "aldebaran.gat",143,109; + savepoint "aldebaran",143,109; callfunc "F_KafEnd",0,1; -} +} \ No newline at end of file diff --git a/npc/kafras/kafras_com.txt b/npc/kafras/kafras_com.txt index e60332627..1ca7cc78a 100644 --- a/npc/kafras/kafras_com.txt +++ b/npc/kafras/kafras_com.txt @@ -24,7 +24,7 @@ // In Town ==============================================>\\ -comodo.gat,200,148,4 script Kafra::kaf_comodo 721,{ +comodo,200,148,4 script Kafra::kaf_comodo 721,{ cutin "kafra_07",2; cleararray @wrpC$[0],"",getarraysize(@wrpC$); setarray @wrpD$[0], "Morroc", "Comodo Pharos Lighthouse", "Umbala"; @@ -36,12 +36,12 @@ comodo.gat,200,148,4 script Kafra::kaf_comodo 721,{ callfunc "F_Kafra",0,0,1; M_Save: - savepoint "comodo.gat",204,143; + savepoint "comodo",204,143; callfunc "F_KafEnd",0,1; } // Comodo Pharos Lighthouse (Beacon Island) ===================>\\ -cmd_fild07.gat,135,134,4 script Kafra::kaf_cmd_fild07 721,{ +cmd_fild07,135,134,4 script Kafra::kaf_cmd_fild07 721,{ cutin "kafra_07",2; cleararray @wrpC$[0],"",getarraysize(@wrpC$); setarray @wrpD$[0], "Comodo", "Morroc"; @@ -52,6 +52,6 @@ cmd_fild07.gat,135,134,4 script Kafra::kaf_cmd_fild07 721,{ callfunc "F_Kafra",0,0,1; M_Save: - savepoint "cmd_fild07.gat",127,134; + savepoint "cmd_fild07",127,134; callfunc "F_KafEnd",0,1; -} +} \ No newline at end of file diff --git a/npc/kafras/kafras_dungeons.txt b/npc/kafras/kafras_dungeons.txt index dcddfc753..739bdbcaa 100644 --- a/npc/kafras/kafras_dungeons.txt +++ b/npc/kafras/kafras_dungeons.txt @@ -29,89 +29,89 @@ //<============================= Ant Hell ==============================>\\ // Mocfild04 ----------------------------------------- -moc_fild04.gat,230,329,3 script Kafra::kaf_moc_fild04 115,{ +moc_fild04,230,329,3 script Kafra::kaf_moc_fild04 115,{ cutin "kafra_03",2; callfunc "F_Kafra",0,2,1; M_Save: - savepoint "moc_fild04.gat",231,339; + savepoint "moc_fild04",231,339; callfunc "F_KafEnd",0,1; } // Mocfild15 -------------------------------------------- -moc_fild15.gat,264,260,3 script Kafra::kaf_moc_fild15 115,{ +moc_fild15,264,260,3 script Kafra::kaf_moc_fild15 115,{ cutin "kafra_03",2; callfunc "F_Kafra",0,2,1; M_Save: - savepoint "moc_fild15.gat",266,271; + savepoint "moc_fild15",266,271; callfunc "F_KafEnd",0,1; } //<============================= Byalan Island ============================>\\ -izlu2dun.gat,106,58,8 script Kafra::kaf_izlu2dun 115,{ +izlu2dun,106,58,8 script Kafra::kaf_izlu2dun 115,{ cutin "kafra_03",2; if(BaseJob==Job_Novice && job_merchant_q3>0) callfunc "F_MercKafra"; //F_MercKafra found in merchant.txt callfunc "F_Kafra",0,2,1; M_Save: - savepoint "izlu2dun.gat",87,170; + savepoint "izlu2dun",87,170; callfunc "F_KafEnd",0,1; } //<============================ Culvert Sewers ============================>\\ -prt_fild05.gat,290,224,1 script Kafra::prt_fild05 114,{ +prt_fild05,290,224,1 script Kafra::prt_fild05 114,{ cutin "kafra_04",2; callfunc "F_Kafra",0,1,1; M_Save: - savepoint "prt_fild05.gat",274,243; + savepoint "prt_fild05",274,243; callfunc "F_KafEnd",0,1; } //<=========================== Coal Mine (Dead Pitt) =======================>\\ -mjolnir_02.gat,83,361,4 script Kafra::kaf_mjolnir_02 114,{ +mjolnir_02,83,361,4 script Kafra::kaf_mjolnir_02 114,{ cutin "kafra_04",2; callfunc "F_Kafra",0,6,1; M_Save: - savepoint "mjolnir_02.gat",98,352; + savepoint "mjolnir_02",98,352; callfunc "F_KafEnd",0,1; } //<=============================== Morroc Ruins ============================>\\ -moc_ruins.gat,61,156,5 script Kafra::moc_ruins 114,{ +moc_ruins,61,156,5 script Kafra::moc_ruins 114,{ cutin "kafra_04",2; callfunc "F_Kafra",0,2,1; M_Save: - savepoint "moc_ruins.gat",41,141; + savepoint "moc_ruins",41,141; callfunc "F_KafEnd",0,1; } //<================================ Orc Dungeon ============================>\\ -gef_fild10.gat,73,340,4 script Kafra::kaf_gef_fild10 115,{ +gef_fild10,73,340,4 script Kafra::kaf_gef_fild10 115,{ cutin "kafra_03",2; callfunc "F_Kafra",0,6,1; M_Save: - savepoint "gef_fild10.gat",54,326; + savepoint "gef_fild10",54,326; callfunc "F_KafEnd",0,1; } //<============================== Treasure Island ==========================>\\ -alb2trea.gat,59,69,1 script Kafra::kaf_alb2trea 117,{ +alb2trea,59,69,1 script Kafra::kaf_alb2trea 117,{ cutin "kafra_01",2; callfunc "F_Kafra",0,2,1; M_Save: - savepoint "alb2trea.gat",92,64; + savepoint "alb2trea",92,64; callfunc "F_KafEnd",0,1; -} +} \ No newline at end of file diff --git a/npc/kafras/kafras_gef.txt b/npc/kafras/kafras_gef.txt index cd3e8b522..fcc14fbd2 100644 --- a/npc/kafras/kafras_gef.txt +++ b/npc/kafras/kafras_gef.txt @@ -23,46 +23,46 @@ // South ===================================== -geffen.gat,120,62,8 script Kafra::kaf_geffen 115,{ +geffen,120,62,8 script Kafra::kaf_geffen 115,{ cutin "kafra_03",2; callfunc "F_KafSetGef"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "geffen.gat",119,40; + savepoint "geffen",119,40; callfunc "F_KafEnd",0,1; } // East ============================================== -geffen.gat,203,123,3 script Kafra::geffen2 114,{ +geffen,203,123,3 script Kafra::geffen2 114,{ cutin "kafra_04",2; callfunc "F_KafSetGef"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "geffen.gat",200,124; + savepoint "geffen",200,124; callfunc "F_KafEnd",0,1; } // North ============================================== -geffen.gat,116,202,3 script Kafra::geffen3 116,{ +geffen,116,202,3 script Kafra::geffen3 116,{ cutin "kafra_02",2; callfunc "F_KafSetGef"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "geffen.gat",110,199; + savepoint "geffen",110,199; callfunc "F_KafEnd",0,1; } // West ========================================= -geffen.gat,37,116,6 script Kafra::geffen4 117,{ +geffen,37,116,6 script Kafra::geffen4 117,{ cutin "kafra_01",2; callfunc "F_KafSetGef"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "geffen.gat",43,108; + savepoint "geffen",43,108; callfunc "F_KafEnd",0,1; } @@ -80,4 +80,4 @@ function script F_KafSetGef { setarray @viewpX[0], 120, 203, 116, 37; setarray @viewpY[0], 62, 123, 202, 116; return; -} +} \ No newline at end of file diff --git a/npc/kafras/kafras_izl.txt b/npc/kafras/kafras_izl.txt index 11fe45b6b..4e28b2a03 100644 --- a/npc/kafras/kafras_izl.txt +++ b/npc/kafras/kafras_izl.txt @@ -22,7 +22,7 @@ //===================================================================== -izlude.gat,134,87,3 script Kafra::kaf_izlude 117,{ +izlude,134,87,3 script Kafra::kaf_izlude 117,{ cutin "kafra_01",2; cleararray @wrpC$[0],"",getarraysize(@wrpC$); setarray @wrpD$[0], "Geffen", "Prontera", "Morroc", "Al De Baran"; @@ -35,6 +35,6 @@ izlude.gat,134,87,3 script Kafra::kaf_izlude 117,{ callfunc "F_Kafra",0,0,1; M_Save: - savepoint "izlude.gat",96,107; + savepoint "izlude",96,107; callfunc "F_KafEnd",0,1; -} +} \ No newline at end of file diff --git a/npc/kafras/kafras_mor.txt b/npc/kafras/kafras_mor.txt index 83cd1dfe8..7cd698eb3 100644 --- a/npc/kafras/kafras_mor.txt +++ b/npc/kafras/kafras_mor.txt @@ -23,46 +23,46 @@ // South ================================ -morocc.gat,156,97,4 script Kafra::kaf_morocc 115,{ +morocc,156,97,4 script Kafra::kaf_morocc 115,{ cutin "kafra_03",2; callfunc "F_KafSetMoc"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "morocc.gat",156,46; + savepoint "morocc",156,46; callfunc "F_KafEnd",0,1; } // North ================================= -morocc.gat,162,271,4 script Kafra::kaf_morocc2 114,{ +morocc,162,271,4 script Kafra::kaf_morocc2 114,{ cutin "kafra_04",2; callfunc "F_KafSetMoc"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "morocc.gat",157,272; + savepoint "morocc",157,272; callfunc "F_KafEnd",0,1; } // West ================================= -morocc.gat,28,167,6 script Kafra::kaf_morocc3 116,{ +morocc,28,167,6 script Kafra::kaf_morocc3 116,{ cutin "kafra_02",2; callfunc "F_KafSetMoc"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "morocc.gat",31,164; + savepoint "morocc",31,164; callfunc "F_KafEnd",0,1; } // East ================================= -morocc.gat,292,211,4 script Kafra::kaf_morocc4 112,{ +morocc,292,211,4 script Kafra::kaf_morocc4 112,{ cutin "kafra_06",2; callfunc "F_KafSetMoc"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "morocc.gat",294,207; + savepoint "morocc",294,207; callfunc "F_KafEnd",0,1; } @@ -80,4 +80,4 @@ function script F_KafSetMoc { setarray @viewpX[0], 156, 163, 28, 292; setarray @viewpY[0], 97, 260, 167, 211; return; -} +} \ No newline at end of file diff --git a/npc/kafras/kafras_new.txt b/npc/kafras/kafras_new.txt index 1e97b3bf2..db0f93864 100644 --- a/npc/kafras/kafras_new.txt +++ b/npc/kafras/kafras_new.txt @@ -32,110 +32,110 @@ //========================================================================== // Amatsu ------------------------------------------------------------------ -amatsu.gat,102,149,4 script Kafra::kaf_amatsu 116,{ +amatsu,102,149,4 script Kafra::kaf_amatsu 116,{ cutin "kafra_02",2; callfunc "F_Kafra",3,3,1; M_Save: - savepoint "amatsu.gat",116,94; + savepoint "amatsu",116,94; callfunc "F_KafEnd",0,1; } // Ayothaya ---------------------------------------------------------------- -ayothaya.gat,212,169,5 script Kafra::kaf_ayothaya 116,{ +ayothaya,212,169,5 script Kafra::kaf_ayothaya 116,{ cutin "kafra_02",2; callfunc "F_Kafra",4,3,1; M_Save: - savepoint "ayothaya.gat",149,69; + savepoint "ayothaya",149,69; callfunc "F_KafEnd",0,1; } // Einbech ----------------------------------------------------------------- -einbech.gat,181,132,4 script Kafra::kaf_einbech 860,{ +einbech,181,132,4 script Kafra::kaf_einbech 860,{ cutin "kafra_08",2; callfunc "F_Kafra",0,4,1; M_Save: - savepoint "einbech.gat",182,124; + savepoint "einbech",182,124; callfunc "F_KafEnd",0,1; } // Einbroch (North-East) --------------------------------------------------- -einbroch.gat,242,205,5 script Kafra::kaf_einbroch 115,{ +einbroch,242,205,5 script Kafra::kaf_einbroch 115,{ cutin "kafra_03",2; callfunc "F_Kafra",0,4,1; M_Save: - savepoint "einbroch.gat",238,198; + savepoint "einbroch",238,198; callfunc "F_KafEnd",0,1; } // Einbroch (East) --------------------------------------------------------- -einbroch.gat,59,203,5 script Kafra::kaf_einbroch2 117,{ +einbroch,59,203,5 script Kafra::kaf_einbroch2 117,{ cutin "kafra_01",2; callfunc "F_Kafra",0,4,1; M_Save: - savepoint "einbroch.gat",240,197; + savepoint "einbroch",240,197; callfunc "F_KafEnd",0,1; } // Gonryun ----------------------------------------------------------------- -gonryun.gat,159,122,4 script Kafra::kaf_gonryun 116,{ +gonryun,159,122,4 script Kafra::kaf_gonryun 116,{ cutin "kafra_02",2; callfunc "F_Kafra",0,3,1; M_Save: - savepoint "gonryun.gat",160,62; + savepoint "gonryun",160,62; callfunc "F_KafEnd",0,1; } // Lighthalzen-------------------------------------------------------------- //Outside the hotel -lighthalzen.gat,164,100,4 script Kafra::kaf_lighthalzen 860,{ +lighthalzen,164,100,4 script Kafra::kaf_lighthalzen 860,{ cutin "kafra_08",2; callfunc "F_Kafra",0,4,1; M_Save: - savepoint "lighthalzen.gat",158,94; + savepoint "lighthalzen",158,94; callfunc "F_KafEnd",0,1; } // Entrance -lighthalzen.gat,191,320,4 script Kafra::kaf_lighthalzen2 861,{ +lighthalzen,191,320,4 script Kafra::kaf_lighthalzen2 861,{ cutin "kafra_09",2; callfunc "F_Kafra",0,4,1; M_Save: - savepoint "lighthalzen.gat",194,313; + savepoint "lighthalzen",194,313; callfunc "F_KafEnd",0,1; } //Inside the hotel -lhz_in02.gat,237,284,4 script Kafra::kaf_lhz_in02 861,{ +lhz_in02,237,284,4 script Kafra::kaf_lhz_in02 861,{ cutin "kafra_09",2; callfunc "F_Kafra",0,4,1; M_Save: - savepoint "lhz_in02.gat",278,215; + savepoint "lhz_in02",278,215; callfunc "F_KafEnd",0,1; } // Louyang ----------------------------------------------------------------- -louyang.gat,210,104,5 script Kafra::kaf_louyang 117,{ +louyang,210,104,5 script Kafra::kaf_louyang 117,{ cutin "kafra_01",2; callfunc "F_Kafra",4,3,1; M_Save: - savepoint "louyang.gat",217,92; + savepoint "louyang",217,92; callfunc "F_KafEnd",0,1; } // Umbala Kafra ------------------------------------------------------------ -umbala.gat,128,133,4 script Kafra::kaf_umbala 115,{ +umbala,128,133,4 script Kafra::kaf_umbala 115,{ cutin "kafra_03",2; cleararray @wrpC$[0],"",getarraysize(@wrpC$); setarray @wrpD$[0], "Comodo"; @@ -144,15 +144,15 @@ umbala.gat,128,133,4 script Kafra::kaf_umbala 115,{ set @wrpC$[1], "Cancel"; callfunc "F_Kafra",0,0,1; M_Save: - savepoint "umbala.gat",126,131; + savepoint "umbala",126,131; callfunc "F_KafEnd",0,1; } // Niflheim ---------------------------------------------------------------- -niflheim.gat,202,180,3 script Kafra::kaf_niflheim 791,{ +niflheim,202,180,3 script Kafra::kaf_niflheim 791,{ callfunc "F_Kafra",1,2,1; //this SAVE isn't used. Niflheim Kafra doesn't SAVE M_Save: - savepoint "niflheim.gat",192,182; + savepoint "niflheim",192,182; callfunc "F_KafEnd",1,1; -} +} \ No newline at end of file diff --git a/npc/kafras/kafras_pay.txt b/npc/kafras/kafras_pay.txt index 4380ec81e..62eace020 100644 --- a/npc/kafras/kafras_pay.txt +++ b/npc/kafras/kafras_pay.txt @@ -24,35 +24,35 @@ // Main Town, South ---------------------------------------------------------- -payon.gat,181,104,4 script Kafra::kaf_payon 113,{ +payon,181,104,4 script Kafra::kaf_payon 113,{ cutin "kafra_05",2; callfunc "F_KafSetPay"; callfunc "F_Kafra",0,0,1; M_Save: - savepoint "payon.gat",160,58; + savepoint "payon",160,58; callfunc "F_KafEnd",0,1; } // Main Town, Middle North -------------------------------------------------- -payon.gat,175,226,4 script Kafra::kaf_payon2 116,{ +payon,175,226,4 script Kafra::kaf_payon2 116,{ cutin "kafra_02",2; callfunc "F_KafSetPay"; callfunc "F_Kafra",0,0,1; M_Save: - savepoint "payon.gat",257,242; + savepoint "payon",257,242; callfunc "F_KafEnd",0,1; } // Archer Village ------------------------------------------------------------ -pay_arche.gat,55,123,8 script Kafra::kaf_payon3 115,{ +pay_arche,55,123,8 script Kafra::kaf_payon3 115,{ cutin "kafra_03",2; callfunc "F_KafSetPay"; callfunc "F_Kafra",0,5,1; M_Save: - savepoint "pay_arche.gat",49,144; + savepoint "pay_arche",49,144; callfunc "F_KafEnd",0,1; } @@ -67,4 +67,4 @@ function script F_KafSetPay { set @wrpC$[2], @wrpD$[2]+" -> "+@wrpP[2]; set @wrpC$[3], "Cancel"; return; -} +} \ No newline at end of file diff --git a/npc/kafras/kafras_pron.txt b/npc/kafras/kafras_pron.txt index be51e22fe..369d319fc 100644 --- a/npc/kafras/kafras_pron.txt +++ b/npc/kafras/kafras_pron.txt @@ -27,56 +27,56 @@ // North ================================== -prontera.gat,152,326,4 script Kafra::kaf_prontera 112,{ +prontera,152,326,4 script Kafra::kaf_prontera 112,{ cutin "kafra_06",2; callfunc "F_Kafra",0,1,1; M_Save: - savepoint "prontera.gat",157,327; + savepoint "prontera",157,327; callfunc "F_KafEnd",0,1; } // SOUTH ====================================== -prontera.gat,151,29,8 script Kafra::kaf_prontera2 116,{ +prontera,151,29,8 script Kafra::kaf_prontera2 116,{ cutin "kafra_02",2; callfunc "F_KafSetPront"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "prontera.gat",150,33; + savepoint "prontera",150,33; callfunc "F_KafEnd",0,1; } //WEST========================================= -prontera.gat,29,207,6 script Kafra::kaf_prontera3 113,{ +prontera,29,207,6 script Kafra::kaf_prontera3 113,{ cutin "kafra_05",2; callfunc "F_KafSetPront"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "prontera.gat",33,208; + savepoint "prontera",33,208; callfunc "F_KafEnd",0,1; } // East =========================================== -prontera.gat,282,200,4 script Kafra::kaf_prontera4 115,{ +prontera,282,200,4 script Kafra::kaf_prontera4 115,{ cutin "kafra_03",2; callfunc "F_KafSetPront"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "prontera.gat",281,203; + savepoint "prontera",281,203; callfunc "F_KafEnd",0,1; } // Center =========================================== -prontera.gat,146,86,6 script Kafra::kaf_prontera5 117,{ +prontera,146,86,6 script Kafra::kaf_prontera5 117,{ cutin "kafra_01",2; callfunc "F_KafSetPront"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "prontera.gat",116,73; + savepoint "prontera",116,73; callfunc "F_KafEnd",0,1; } @@ -96,4 +96,4 @@ function script F_KafSetPront { setarray @viewpX[0], 151, 29, 282, 152; setarray @viewpY[0], 29, 207, 200, 326; return; -} +} \ No newline at end of file diff --git a/npc/kafras/kafras_yun.txt b/npc/kafras/kafras_yun.txt index 6b84cb74d..c1be843f9 100644 --- a/npc/kafras/kafras_yun.txt +++ b/npc/kafras/kafras_yun.txt @@ -23,35 +23,35 @@ // Center ------------------------------------------------------------------ -yuno.gat,152,187,4 script Kafra::kaf_yuno 113,{ +yuno,152,187,4 script Kafra::kaf_yuno 113,{ cutin "kafra_05",2; callfunc "F_KafSetYun"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "yuno.gat",158,125; + savepoint "yuno",158,125; callfunc "F_KafEnd",0,1; } // South East -------------------------------------------------------------- -yuno.gat,327,108,4 script Kafra::kaf_yuno2 113,{ +yuno,327,108,4 script Kafra::kaf_yuno2 113,{ cutin "kafra_05",2; callfunc "F_KafSetYun"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "yuno.gat",328,101; + savepoint "yuno",328,101; callfunc "F_KafEnd",0,1; } // East -------------------------------------------------------------------- -yuno.gat,277,221,4 script Kafra::kaf_yuno3 117,{ +yuno,277,221,4 script Kafra::kaf_yuno3 117,{ cutin "kafra_01",2; callfunc "F_KafSetYun"; callfunc "F_Kafra",0,0,0; M_Save: - savepoint "yuno.gat",274,229; + savepoint "yuno",274,229; callfunc "F_KafEnd",0,1; } @@ -66,4 +66,4 @@ function script F_KafSetYun { setarray @viewpX[0], 328, 278, 153, 0; setarray @viewpY[0], 108, 221, 187, 0; return; -} +} \ No newline at end of file -- cgit v1.2.3-70-g09d2