summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/000-2-3/elmo.txt2
-rw-r--r--npc/002-4/_import.txt1
-rw-r--r--npc/002-4/elmo.txt42
3 files changed, 44 insertions, 1 deletions
diff --git a/npc/000-2-3/elmo.txt b/npc/000-2-3/elmo.txt
index c623e3215..f2209824e 100644
--- a/npc/000-2-3/elmo.txt
+++ b/npc/000-2-3/elmo.txt
@@ -5,7 +5,7 @@
// Description:
// Elmo's second dialog.
-000-2-3,27,27,0 script Elmo NPC_ELMO,{
+000-2-3,27,27,0 script Elmo#000-2-3 NPC_ELMO,{
function got_money {
speech S_LAST_NEXT,
lg("Be patient a little while longer, in the next few days we will arrive at the port of Artis..."),
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;
+}