diff options
author | Haru <haru@dotalux.com> | 2014-05-13 18:15:14 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-05-13 18:15:14 +0200 |
commit | c03094034f5338016221775bce4b39a0e9b75ee6 (patch) | |
tree | 559e52c5207911190ea336eb82a933ce37305065 /npc/quests/kiel_hyre_quest.txt | |
parent | 3bd57cf4858696b2586543098bc9eeac70a1854e (diff) | |
download | hercules-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/quests/kiel_hyre_quest.txt')
-rw-r--r-- | npc/quests/kiel_hyre_quest.txt | 114 |
1 files changed, 54 insertions, 60 deletions
diff --git a/npc/quests/kiel_hyre_quest.txt b/npc/quests/kiel_hyre_quest.txt index 3083436cc..29ea57cf8 100644 --- a/npc/quests/kiel_hyre_quest.txt +++ b/npc/quests/kiel_hyre_quest.txt @@ -42,7 +42,7 @@ //---------------------------------------------------------------------------- // [Notes] // - Let it be noted that ALL DIALOG IS OFFICIAL TO IRO UNLESS SPECIFIED. -// - I've fixed a few of iRO's mistakes, but I'm sure I made some of my own. +// - I've fixed a few of iRO's mistakes, but I'm sure I made some of my own. // - Will probably require a major optimizing. // - Not going to list ALL of the more usless NPCs. (Doors + Empty "Beautiful Ladies") // - Parties are *NOT REQUIRED* as per Doddler's Wiki information. @@ -63,9 +63,9 @@ // [Variables in Use] // KielHyreQuest - Main quest tracking variable (Quest finished at 106) // -// KHToastGirlEnd - Pick up delivery if set to 1, +// KHToastGirlEnd - Pick up delivery if set to 1, // - picked up delivery if set to 2 -// - finished if set to 3 +// - finished if set to 3 // - Deleted once no longer needed. // // KHCottagePoem1 - Tracks Poem 1 quest in cottage. (finished = 5) @@ -447,14 +447,14 @@ OnTouch: mes "What am I suposed to do?"; set KielHyreQuest,1; close; - } + } } //---------------------------------------------------------------------------- // Juno Toast Sales Girl. //---------------------------------------------------------------------------- yuno,217,114,6 script Little Kid#kh 4W_KID,{ - mes "[Cezu]"; + mes "[Cezu]"; if (KielHyreQuest < 6) { mes "Fresh, crunchy toast!"; mes "If you want some, come"; @@ -471,7 +471,7 @@ yuno,217,114,6 script Little Kid#kh 4W_KID,{ next; switch(select("I'm here for Elly:No, thanks")) { case 1: - mes "[Cezu]"; + mes "[Cezu]"; mes "Oh, I see. Elly must have"; mes "wasted another batch of"; mes "ingredients again. Well,"; @@ -479,7 +479,7 @@ yuno,217,114,6 script Little Kid#kh 4W_KID,{ mes "so I really want to help, but"; mes "I can't really do anything."; next; - mes "[Cezu]"; + mes "[Cezu]"; mes "You see, I just ran"; mes "out of ingredients too!"; mes "But I can't really leave"; @@ -487,7 +487,7 @@ yuno,217,114,6 script Little Kid#kh 4W_KID,{ mes "people need to buy toast?"; mes "Listen, can you help me out?"; next; - mes "[Cezu]"; + mes "[Cezu]"; mes "Would you please go get"; mes "some flour and eggs for me"; mes "from the ^3355FFLighthalzen Windmill^000000"; @@ -495,7 +495,7 @@ yuno,217,114,6 script Little Kid#kh 4W_KID,{ mes "divide the ingredients, and you"; mes "can deliver some to Elly."; next; - mes "[Cezu]"; + mes "[Cezu]"; mes "I know that I'm basically"; mes "making you do everything"; mes "on your own, but please try"; @@ -684,7 +684,7 @@ yuno_fild08,196,196,5 script Hanie#kh1 8_F,{ // Academy Security Guards //---------------------------------------------------------------------------- yuno_fild08,158,194,6 script Security Guard#1::KHAGuard 4_M_EIN_SOLDIER,{ - if ((KielHyreQuest < 2) || (KielHyreQuest > 31)) { + if ((KielHyreQuest < 2) || (KielHyreQuest > 31)) { mes "[Security Guard]"; mes "I'm sorry, but if you aren't"; mes "associated with this institution,"; @@ -694,7 +694,7 @@ yuno_fild08,158,194,6 script Security Guard#1::KHAGuard 4_M_EIN_SOLDIER,{ mes "an appointment with the staff."; close; } - else if (KielHyreQuest == 2) { + else if (KielHyreQuest == 2) { mes "[Security Guard]"; mes "I'm sorry, but if you aren't"; mes "associated with this institution,"; @@ -779,7 +779,7 @@ yuno_fild08,158,194,6 script Security Guard#1::KHAGuard 4_M_EIN_SOLDIER,{ close; } } - else if (KielHyreQuest < 32) { + else if (KielHyreQuest < 32) { mes "[Security Guard]"; mes "Oh, did you have"; mes "other business inside"; @@ -855,7 +855,7 @@ kh_school,176,60,4 script Lady#kh 4W_F_01,{ mes "in here, please leave."; close; } - else if (KielHyreQuest == 2) { + else if (KielHyreQuest == 2) { mes "[Mrs. Lecollane]"; mes "Oh, hello. Ah!"; mes "have you come to"; @@ -940,7 +940,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{ close; } cutin "kh_elly01",2; - if (KielHyreQuest < 4) { + if (KielHyreQuest < 4) { cutin "kh_elly03",2; mes "[Elly]"; mes "W-wah! Oh...!"; @@ -949,7 +949,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{ mes "again! Why do I have so much"; mes "trouble handling ingredients?"; } - else if (KielHyreQuest == 4) { + else if (KielHyreQuest == 4) { cutin "kh_elly03",2; mes "[Elly]"; mes "Oh no, what should"; @@ -1473,7 +1473,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{ } //---------------------------------------------------------------------------- -// Elly's Window +// Elly's Window //---------------------------------------------------------------------------- yuno_fild08,69,185,0 script Window#kh HIDDEN_NPC,{ if (KielHyreQuest < 29) { @@ -2184,12 +2184,11 @@ OnTouch: getitem 7490,1; //Kyll_Hire_Letter set KielHyreQuest,20; close; - } - else{ + } else { mes "^3355FFYou entered the room.^000000"; close; } - end; + end; } //---------------------------------------------------------------------------- @@ -2258,7 +2257,7 @@ kh_vila,30,184,0 script Apple Box#khp1 HIDDEN_NPC,{ mes "prevented you from"; mes "taking the box.^000000"; close; - case 2: + case 2: mes "^3355FFSomething is wrong"; mes "with this box of apples.^000000"; close; @@ -4247,7 +4246,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{ mes "the Rekenber Corporation, I'd"; mes "say it was entirely possible!"; next; - cutin "kh_Kyel03",2; + cutin "kh_Kyel03",2; mes "[Kiel Hyre]"; mes "Well played, adventurer."; mes "Well played. I don't regret"; @@ -5238,28 +5237,23 @@ yuno,257,140,4 script Odd Grandma 4_F_EINOLD,{ mes "you go? You were"; mes "supposed to come"; mes "home a while ago!"; - if (countitem(7500) < 1) { + if (countitem(7500) < 1) close; - } - else { - next; - switch(select("Allysia? Isn't she...")) { - case 1: - cutin "kh_ellisia_port",1; - mes "^3355FFYou show Allysia's"; - mes "portrait to the old woman.^000000"; - next; - cutin "",255; - mes "[Grandma]"; - mes "Oh, do you know"; - mes "Allysia? She's been"; - mes "missing! She left home"; - mes "yesterday and hasn't"; - mes "come back! C-can you"; - mes "tell me where she is?!"; - close; - } - } + next; + select("Allysia? Isn't she..."); + cutin "kh_ellisia_port",1; + mes "^3355FFYou show Allysia's"; + mes "portrait to the old woman.^000000"; + next; + cutin "",255; + mes "[Grandma]"; + mes "Oh, do you know"; + mes "Allysia? She's been"; + mes "missing! She left home"; + mes "yesterday and hasn't"; + mes "come back! C-can you"; + mes "tell me where she is?!"; + close; } else if (KielHyreQuest >= 60) { mes "[Grandma]"; @@ -5371,9 +5365,9 @@ yuno,250,132,0 script Old Lady#kh 4_F_05,{ } else if ((KielHyreQuest == 58) && - (countitem(7499) < 1) || - (countitem(7500) < 1) || - (countitem(7501) < 1) || + (countitem(7499) < 1) || + (countitem(7500) < 1) || + (countitem(7501) < 1) || (countitem(7502) < 1)) { mes "[Old Lady]"; mes "Please hurry and find"; @@ -5386,9 +5380,9 @@ yuno,250,132,0 script Old Lady#kh 4_F_05,{ } else if ((KielHyreQuest == 58) && - (countitem(7499) == 1) && - (countitem(7500) == 1) && - (countitem(7501) == 1) && + (countitem(7499) == 1) && + (countitem(7500) == 1) && + (countitem(7501) == 1) && (countitem(7502) == 1)) { mes "[Old Lady]"; mes "Oh, you're finished"; @@ -5426,7 +5420,7 @@ yuno,250,132,0 script Old Lady#kh 4_F_05,{ mes "Allysia's body in the river,"; mes "so he might have a better"; mes "idea of what had happened."; - delitem 7498,1; //Rosimier_Key + delitem 7498,1; //Rosimier_Key set KielHyreQuest,60; close; } @@ -5913,7 +5907,7 @@ kh_kiehl01,17,39,0 script Receiver#kh HIDDEN_NPC,{ } OnMyMobDead: - if (mobcount("kh_kiehl01","Receiver#kh::OnMyMobDead") <1) { + if (mobcount("kh_kiehl01","Receiver#kh::OnMyMobDead") <1) { makeitem 7506,1,"this",19,36; } end; @@ -6292,9 +6286,9 @@ kh_kiehl01,15,179,0 script Robots#kh1 HIDDEN_NPC,{ } OnMyMobDead: - if (mobcount("kh_kiehl01","Robots#kh1::OnMyMobDead") < 1) { + if (mobcount("kh_kiehl01","Robots#kh1::OnMyMobDead") < 1) { makeitem 7506,1,"this",18,180; - } + } end; } @@ -6338,8 +6332,8 @@ kh_kiehl01,166,187,0 script Big Door#BigDoorKHQ5 HIDDEN_NPC,{ monster "kh_kiehl01",163,179,"Aliot",1740,1; monster "kh_kiehl01",169,183,"Alicel",1739,1; monster "kh_kiehl01",169,179,"Aliot",1740,1; - if (@KHDoorPushAttempt >= 3) { - set KielHyreQuest,86; + if (@KHDoorPushAttempt >= 3) { + set KielHyreQuest,86; } end; } @@ -7035,8 +7029,8 @@ kh_kiehl02,1,1,0 script KiehlRoom -1,{ OnKiehlMobDead: set .KHKilled,.KHKilled+1; - if (.KHKilled == 5) { - hideoffnpc "Kiehl#Original"; + if (.KHKilled == 5) { + hideoffnpc "Kiehl#Original"; } end; @@ -7057,7 +7051,7 @@ OnReset: hideonnpc "Agent#KHAgent3"; hideonnpc "Agent#KHAgent4"; hideonnpc "Kiehl#Copy"; - hideoffnpc "Kiehl#Original"; + hideoffnpc "Kiehl#Original"; set .KHKilledBoss,0; set .KHKilled,0; set getvariableofnpc(.KHTrapSprung,"Kiehl_Room_Trap"),0; @@ -7114,7 +7108,7 @@ OnInit: //============================================================ //= 1.0 First version, needs testing [Playtester] //= 1.1 Copied over some changes made by -Tsuyuki- [L0ne_W0lf] -//= Reworked variables slightly so that the permenents ones aside from the +//= Reworked variables slightly so that the permenents ones aside from the //= main tracking variable, are deleted when no longer needed. Renamed //= several variables that handle strings to @KHInput$. [L0ne_W0lf] //= 1.2 Removed duplicate NPCs. [Toms] @@ -7135,7 +7129,7 @@ OnInit: //= Corrected not deleting Allysia's Ring from inventory. //= 1.9 Exit will now enable if you are just retrieving the Ring, keeps you from getting stuck. [L0ne_W0lf] //= Corrected "KH_Kielh02", was setting off a debug, invalid map index. Should have been "kh_Kiehl02" -//= Made .KHQuestBusy$ into a temp global variable. $@KHQuestBusy$. +//= Made .KHQuestBusy$ into a temp global variable. $@KHQuestBusy$. //= 2.0 Changed the labels on the "Big Doors" to "Identifier Names" to prevent an error with using getvariableofnpc [L0ne_W0lf] //= 2.1 Fifth door now checks for a variable HIGHER or EQUAL to 74 not 84, as pointed out by Stollen. [L0ne_W0lf] //= 2.2 Another fix for Elly, no longer RESETS to 26 when you talk to her. [L0ne_W0lf] @@ -7151,7 +7145,7 @@ OnInit: //= Fixed typo in the second NPC that gives Black Keycards. //= Added Monster Warps. (Keeps monsters from being in dungeon quest area.) [Non-functional] //= 2.6 Stupid mistake, accidentally had 4 copies of the same script in 1... [L0ne_W0lf the bonehead] -//= 2.7 Fixed the wrong name being displayed for Kiel Hyre in one dialog. +//= 2.7 Fixed the wrong name being displayed for Kiel Hyre in one dialog. //= Removed $@KH_DoorInvoker entirely. The quest is now working like it should according to iRO. //= Fixed up a few more NPC headers. Facing direction fixes mostly this time. //= More progression changes to Kiehl Hyre. He no longer stops dialog after the agents appear. |