summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/017-6/_import.txt2
-rw-r--r--npc/017-6/axzell.txt (renamed from npc/017-6/azwell.txt)67
2 files changed, 68 insertions, 1 deletions
diff --git a/npc/017-6/_import.txt b/npc/017-6/_import.txt
index 8dc1399cf..197e95a2e 100644
--- a/npc/017-6/_import.txt
+++ b/npc/017-6/_import.txt
@@ -1,5 +1,5 @@
// Map 017-6: LoF Alchemy Shop
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/017-6/_warps.txt",
-"npc/017-6/azwell.txt",
+"npc/017-6/axzell.txt",
"npc/017-6/sheila.txt",
diff --git a/npc/017-6/azwell.txt b/npc/017-6/axzell.txt
index af7f3bf2a..8e512f0af 100644
--- a/npc/017-6/azwell.txt
+++ b/npc/017-6/axzell.txt
@@ -1,6 +1,8 @@
// TMW2/LoF scripts.
// Authors:
// Jesusalva
+// Dye Quest added by:
+// Povo
// Description:
// Status Reset. Formely named Bobby
@@ -19,6 +21,7 @@ L_Menu:
select
l("Can you reset my stats please?"),
l("Hey, nice hat! Can I have it?"),
+ l("Do you make anything else?"),
lg("You are weird, I have to go sorry.");
mes "";
@@ -46,6 +49,8 @@ L_Menu:
next;
goto L_Menu;
case 3:
+ goto L_Dye;
+ case 4:
goto L_Quit;
}
@@ -57,6 +62,68 @@ L_ConfirmReset:
ConfirmStatusReset();
goto L_Quit;
+L_Dye:
+ mesn;
+ mesq l("Since red is the official color of Land of Fire Village, I craft dye for players who will properly represent our town.",
+ getitemlink(RedDye));
+ if (BaseLevel < 50) {
+ mesn;
+ mesq l("Right now you are too weak.");
+ mesq l(" What would people think of our village if they come accross a defeated noob wearing our proud colors!");
+ next;
+ mesq l("Come back when you are at a higher level.");
+ next;
+ goto L_Menu;
+ }
+ next;
+ mesq l("Bring me %d %s, %d %s, %d %s, and %d %s, and I will make it for you. I also charge %d GP commission.",
+ 1, getitemlink(BottleOfSewerWater),
+ 200, getitemlink(AlizarinHerb),
+ 20, getitemlink(Coral),
+ 10, getitemlink(SulfurPowder), 3500);
+ mesq l("Do you want one?");
+ compareandsetq LoFQuest_Axzell, 0, 1;
+ next;
+ select
+ l("Yeah, I need one."),
+ l("Thanks for the help, but no."),
+ l("Actually, nevermind. Good bye!");
+ mes "";
+ if (@menu == 2)
+ goto L_Menu;
+
+ if (@menu == 3)
+ goto L_Quit;
+
+ L_DyeLoop:
+ if (countitem(BottleOfSewerWater) >= 1 &&
+ countitem(AlizarinHerb) >= 200 &&
+ countitem(Coral) >= 20 &&
+ countitem(SulfurPowder) >= 10 &&
+ Zeny >= 3500) {
+ inventoryplace RedDye, 1, EmptyBottle, 1;
+ delitem BottleOfSewerWater, 1;
+ delitem AlizarinHerb, 200;
+ delitem Coral, 20;
+ delitem SulfurPowder, 10;
+ Zeny-=3500;
+ getitem RedDye, 1;
+ getitem EmptyBottle, 1;
+ if (getq(LoFQuest_Axzell) == 1) {
+ setq LoFQuest_Axzell, 2;
+ getexp 15000, 0;
+ }
+ mesn;
+ mesq l("Thanks! Here you go. Perhaps you want another one?");
+ next;
+ if (askyesno() == ASK_YES)
+ goto L_DyeLoop;
+ } else {
+ mesn;
+ mesq l("Sorry, you don't seem to have everything I need.");
+ }
+ close;
+
L_Quit:
closedialog;
goodbye;