summaryrefslogtreecommitdiff
path: root/npc/018-5-5
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-10-23 21:44:22 -0300
committerJesusaves <cpntb1@ymail.com>2022-10-23 21:44:22 -0300
commita7c45a192268da2601cef47a4cdba987ae2327ca (patch)
treec5fb5b97db109fe7106496dd96498c475881046b /npc/018-5-5
downloadserverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.gz
serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.bz2
serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.xz
serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.zip
Initial commit (Moubootaur Legends fork)
Diffstat (limited to 'npc/018-5-5')
-rw-r--r--npc/018-5-5/_import.txt4
-rw-r--r--npc/018-5-5/_warps.txt3
-rw-r--r--npc/018-5-5/ivanize.txt99
3 files changed, 106 insertions, 0 deletions
diff --git a/npc/018-5-5/_import.txt b/npc/018-5-5/_import.txt
new file mode 100644
index 0000000..bcf2f81
--- /dev/null
+++ b/npc/018-5-5/_import.txt
@@ -0,0 +1,4 @@
+// Map 018-5-5: Indoors
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/018-5-5/_warps.txt",
+"npc/018-5-5/ivanize.txt",
diff --git a/npc/018-5-5/_warps.txt b/npc/018-5-5/_warps.txt
new file mode 100644
index 0000000..b5a5dcc
--- /dev/null
+++ b/npc/018-5-5/_warps.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 018-5-5: Indoors warps
+018-5-5,33,47,0 warp #018-5-5_33_47 1,0,018-5,117,55
diff --git a/npc/018-5-5/ivanize.txt b/npc/018-5-5/ivanize.txt
new file mode 100644
index 0000000..9d8b548
--- /dev/null
+++ b/npc/018-5-5/ivanize.txt
@@ -0,0 +1,99 @@
+// TMW2 scripts.
+// Authors:
+// Indigovox <rui.gravata@hotmail.com>
+// Jesusalva <jesusalva@tmw2.org>
+// Description:
+// Evil Fairy
+
+018-5-5,29,38,0 script Ivanize NPC_FAIRY_C,{
+ function ivanizeBusy;
+ if (strcharinfo(0) == "Manatauro") npctalk3 l("Leave me alone! Stop annoying me!");
+ .@q = getq(LilitQuest_Ivanize);
+ if (BaseLevel < 50) ivanizeBusy();
+ if (.@q == 0) goto L_FirstTime;
+ if (.@q > 0) goto L_Exchange;
+ ivanizeBusy();
+ end;
+
+L_FirstTime:
+ mesn;
+ mesq l("Hello %s.", strcharinfo(0));
+ next;
+ mesn strcharinfo(0);
+ select
+ l("And who are you?"),
+ l("How do you know my name?");
+ mes "";
+ mesn;
+ mesq l("My name is %s. I am an upstanding citizen of this kingdom. Everyone loves me.", .name$);
+ next;
+ mesn;
+ mesq l("Because I am a special nymph.");
+ mes "%%0";
+ next;
+ mesn strcharinfo(0);
+ select
+ l("Hahah, tell me another one!"),
+ l("Let's pretend I believe you.");
+ mes "";
+ mes "%%:";
+ mes "";
+ mesc l("%s, a bit upset, tries to change subjects.", .name$);
+ next;
+ mesn;
+ mesq l("Have you brought me some %s?", getitemlink(SnakeEgg));
+ next;
+ mesn strcharinfo(0);
+ select
+ l("Why you don't tell me?"),
+ l("Wait, I thought you were a nymph!");
+ mes "";
+ mesn;
+ mesq l("I know you have %d %s with you, just haven't said before to be polite.", countitem(SnakeEgg), getitemlink(SnakeEgg));
+ next;
+ mesn;
+ mesq l("I like to eat snake eggs. Lemme do you a proposal: You bring me %d %s, and I'll give you a flask of %s.", .minEggs, getitemlink(SnakeEgg), getitemlink(NymphPoison));
+ next;
+ mesn;
+ mesq l("Just make sure to don't try to poison a guard or something, and don't tell anyone of our little deal. As a proof of our agreement, I'll even give you a freebie, so you can see this is the real deal.");
+ next;
+ mesn;
+ mesq l("Come back when you have the Snake Eggs for me.");
+ getitem NymphPoison, 1;
+ setq LilitQuest_Ivanize, 1;
+ close;
+
+L_Exchange:
+ .@c=countitem(SnakeEgg);
+ .@o=(.@c/.minEggs);
+ if (.@c < .minEggs) ivanizeBusy();
+ mesn;
+ mesq l("Look at this, %s really brought me %d %s.",
+ strcharinfo(0), countitem(SnakeEgg), getitemlink(SnakeEgg));
+ next;
+ mesn strcharinfo(0);
+ select
+ l("I want %d %s!", .@o, getitemname(NymphPoison)),
+ l("I'll see you later.");
+ mes "";
+ if (@menu == 2) close;
+ delitem SnakeEgg, .@o*.minEggs;
+ getitem NymphPoison, .@o;
+ compareandsetq LilitQuest_Ivanize, 1, 2;
+ mesn;
+ mesq l("Here you go; See you later!");
+ close;
+
+function ivanizeBusy {
+ mesn;
+ mesq l("Can't you see I'm busy?");
+ close;
+}
+
+OnInit:
+ .minEggs = 15;
+ .sex=G_FEMALE;
+ .distance=5;
+ end;
+}
+