summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-10-07 20:41:37 -0300
committershennetsind <ind@henn.et>2013-10-07 20:41:37 -0300
commite28ee66714adce23b96082197f2ac0a675f0e3c2 (patch)
tree27c033f489e2ee07971e16a74db19ec78f8ce86b /npc
parentb64a63f10228cb314aefa10dffc63a1bd3e4cc36 (diff)
downloadhercules-e28ee66714adce23b96082197f2ac0a675f0e3c2.tar.gz
hercules-e28ee66714adce23b96082197f2ac0a675f0e3c2.tar.bz2
hercules-e28ee66714adce23b96082197f2ac0a675f0e3c2.tar.xz
hercules-e28ee66714adce23b96082197f2ac0a675f0e3c2.zip
RE El Dicastes Quest Update
Changelog: 2.1 Added reset option to "Kareka". [Euphy] 2.2 Added Izlude duplicates. [Euphy] 2.3 Added GM management NPCs. [Euphy] Closes #146 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'npc')
-rw-r--r--npc/re/quests/quests_dicastes.txt325
1 files changed, 178 insertions, 147 deletions
diff --git a/npc/re/quests/quests_dicastes.txt b/npc/re/quests/quests_dicastes.txt
index 6b1101169..fc841fb88 100644
--- a/npc/re/quests/quests_dicastes.txt
+++ b/npc/re/quests/quests_dicastes.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Gennosuke Kouga, Muad_Dib
//===== Current Version: =====================================
-//= 2.0
+//= 2.3
//===== Compatible With: =====================================
//= Hercules
//===== Description: =========================================
@@ -29,6 +29,9 @@
//= 1.9 Updated "Fish Tails" with RE coordinates.
//= 1.9a Minor fix. [Joseph]
//= 2.0 Fixed variables. [Joseph]
+//= 2.1 Added reset option to "Kareka". [Euphy]
+//= 2.2 Added Izlude duplicates. [Euphy]
+//= 2.3 Added GM management NPCs. [Euphy]
//============================================================
// Entrance
@@ -63,114 +66,113 @@ manuk,321,182,5 script Entrance Manager#ep133 450,{
}
dic_dun01,266,113,5 script Curious Sapha#ep13_3_ 449,{
+ if (!isequipped(2782)) {
+ mes "[Curious Sapha]";
+ mes "¡ö¡ñ¡Ð ¡ò ¡õ?";
+ next;
+ mes "- Cannot understand a word. -";
+ close;
+ }
mes "[Curious Sapha]";
- if (isequipped(2782)) {
- mes "Hello?";
+ mes "Hello?";
+ next;
+ switch(select("What are you doing here?:Buy research items.:Hello!:I want to help your research.")) {
+ case 1:
+ mes "[Curious Sapha]";
+ mes "Do you see that dirty vigilante over there?";
next;
- switch(select("What are you doing here?:Buy research items.:Hello!:I want to help your research.")) {
- case 1:
- mes "[Curious Sapha]";
- mes "Do you see that dirty vigilante over there?";
- next;
- mes "[Curious Sapha]";
- mes "He was attacked by Scarabas after falling into Scaraba Hall.";
- mes "And he was the only one attacked even with others around him.";
- next;
- mes "[Curious Sapha]";
- mes "I think he slipped and fell on some secretion of the Queen Scaraba. I thought it was an accident was looking into it.";
- next;
- mes "[Curious Sapha]";
- mes "If the research results are correct, the Scarabas are very sensitive to the smell.";
- mes "Or else say they go crazy over it. Almost as if they were losing it...";
- next;
- mes "[Curious Sapha]";
- mes "I came to research the relationship between the Queen secretion component and the Scarabas.";
- mes "So I created this into a perfume to carry it easily.";
- next;
- mes "[Curious Sapha]";
- mes "I might be able to use this perfume's reaction to Scarabas and make progress in research.";
- close;
- case 2:
- if (!checkweight(1201,1)) {
- mes "[Curious Sapha]";
- mes "You don't seem to have enough space.";
- close;
- }
- if ((MaxWeight - Weight) < 2000) {
- mes "[Curious Sapha]";
- mes "Your bags already seem too heavy.";
- close;
- }
- mes "[Curious Sapha]";
- mes "You want to buy the Scaraba Perfume? A gift for home?";
- mes "Well, it has become a rare perfume.";
- next;
- mes "[Curious Sapha]";
- mes "I'll give you a deal and sell it by 500 Zeny each. But, try not to carry it with you into Scaraba Hall.";
- mes "How many do you want? You can buy up to 100.";
- next;
- input .@input;
- set .@deal, 500 * .@input;
- if (.@deal == 0) {
- mes "[Curious Sapha]";
- mes "You changed your mind?";
- close;
- }
- if (Zeny < .@deal) {
- mes "[Curious Sapha]";
- mes "You don't have enough money.";
- close;
- }
- mes "[Curious Sapha]";
- mes "Will you buy "+.@input+"?";
- next;
- if(select("Yes:No") == 2) {
- mes "[Curious Sapha]";
- mes "You changed your mind?";
- close;
- }
- set Zeny, Zeny - .@deal;
- getitem 6437,.@input; //Scaraba_Perfume
- mes "[Curious Sapha]";
- mes "Here you go. Scaraba might flock around you so don't use it near Scaraba Hall.";
- close;
- case 3:
- mes "[Curious Sapha]";
- mes "Hello? You must be a traveler. This place is dangerous so please find your way out of this tunnel.";
- close;
- case 4:
- mes "[Curious Sapha]";
- mes "Do you have any useful information?";
- mes "Please let me know!";
- input .@str$;
- next;
- mes "[Curious Sapha]";
- mes "It says ^0000FF"+.@str$+"^000000.";
- next;
- set .@his_rd_ms, rand(1,3);
- if (.@his_rd_ms == 1) {
- mes "[Curious Sapha]";
- mes "That is great information!";
- mes "I must start on the research.";
- close;
- }
- else if (.@his_rd_ms == 2) {
- mes "[Curious Sapha]";
- mes "I already know about that information but I'm really grateful for you to come all the way here to tell me.";
- close;
- }
- else {
- mes "[Curious Sapha]";
- mes "Hmm... do you think so?";
- mes "I have some doubts about your information. I'll think it over.";
- close;
- }
+ mes "[Curious Sapha]";
+ mes "He was attacked by Scarabas after falling into Scaraba Hall.";
+ mes "And he was the only one attacked even with others around him.";
+ next;
+ mes "[Curious Sapha]";
+ mes "I think he slipped and fell on some secretion of the Queen Scaraba. I thought it was an accident was looking into it.";
+ next;
+ mes "[Curious Sapha]";
+ mes "If the research results are correct, the Scarabas are very sensitive to the smell.";
+ mes "Or else say they go crazy over it. Almost as if they were losing it...";
+ next;
+ mes "[Curious Sapha]";
+ mes "I came to research the relationship between the Queen secretion component and the Scarabas.";
+ mes "So I created this into a perfume to carry it easily.";
+ next;
+ mes "[Curious Sapha]";
+ mes "I might be able to use this perfume's reaction to Scarabas and make progress in research.";
+ close;
+ case 2:
+ if (checkweight(1201,1) == 0) {
+ mes "[Curious Sapha]";
+ mes "You don't seem to have enough space.";
+ close;
+ }
+ if (MaxWeight - Weight < 2000) {
+ mes "[Curious Sapha]";
+ mes "Your bags already seem too heavy.";
+ close;
+ }
+ mes "[Curious Sapha]";
+ mes "You want to buy the Scaraba Perfume? A gift for home?";
+ mes "Well, it has become a rare perfume.";
+ next;
+ mes "[Curious Sapha]";
+ mes "I'll give you a deal and sell it by 500 Zeny each. But, try not to carry it with you into Scaraba Hall.";
+ mes "How many do you want? You can buy up to 100.";
+ next;
+ input .@input;
+ set .@deal, 500 * .@input;
+ if (.@deal == 0) {
+ mes "[Curious Sapha]";
+ mes "You changed your mind?";
+ close;
+ }
+ if (Zeny < .@deal) {
+ mes "[Curious Sapha]";
+ mes "You don't have enough money.";
+ close;
+ }
+ mes "[Curious Sapha]";
+ mes "Will you buy "+.@input+"?";
+ next;
+ if(select("Yes:No") == 2) {
+ mes "[Curious Sapha]";
+ mes "You changed your mind?";
+ close;
+ }
+ set Zeny, Zeny - .@deal;
+ getitem 6437,.@input; //Scaraba_Perfume
+ mes "[Curious Sapha]";
+ mes "Here you go. Scaraba might flock around you so don't use it near Scaraba Hall.";
+ close;
+ case 3:
+ mes "[Curious Sapha]";
+ mes "Hello? You must be a traveler. This place is dangerous so please find your way out of this tunnel.";
+ close;
+ case 4:
+ mes "[Curious Sapha]";
+ mes "Do you have any useful information?";
+ mes "Please let me know!";
+ input .@str$;
+ next;
+ mes "[Curious Sapha]";
+ mes "It says ^0000FF"+.@str$+"^000000.";
+ next;
+ switch(rand(1,3)) {
+ case 1:
+ mes "[Curious Sapha]";
+ mes "That is great information!";
+ mes "I must start on the research.";
+ close;
+ case 2:
+ mes "[Curious Sapha]";
+ mes "I already know about that information but I'm really grateful for you to come all the way here to tell me.";
+ close;
+ case 3:
+ mes "[Curious Sapha]";
+ mes "Hmm... do you think so?";
+ mes "I have some doubts about your information. I'll think it over.";
+ close;
}
}
- mes "¡ö¡ñ¡Ð ¡ò ¡õ?";
- next;
- mes "- Cannot understand a word. -";
- close;
}
// Vigilantes
@@ -262,7 +264,7 @@ dic_dun01,284,102,5 script Dirty Vigilante#ep13_3 450,{
next;
if (select("Enter after spraying perfume.:Do not enter because it's dangerous.") == 1) {
if (!countitem(6437)) {
- mes "- You Scaraba Perfume disappeared. -";
+ mes "- Your Scaraba Perfume disappeared. -";
close;
}
mes "[Vigilante]";
@@ -279,7 +281,7 @@ dic_dun01,284,102,5 script Dirty Vigilante#ep13_3 450,{
close;
}
mes "[Vigilante]";
- mes "Phew, what happened?! Why are they all over me";
+ mes "Phew, what happened?! Why are they all over me?";
next;
mes "[Vigilante]";
mes "I already had bad luck in falling into Scaraba Hall and being drenched with this awful ^FF0000stench^000000 my head is starting to ache!";
@@ -423,7 +425,6 @@ dic_in01,254,119,0 script Item Storage#01 844,{
// Civil Services
//============================================================
-
function script que_dic {
if (!getarg(0)) {
if (checkquest(getarg(1),HUNTING) != 2) return;
@@ -983,7 +984,6 @@ dic_in01,40,193,1 script Papyrus#0001 453,{
// Document Packages
//============================================================
-
- script Document Package#main -1,{
function eldicastes_dp;
if (isequipped(2782) < 1) {
@@ -1091,7 +1091,6 @@ dic_in01,25,187,0 duplicate(Document Package#main) Document Package#0004 844
// Unknown Relics
//============================================================
-
function script unknown_d {
if (checkquest(getarg(0)) == -1) {
mes "You see some traces of digging.";
@@ -1119,7 +1118,11 @@ pay_fild02,105,113,0 script Pointed Scales 844,{ unknown_d(12170,906); }
pay_fild01,152,171,0 script Resin 844,{ unknown_d(12171,907); }
gef_fild01,104,111,0 script Spawn 844,{ unknown_d(12172,908); }
prt_fild08,299,332,0 script Jellopy 844,{ unknown_d(12173,909); }
-izlude,136,160,0 script Fish Tails 844,{ unknown_d(12174,1023); } // Pre-RE: izlude (132,136)
+izlude,136,160,0 script Fish Tails 844,{ unknown_d(12174,1023); } // Old coordinates: (132,136)
+izlude_a,136,160,0 script Fish Tails#a 844,{ unknown_d(12174,1023); }
+izlude_b,136,160,0 script Fish Tails#b 844,{ unknown_d(12174,1023); }
+izlude_c,136,160,0 script Fish Tails#c 844,{ unknown_d(12174,1023); }
+izlude_d,136,160,0 script Fish Tails#d 844,{ unknown_d(12174,1023); }
prt_fild05,303,169,0 script Worm Peelings 844,{ unknown_d(12175,955); }
iz_dun03,155,165,0 script Gills 844,{ unknown_d(12176,956); }
mjo_dun01,222,226,0 script Tooth of Bat 844,{ unknown_d(12177,913); }
@@ -3355,10 +3358,8 @@ dicastes01,225,211,3 script Tragis#pa0829 453,{
// Doha's Secret Orders
//============================================================
-
mid_campin,168,170,3 script Inspector Doha#ep133 59,{
-// if ((GetInventoryRemainCount 1301 3 == 2) || (GetInventoryRemainCount 1301 3 == 3)) {
- if ((MaxWeight - Weight) < 1000) {
+ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
mes "- You can too many items to proceed with the quest. -";
close;
}
@@ -3646,11 +3647,11 @@ dic_in01,245,119,4 script Shay#ep133_13 884,{
cutin "ep13_shy",2;
mes "[Shay]";
switch (rand(1,5)) {
- Case 1: mes ".. Burman Flone."; break;
- Case 2: mes "What?"; break;
- Case 3: mes "Boring. What is it?"; break;
- Case 4: mes "Sigh... Ready to order?"; break;
- Case 5:
+ case 1: mes ".. Burman Flone."; break;
+ case 2: mes "What?"; break;
+ case 3: mes "Boring. What is it?"; break;
+ case 4: mes "Sigh... Ready to order?"; break;
+ case 5:
mes "Another failure?.";
mes "I'm talking to myself. Don't bother.";
mes "What do you want?";
@@ -5128,7 +5129,7 @@ dic_in01,165,104,0 script Frede#13_3_in 454,{
mes "Maybe......they forgot?";
next;
mes "[Frede]";
- mes "Oh.. what should I do......";
+ mes "Oh... what should I do......";
mes "I would run there myself if only my legs would move normally.";
next;
mes "[Frede]";
@@ -5159,7 +5160,7 @@ dic_in01,165,104,0 script Frede#13_3_in 454,{
}
else if (ep13_3_bra == 3) {
mes "[Frede]";
- mes "Oh.. what should I do......";
+ mes "Oh... what should I do......";
mes "I would run there myself if only my legs would move normally.";
next;
mes "[Frede]";
@@ -6913,7 +6914,6 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 453,{
}
// Enchantment NPCs
//============================================================
-
- script dic_enc#main -1,{
set .@re$, strnpcinfo(1);
set .@n$, "["+.@re$+"]";
@@ -6930,8 +6930,37 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 453,{
mes "[Kareka]";
mes "Do you want to upgrade the ^990099Light of El Dicastes^000000 again?";
next;
+
+ // The reset feature was disabled in previous versions.
+ //mes "[Kareka]";
+ //mes "Ha ha ha, that is out of the question. This item is very rare and valuable so I cannot give you a new one.";
+ //close;
+
+ mes "[Kareka]";
+ mes "That will cost ^9900996 Sapha Certifications^000000 in order to retry.";
+ mes "And note this, your current Light of El Dicastes will be destroyed along with all of its enchantments.";
+ next;
mes "[Kareka]";
- mes "Ha ha ha, that is out of the question. This item is very rare and valuable so I cannot give you a new one.";
+ mes "Are you sure you want to do this?";
+ next;
+ if(select("No, let me think about it.:Take my Light of El Dicastes.") == 2) {
+ if (countitem(2844) == 0 || countitem(6304) < 6) {
+ mes "[Kareka]";
+ mes "You need to bring the Light of El Dicastes and 6 Sapha Certifications!";
+ mes "Don't try to cheat me!";
+ close;
+ }
+ mes "[Kareka]";
+ mes "Ok, let's get this started.";
+ mes "I'm going to remove all enchantments from your Light of El Dicastes.";
+ mes "Haaap--!";
+ specialeffect2 EF_REPAIRWEAPON;
+ progressbar "ffff00",3;
+ delitem 6304,6; //Sapa_Feat_Cert
+ delitem 2844,1; //El_Dicastes_Light
+ getitem 2844,1; //El_Dicastes_Light
+ set ep13_3_ring2,0;
+ }
close;
}
if (countitem(6304) < 1) {
@@ -6974,21 +7003,21 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 453,{
mes .@n$;
set .@cat_hi, rand(1,30);
if (.@cat_hi == 1) mes "It is difficult to find fish here. Can't find any so Jahbong would forget that he's busy or angry at the sight of a Fish Tail.";
- if (.@cat_hi == 2) mes "Grrr... I was punished with a ladle for peeing on my blanket yesterday.";
- if (.@cat_hi == 3) mes "I dream sometimes of a giant patting me on the head. But I feel more annoyed than afraid.";
- if (.@cat_hi == 4) mes "Newbie Jarute, Ahat doesn't seem to look like a Sapha.";
- if (.@cat_hi == 5) mes "Our people say Ahat looks like a beautiful cat.";
- if (.@cat_hi == 6) mes "I heard there was a superior equipment upgrade craftsman in the capital city of Manuk.";
- if (.@cat_hi == 7) mes "Grrr... I don't think my voice sounds normal these days. I think it's the weather.";
- if (.@cat_hi == 8) mes "There are times when I shout out loud but it is only because I am in a good mood. No need to be startled.";
- if (.@cat_hi == 9) mes "I feel an urge to jump on a pile with my four paws when I see one.";
- if (.@cat_hi == 10) mes "I must have been a cat in my previous life.";
- if (.@cat_hi == 11) mes "I dreamt about the giant again. I waved my paws annoyed and he kept on patting me.";
- if (.@cat_hi == 12) mes "Yup!! Was the rumor true that Ahat looks like a human?! ";
- if (.@cat_hi == 13) mes "I heard on my way that this Pinqucula Dark has a Withered Flower.";
- if (.@cat_hi == 14) mes "There is a guy named Pinguicula nearby who has the Sharp Leaf nearby.";
- if (.@cat_hi == 15) mes "There is a guy named Pinguicula nearby who has the Great Leaf nearby.";
- if (.@cat_hi == 16) mes "I recommend getting it from the Dracos nearby. But then, they only drop it randomly so you may come back empty handed...";
+ else if (.@cat_hi == 2) mes "Grrr... I was punished with a ladle for peeing on my blanket yesterday.";
+ else if (.@cat_hi == 3) mes "I dream sometimes of a giant patting me on the head. But I feel more annoyed than afraid.";
+ else if (.@cat_hi == 4) mes "Newbie Jarute, Ahat doesn't seem to look like a Sapha.";
+ else if (.@cat_hi == 5) mes "Our people say Ahat looks like a beautiful cat.";
+ else if (.@cat_hi == 6) mes "I heard there was a superior equipment upgrade craftsman in the capital city of Manuk.";
+ else if (.@cat_hi == 7) mes "Grrr... I don't think my voice sounds normal these days. I think it's the weather.";
+ else if (.@cat_hi == 8) mes "There are times when I shout out loud but it is only because I am in a good mood. No need to be startled.";
+ else if (.@cat_hi == 9) mes "I feel an urge to jump on a pile with my four paws when I see one.";
+ else if (.@cat_hi == 10) mes "I must have been a cat in my previous life.";
+ else if (.@cat_hi == 11) mes "I dreamt about the giant again. I waved my paws annoyed and he kept on patting me.";
+ else if (.@cat_hi == 12) mes "Yup!! Was the rumor true that Ahat looks like a human?! ";
+ else if (.@cat_hi == 13) mes "I heard on my way that this Pinqucula Dark has a Withered Flower.";
+ else if (.@cat_hi == 14) mes "There is a guy named Pinguicula nearby who has the Sharp Leaf nearby.";
+ else if (.@cat_hi == 15) mes "There is a guy named Pinguicula nearby who has the Great Leaf nearby.";
+ else if (.@cat_hi == 16) mes "I recommend getting it from the Dracos nearby. But then, they only drop it randomly so you may come back empty handed...";
else mes "Hmm... This may not be important to you but.";
next;
mes .@n$;
@@ -7326,14 +7355,14 @@ dic_fild01,228,159,4 script Jahbong#pa0829 496,{
}
set .@cattalkj,rand(1,9);
if (.@cattalkj == 1) mes "Don't touch my back! I might bite you unconsciously.";
- else if (.@cattalkj == 2) mes "Pub owner Shay carried something away to make something strange! Be careful!";
- else if (.@cattalkj == 3) mes "We cats can jump 5 times our size. Isn't it cool? But then, don't ask me to jump from here now.";
- else if (.@cattalkj == 4) mes "I have to be diligent with my grooming to maintain beautiful fur.";
- else if (.@cattalkj == 5) mes "I have to groom myself everyday to maintain shiny fluffy fur. But I don't have very nice fur in the first place. Very sad.";
- else if (.@cattalkj == 6) mes "You should receive a Sapha Certification with both paws as a sign of respect. No cat deserves a certification if they don't!";
- else if (.@cattalkj == 7) mes "I don't really talk that much! Ahat looks like... meow meow meooow... sorry.";
- else if (.@cattalkj == 8) mes "Meow~~~~~~~~~~";
- else mes "Yarn is a great way to calm a cat.";
+ else if (.@cattalkj == 2) mes "Pub owner Shay carried something away to make something strange! Be careful!";
+ else if (.@cattalkj == 3) mes "We cats can jump 5 times our size. Isn't it cool? But then, don't ask me to jump from here now.";
+ else if (.@cattalkj == 4) mes "I have to be diligent with my grooming to maintain beautiful fur.";
+ else if (.@cattalkj == 5) mes "I have to groom myself everyday to maintain shiny fluffy fur. But I don't have very nice fur in the first place. Very sad.";
+ else if (.@cattalkj == 6) mes "You should receive a Sapha Certification with both paws as a sign of respect. No cat deserves a certification if they don't!";
+ else if (.@cattalkj == 7) mes "I don't really talk that much! Ahat looks like... meow meow meooow... sorry.";
+ else if (.@cattalkj == 8) mes "Meow~~~~~~~~~~";
+ else mes "Yarn is a great way to calm a cat.";
next;
mes "[Jahbong]";
mes "Why are you here?";
@@ -7393,8 +7422,10 @@ moc_para01,44,19,3 script Cat Hand Agent#gekk 496,{
if (BaseLevel < 70) {
mes "[Cat Hand Agent]";
mes "Hey, human! Did you come to make a request, too? When will it be my turn?";
+ next;
mes "[Cat Hand Agent]";
mes "Our Cat Hand Merchant group really needs any help it can get. But by the looks of all those requests that Ebenor is holding in his hand, Cat Hand Merchant will be closed by the time my request is put up on the board!";
+ next;
mes "[Cat Hand Agent]";
mes "It breaks my heart to think my colleagues will be shivering in the blizzard. I hope I don't get into trouble since I can't do anything about it, right?";
close;
@@ -7576,4 +7607,4 @@ moc_fild22b,182,179,3 script Cat Hand Agent#Tat 495,{
mes "[Tat]";
mes "Aren't you suppose to be done getting ready before you come here?";
close;
-}
+} \ No newline at end of file