summaryrefslogtreecommitdiff
path: root/npc/002-4
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-09 19:53:20 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-09 19:53:20 -0200
commitf4b39c5ce6e9e9f6bea5addc95c2cd0cfb7d8ef9 (patch)
tree4a416bd37406fabb2eebd3b8130191d92dd811a0 /npc/002-4
parent43f0d717c49895ba26f84219c80dd1f9d9846e79 (diff)
downloadserverdata-f4b39c5ce6e9e9f6bea5addc95c2cd0cfb7d8ef9.tar.gz
serverdata-f4b39c5ce6e9e9f6bea5addc95c2cd0cfb7d8ef9.tar.bz2
serverdata-f4b39c5ce6e9e9f6bea5addc95c2cd0cfb7d8ef9.tar.xz
serverdata-f4b39c5ce6e9e9f6bea5addc95c2cd0cfb7d8ef9.zip
Adds Elmo. He will provide support to get money. Does not replaces Quest Log!
Diffstat (limited to 'npc/002-4')
-rw-r--r--npc/002-4/_import.txt1
-rw-r--r--npc/002-4/elmo.txt42
2 files changed, 43 insertions, 0 deletions
diff --git a/npc/002-4/_import.txt b/npc/002-4/_import.txt
index 4150b4d2e..a9a1b8c1f 100644
--- a/npc/002-4/_import.txt
+++ b/npc/002-4/_import.txt
@@ -1,4 +1,5 @@
// Map 002-4: Nard's Room
// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/002-4/elmo.txt",
"npc/002-4/nard.txt",
"npc/002-4/_warps.txt",
diff --git a/npc/002-4/elmo.txt b/npc/002-4/elmo.txt
new file mode 100644
index 000000000..3dfcad5e3
--- /dev/null
+++ b/npc/002-4/elmo.txt
@@ -0,0 +1,42 @@
+// TMW2 Script.
+// (Former Evol script)
+// Authors:
+// Qwerty Dragon
+// Reid
+// Jesusalva
+// Description:
+// Elmo's second dialog.
+
+002-4,27,27,0 script Elmo NPC_ELMO,{
+
+ if (getq(General_Narrator) < 0)
+ {
+ sailortalk;
+ }
+
+ mesn;
+ mes l("\"Hey, have you already got the money necessary for the travel?");
+ mes l("If you haven't, maybe there are a few things you can do besides selling items.\"");
+ next;
+
+ mes "";
+
+ // Barrel Quest
+ .@q=getq(CandorQuest_Barrel);
+ if (.@q < 4)
+ mes l("- I think you can help the storehouse for some quick cash.");
+
+ // Kids Quest
+ .@q=getq(CandorQuest_HAS);
+ if (.@q < 3)
+ mes l("- You can always play with kids. Not very profitable, though.");
+
+ close2;
+ goodbye;
+ end; // Just for good measure
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 5;
+ end;
+}