summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2018-05-25 13:27:35 +0000
committerSaulc <lucashelaine14@gmail.com>2018-05-25 13:27:35 +0000
commite62622a14752e404238e70f96a7a4df8d224a4fe (patch)
treebd61c614cd7df9106879cfb4d3f9c3bbeb19cf80 /npc
parenta315ccbe38902be551314c41a07a65b80da45713 (diff)
downloadserverdata-e62622a14752e404238e70f96a7a4df8d224a4fe.tar.gz
serverdata-e62622a14752e404238e70f96a7a4df8d224a4fe.tar.bz2
serverdata-e62622a14752e404238e70f96a7a4df8d224a4fe.tar.xz
serverdata-e62622a14752e404238e70f96a7a4df8d224a4fe.zip
test web ide WIP !
Diffstat (limited to 'npc')
-rw-r--r--npc/007-1/_import.txt1
-rw-r--r--npc/007-1/dracoula.txt98
2 files changed, 99 insertions, 0 deletions
diff --git a/npc/007-1/_import.txt b/npc/007-1/_import.txt
index 13d603c9d..bed02916c 100644
--- a/npc/007-1/_import.txt
+++ b/npc/007-1/_import.txt
@@ -2,3 +2,4 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/007-1/_mobs.txt",
"npc/007-1/_warps.txt",
+"npc/007-1/dracoula.txt", \ No newline at end of file
diff --git a/npc/007-1/dracoula.txt b/npc/007-1/dracoula.txt
new file mode 100644
index 000000000..5f0f84413
--- /dev/null
+++ b/npc/007-1/dracoula.txt
@@ -0,0 +1,98 @@
+// TMW2 Script
+// Author:
+// Jesusalva
+// Saulc
+// Description:
+// Candor girl ask for maggot sliem every 6 hours
+// Variable:
+// MineQuest_Dracoula
+
+
+007-1,47,86,0 script Dracoula NPC_ELVEN_FEMALE,{
+
+ mesn;
+ mesq l("Monsters do not aim small towns like Candor. This city also comes with the plus that I know where everything's at.");
+ if (BaseLevel >= 15) goto L_Menu;
+ close;
+
+L_Menu:
+ mes "[Dracoula]";
+ mesq l("Are you enjoying yourself in Candor? Do you have any questions?");
+ mes "";
+ menu
+ l("What can I do with Maggot Slime?"),L_Ask,
+ l("What can I do with Bug Leg?"),L_Bug,
+ l("No, thanks."),L_Close;
+
+L_Ask:
+ mes "";
+ .@q=getq(MineQuest_Dracoula);
+ mesq l("I collect them.");
+ next;
+ if (.@q == 0) goto L_Quest;
+ if (.@q == 1 && gettimetick(2) >= DRACOULA_TIMER + 60 * 60 * 23) setq MineQuest_Dracoula, 2;
+ if (.@q == 2) goto L_Repeat;
+ close;
+
+L_Quest:
+ mesq l("With this I make balls of slime for Candor's childs, they really like to play with them.");
+ next;
+ mesq l("Maybe you could bring me 20 @@? I will reward you for your effort.", getitemlink(BatTeeth));
+ mes "";
+ menu
+ rif(countitem(BatTeeth) >= 20, l("Here they are!")), L_Finish,
+ l("I'll get to it."), L_Close;
+ close; // double sure
+
+L_Repeat:
+ mesq l("I am searching again maggot slime to craft more balls.");
+ next;
+ mesq l("Maybe you could bring me 10 sticky @@?", getitemlink(BatTeeth));
+ mes "";
+ menu
+ rif(countitem(BatTeeth) >= 10, l("Here they are!")), L_Finish2,
+ l("I'll get to it."), L_Close;
+ close;
+
+L_Finish2:
+ delitem BatTeeth, 10;
+ getexp 1, 0;
+ Zeny = (Zeny + 1); // 10*4 = 40 base
+ setq MineQuest_Dracoula, 1;
+ set DRACOULA_TIMER, gettimetick(2);
+ mes "";
+ mesn;
+ mesq l("Many, many thanks! I'm sure the children will love it!");
+ close;
+
+L_Finish:
+ delitem BatTeeth, 20;
+ getexp 1, 10;
+ Zeny = (Zeny + 1); // 5*4 = 20 base
+ setq MineQuest_Dracoula, 1;
+ set DRACOULA_TIMER, gettimetick(2);
+ mes "";
+ mesn;
+ mesq l("Many, many thanks! I'm sure the children will love it!");
+ close;
+
+L_Bug:
+ mes "";
+ mesq l("Ah, personally I don't use it?");
+ next;
+ mes l("She shakes her head.");
+ next;
+ mesq l("You should ask this question at Vincent.");
+ next;
+ mesq l("He is in the process of making a figurine made of bug leg.");
+ next;
+ mesq l("I hope my answer help you in your adventure!");
+ next;
+ mes l("she's smiling at you.");
+ goto L_Close;
+
+L_Close:
+ closedialog;
+ goodbye;
+ close;
+}