summaryrefslogtreecommitdiff
path: root/npc/quests/kiel_hyre_quest.txt
diff options
context:
space:
mode:
authorMichieru <michieru@0-mail.com>2013-10-24 12:10:43 +0200
committerMichieru <michieru@0-mail.com>2013-10-24 12:10:43 +0200
commite3afdc2af4c5e50c79237ee092e25f39b7428e47 (patch)
tree20cfd05dd6fc2e3e53173ef059f045cee1526d58 /npc/quests/kiel_hyre_quest.txt
parent491892212d338903179909b89a5bfc2385e52261 (diff)
downloadhercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.gz
hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.bz2
hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.xz
hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.zip
Update to last rAthena npc.
Fix some typos change sc_bleeding to -> sc_blooding Updated RE EXP for quests_brasilis.txt
Diffstat (limited to 'npc/quests/kiel_hyre_quest.txt')
-rw-r--r--npc/quests/kiel_hyre_quest.txt197
1 files changed, 71 insertions, 126 deletions
diff --git a/npc/quests/kiel_hyre_quest.txt b/npc/quests/kiel_hyre_quest.txt
index 2940951fe..32db582b8 100644
--- a/npc/quests/kiel_hyre_quest.txt
+++ b/npc/quests/kiel_hyre_quest.txt
@@ -3,12 +3,10 @@
//===== By: ==================================================
//= L0ne_W0lf (Script), DZeroX (Timer)
//===== Current Version: =====================================
-//= 4.6
-//===== Compatible With: =====================================
-//= Hercules
+//= 4.7
//===== Description: =========================================
//= Quest for opening Robot Factory first and second floors.
-//===== Comments: ============================================
+//===== Additional Comments: =================================
//= 4.0 A whole bunch-a-updates to various npcs. [L0ne_W0lf]
//= Corrected condition checks throughout the quest.
//= Npcs no longer make use of the goto command.
@@ -31,7 +29,8 @@
//= 4.4 Updated reviecer and robots NPC to use mobcount. (bugreport:2380) [L0ne_W0lf]
//= 4.5 Removed a delitem that was no logner needed. [L0en_W0lf]
//= 4.6 Fixed impossible condition for security guard. [L0ne_W0lf]
-//============================================================
+//= 4.7 Updated RE/Pre-RE EXP. [Euphy]
+//============================================================
//============================================================================
// Kiel Hyre Quest/Robotic Lab Dungeon
@@ -413,7 +412,7 @@ yuno_in01,35,179,4 script Pub Master#kh 46,5,5,{
mes "Thank you so much";
mes "for helping me out~";
getitem 7487,1; //Tavern_Wine
- set zeny,zeny+1000;
+ set Zeny, Zeny+1000;
close;
}
else {
@@ -977,7 +976,7 @@ kh_school,179,39,0 script Cute Student#kh 895,{
mes "Thank you! Thanks so much!";
next;
break;
- Case 2:
+ case 2:
mes "[Elly]";
mes "Wait, you don't go";
mes "to this school, don't";
@@ -1959,8 +1958,6 @@ yuno_fild08,71,170,0 script Grave#kh 111,{
}
//============================================================================
-
-//============================================================================
//Kiel Hyre Cottage NPCs
//============================================================================
@@ -2125,10 +2122,6 @@ kh_vila,191,14,0 script Wall#kh 139,1,1,{
close;
}
}
-
-OnOpenDoor:
- misceffect 316;
- end;
}
//----------------------------------------------------------------------------
@@ -2149,8 +2142,8 @@ kh_vila,184,20,0 script Book#kh1::BookKHQ1 111,{
mes "pull it towards you, the";
mes "wall slides opens open";
mes "to reveal a secret path.^000000";
- donpcevent "Wall#kh::OnOpenDoor";
set KielHyreQuest,28;
+ specialeffect EF_READYPORTAL2,AREA,"Wall#kh";
close;
}
else {
@@ -2163,11 +2156,8 @@ kh_vila,184,20,0 script Book#kh1::BookKHQ1 111,{
}
}
-
kh_vila,181,20,0 duplicate(BookKHQ1) Book#kh2 111
-
kh_vila,178,20,0 duplicate(BookKHQ1) Book#kh3 111
-
kh_vila,175,19,0 duplicate(BookKHQ1) Book#kh4 111
//----------------------------------------------------------------------------
@@ -2216,7 +2206,7 @@ kh_vila,16,175,0 script Box#khp1 111,{
next;
switch(select("Buy!:Cancel")) {
case 1:
- if (zeny < 1100) {
+ if (Zeny < 1100) {
mes "^3355FFUnfortunately, you";
mes "don't have enough";
mes "zeny to insert into";
@@ -2236,7 +2226,7 @@ kh_vila,16,175,0 script Box#khp1 111,{
mes "special about it";
mes "at all! It's just";
mes "normal Pet Food!";
- set zeny,zeny-1100;
+ set Zeny, Zeny-1100;
getitem 537,1; //Pet_Food
close;
}
@@ -3254,8 +3244,6 @@ kh_vila,185,68,0 script Test Tube::TestTubeKHQ2 111,{
}
//============================================================================
-
-//============================================================================
// Robot Factory NPCs
//============================================================================
@@ -3816,8 +3804,6 @@ kh_dun01,44,203,0 script Entrance Device#khd2::KHAccess 111,{
kh_dun01,36,195,0 duplicate(KHAccess) Entrance Device#khd1 111
//============================================================================
-
-//============================================================================
// Kiel Hyre Mansion NPCs, and Kiehl's Room NPCs
//============================================================================
@@ -4054,7 +4040,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 903,{
mes "a little reward for";
mes "saving my life.";
getitem 12105,1; //Taming_Gift_Set
- getexp 70000,0;
+ getexp (checkre(3))?70000:700000,0;
set KielHyreQuest,50;
}
else if ((KielHyreQuest >= 50) && (KielHyreQuest < 64)) {
@@ -4667,7 +4653,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 903,{
getitem 7509,1; //Fancy_Key_Card
set KielHyreQuest,108;
next;
- if (sex == 0) {
+ if (Sex == 0) {
if (getpartnerid() == 0) set .@KHTitle$,"Miss";
else set .@KHSTitle$,"Mrs";
}
@@ -4679,9 +4665,9 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 903,{
mes "and here, please take this";
mes "with my thanks for all of";
mes "your help, "+.@KHTitle$+" "+strcharinfo(0)+".";
- getitem 616,1; //Old card Album
+ getitem 616,1; //Old Card Album
delitem 7508,1; //Elysia_Ring
- getexp 100000,0;
+ getexp (checkre(3))?100000:1000000,0;
}
else if (KielHyreQuest >= 108) {
mes "[Kiel Hyre]";
@@ -5177,12 +5163,12 @@ OnTouch:
OnEnable:
initnpctimer;
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
end;
OnTimer30000:
stopnpctimer;
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
disablenpc "Kiehl_Room_Warp";
end;
@@ -5192,8 +5178,6 @@ OnInit:
}
//============================================================================
-
-//============================================================================
// Rosimier NPCs and other Related NPCs
//============================================================================
@@ -6088,7 +6072,7 @@ kh_kiehl01,44,33,0 script Big Door#BigDoorKHQ1 111,{
kh_kiehl01,43,33,0 script Big_Door_1_Warp 45,1,1,{
OnEnable:
initnpctimer;
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
end;
OnInit:
@@ -6097,7 +6081,7 @@ OnInit:
OnTimer30000:
stopnpctimer;
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
disablenpc "Big_Door_1_Warp";
set getvariableofnpc(.KHDoor1Opened,"Big Door#BigDoorKHQ1"),0;
end;
@@ -6148,7 +6132,7 @@ kh_kiehl01,174,40,0 script Big Door#BigDoorKHQ2 111,{
kh_kiehl01,174,39,0 script Big_Door_2_Warp 45,1,1,{
OnEnable:
initnpctimer;
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
end;
OnInit:
@@ -6157,7 +6141,7 @@ OnInit:
OnTimer30000:
stopnpctimer;
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
disablenpc "Big_Door_2_Warp";
set getvariableofnpc(.KHDoor2Opened,"Big Door#BigDoorKHQ2"),0;
end;
@@ -6208,7 +6192,7 @@ kh_kiehl01,77,108,0 script Big Door#BigDoorKHQ3 111,{
kh_kiehl01,78,108,0 script Big_Door_3_Warp 45,1,1,{
OnEnable:
initnpctimer;
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
end;
OnInit:
@@ -6217,7 +6201,7 @@ OnInit:
OnTimer30000:
stopnpctimer;
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
disablenpc "Big_Door_3_Warp";
set getvariableofnpc(.KHDoor3Opened,"Big Door#BigDoorKHQ3"),0;
end;
@@ -6268,7 +6252,7 @@ kh_kiehl01,42,177,0 script Big Door#BigDoorKHQ4 111,{
kh_kiehl01,41,177,0 script Big_Door_4_Warp 45,1,1,{
OnEnable:
initnpctimer;
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
end;
OnInit:
@@ -6277,7 +6261,7 @@ OnInit:
OnTimer30000:
stopnpctimer;
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
disablenpc "Big_Door_4_Warp";
set getvariableofnpc(.KHDoor4Opened,"Big Door#BigDoorKHQ4"),0;
end;
@@ -6479,12 +6463,12 @@ kh_kiehl01,166,186,0 script Big_Door_5_Warp 45,1,1,{
OnEnable:
initnpctimer;
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
end;
OnTimer30000:
stopnpctimer;
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
disablenpc "Big_Door_5_Warp";
set getvariableofnpc(.KHDoor5Opened,"Big Door#BigDoorKHQ5"),0;
end;
@@ -6712,9 +6696,13 @@ kh_kiehl02,50,52,4 script Kiehl#Original 902,{
mes "jobs--sort of like robots-- but";
mes "don't worry, they won't be hurt.";
next;
- donpcevent "::OnKHSpiderWeb";
mes "[Mitchell]";
mes "Nooooo!";
+ specialeffect PF_FOGWALL,AREA,"Mitchell#KiehlRoom";
+ specialeffect PF_FOGWALL,AREA,"Agent#KHAgent1";
+ specialeffect PF_FOGWALL,AREA,"Agent#KHAgent2";
+ specialeffect PF_FOGWALL,AREA,"Agent#KHAgent3";
+ specialeffect PF_FOGWALL,AREA,"Agent#KHAgent4";
next;
cutin "kh_kiel03",2;
mes "[Kiehl]";
@@ -7078,63 +7066,18 @@ OnReset:
}
//----------------------------------------------------------------------------
-// Kiehl's Room; Mitchell and Agents. (Floating NPC + Duplicates)
+// Kiehl's Room; Mitchell and Agents.
//----------------------------------------------------------------------------
kh_kiehl02,49,55,6 script Mitchell#KiehlRoom 727,{
end;
OnInit:
- hideonnpc "Mitchell#KiehlRoom";
- end;
-
-OnKHSpiderWeb:
- misceffect 404;
+ hideonnpc strnpcinfo(0);
end;
}
-
-kh_kiehl02,53,52,4 script Agent#KHAgent1 880,{
- end;
-OnInit:
- hideonnpc "Agent#KHAgent1";
- end;
-
-OnKHSpiderWeb:
- misceffect 404;
- end;
-}
-
-kh_kiehl02,51,49,1 script Agent#KHAgent2 880,{
- end;
-OnInit:
- hideonnpc "Agent#KHAgent2";
- end;
-
-OnKHSpiderWeb:
- misceffect 404;
- end;
-}
-
-kh_kiehl02,47,50,0 script Agent#KHAgent3 880,{
- end;
-OnInit:
- hideonnpc "Agent#KHAgent3";
- end;
-
-OnKHSpiderWeb:
- misceffect 404;
- end;
-}
-
-kh_kiehl02,46,53,6 script Agent#KHAgent4 880,{
- end;
-OnInit:
- hideonnpc "Agent#KHAgent4";
- end;
-
-OnKHSpiderWeb:
- misceffect 404;
- end;
-}
-
+kh_kiehl02,53,52,4 duplicate(Mitchell#KiehlRoom) Agent#KHAgent1 880
+kh_kiehl02,51,49,1 duplicate(Mitchell#KiehlRoom) Agent#KHAgent2 880
+kh_kiehl02,47,50,0 duplicate(Mitchell#KiehlRoom) Agent#KHAgent3 880
+kh_kiehl02,46,53,6 duplicate(Mitchell#KiehlRoom) Agent#KHAgent4 880
//----------------------------------------------------------------------------
// Kiehl's Room; Copy of Kiehl.
@@ -7158,7 +7101,7 @@ OnTouch:
end;
OnEnable:
- misceffect 215;
+ specialeffect EF_SUMMONSLAVE;
end;
OnInit:
@@ -7166,59 +7109,60 @@ OnInit:
end;
}
-//============================================================================
-//===== Additional Comments: ============================================
+//============================================================
+// Old changelog
+//============================================================
//= 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
-//= main tracking variable, are deleted when no longer needed. Renamed
-//= several variables that handle strings to @KHInput$. [L0ne_W0lf]
+//= 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]
//= 1.3 More Bug fixes, fixed typo. Updated Additional comments. [L0ne_W0lf]
//= 1.4 Fixed doors not resetting in kh_kiehl01 after 30 second timer is up. [L0ne_W0lf]
//= 1.5 Another bug fixed (&& instead of ||). [L0ne_W0lf]
//= 1.6 More squashed bugs with if checking. [L0ne_W0lf]
//= 1.7 Corrected some spelling mistakes. [Balish]
-// Corrected Exploit with the pub man, giving infinite wine and money.
-// Corrected pool and map not showing text for some states of the quest.
-// Corrected Elly showing cutin but not text for some states of the quest (causing players to log off to continue).
-// Let fisherman talk to you when you have 10 fishes OR MORE.
-// Corrected not letting you enter the tombstone after finishing the quest.
+//= Corrected Exploit with the pub man, giving infinite wine and money.
+//= Corrected pool and map not showing text for some states of the quest.
+//= Corrected Elly showing cutin but not text for some states of the quest (causing players to log off to continue).
+//= Let fisherman talk to you when you have 10 fishes OR MORE.
+//= Corrected not letting you enter the tombstone after finishing the quest.
//= 1.8 Elly now deletes the Iron_Box, and Kiel Hyre deletes the Pin. [L0ne_W0lf]
-//= More security on the 5th Big Door, now makes sure no one outside of who-
-//= acticated it initially can use it. Resets after 10 minutes to make it.
-//= Made it so that you need to be at least step 84 to activate the final door.
-//= Corrected not deleting Allysia's Ring from inventory.
+//= More security on the 5th Big Door, now makes sure no one outside of who-
+//= acticated it initially can use it. Resets after 10 minutes to make it.
+//= Made it so that you need to be at least step 84 to activate the final door.
+//= 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$.
+//= Corrected "KH_Kielh02", was setting off a debug, invalid map index. Should have been "kh_Kiehl02"
+//= 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]
//= 2.3 Should NOT have been setting .KHQuestBusy at all. It's not used or accessed anymore. Removed. [L0ne_W0lf]
//= 2.4 Lots of fixes (4ish) from Valandi. [L0ne_W0lf]
-//= Added a getmapuser check to the mapwarp in KHTimerEnd so it's not trying to warp out 0 users. [L0ne_W0lf]
+//= Added a getmapuser check to the mapwarp in KHTimerEnd so it's not trying to warp out 0 users. [L0ne_W0lf]
//= 2.5 Fixed several small issues (and large one) such as typos in cutins, typos in dialog, etc. [L0ne_W0lf]
-//= Added some of the missing dialogs for several NPCs, and fixed a few NPC locations.
-//= ALL books can now trigger the wall.
-//= Allysia will now summon 4 (was 2) G_CONSTANTS instead of REGULAR constants.
-//= Fixed where Golden_Key and Kiel_Button are deleted.
-//= Removed KHTimerEnd, and instead use OnReset.
-//= Fixed typo in the second NPC that gives Black Keycards.
-//= Added Monster Warps. (Keeps monsters from being in dungeon quest area.) [Non-functional]
+//= Added some of the missing dialogs for several NPCs, and fixed a few NPC locations.
+//= ALL books can now trigger the wall.
+//= Allysia will now summon 4 (was 2) G_CONSTANTS instead of REGULAR constants.
+//= Fixed where Golden_Key and Kiel_Button are deleted.
+//= Removed KHTimerEnd, and instead use OnReset.
+//= 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.
-//= 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.
+//= 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.
//= 2.8 Fixed the weight checking in Vandt, and added official dialog. [L0ne_W0lf]
-//= Added weight checks for all NPCs that give items. Semi-official dialog.
-//= Got the missing portion of dialog for Mills'.
-//= Will add further proper dialogs as I get to them on the second runthrough of the quest.
+//= Added weight checks for all NPCs that give items. Semi-official dialog.
+//= Got the missing portion of dialog for Mills'.
+//= Will add further proper dialogs as I get to them on the second runthrough of the quest.
//= 2.8a minor optimization with extra goto, else or empty switch [Lupus]
//= 2.9 Fixed the "enablenpc" problem with the missing spaces. No idea how it happened. [L0ne_W0lf]
//= 3.0 Fixed a typo in Elly, in her room. (was <= should have been <) [L0ne_W0lf]
-//= Added an 'end;' to the cookie basket. Kiel Hyre's final dialog will now delete all quest-related items.
+//= Added an 'end;' to the cookie basket. Kiel Hyre's final dialog will now delete all quest-related items.
//= 3.1 Moved the "delitem" for all related quest items to the proper NPC. [L0ne_W0lf]
//= 3.2 Fixed error with Allysia teling you to "Go away." maybe. [L0ne_W0lf]
//= 3.2b Fixed some typos and grammar mistakes. [SinSloth]
@@ -7228,7 +7172,8 @@ OnInit:
//= for items, should be used bitwise methods in a single variable. So let's fix the rest possible bugs (if they exist) and then optimize ^_-
//= 3.5 Changed the way the Black Keycard distibuting NPCs work slighty. [L0ne_W0lf]
//= 3.6 Keil Hyre removes ALL outstanding quest items when he is talked [L0ne_W0lf]
-//= to after finishing the quest.
+//= to after finishing the quest.
//= 3.7 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
//= 3.8 Corrected some delitems. (bugreport:690) [Samuray22]
//= 3.9 Fixed a cutin not being erased. (bugreport:1539) [L0ne_W0lf]
+//============================================================