summaryrefslogtreecommitdiff
path: root/npc/003-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-03 15:10:49 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-03 15:10:49 -0300
commit772993f42814fb16d72725d1e42f8e784ff92377 (patch)
tree3753093a93d490034c9ef1bbf6f7afaa2a3c9e9f /npc/003-1
parent6be78ea3c8f6a37912c20b73d3d0847173697502 (diff)
downloadserverdata-772993f42814fb16d72725d1e42f8e784ff92377.tar.gz
serverdata-772993f42814fb16d72725d1e42f8e784ff92377.tar.bz2
serverdata-772993f42814fb16d72725d1e42f8e784ff92377.tar.xz
serverdata-772993f42814fb16d72725d1e42f8e784ff92377.zip
Tulimshar Sewers + bugfix
Diffstat (limited to 'npc/003-1')
-rw-r--r--npc/003-1/_import.txt1
-rw-r--r--npc/003-1/inac.txt22
-rw-r--r--npc/003-1/sewer.txt35
3 files changed, 55 insertions, 3 deletions
diff --git a/npc/003-1/_import.txt b/npc/003-1/_import.txt
index 8bc084611..4d1007fc7 100644
--- a/npc/003-1/_import.txt
+++ b/npc/003-1/_import.txt
@@ -28,6 +28,7 @@
"npc/003-1/oldwell.txt",
"npc/003-1/sailors.txt",
"npc/003-1/sarah.txt",
+"npc/003-1/sewer.txt",
"npc/003-1/ship.txt",
"npc/003-1/shop.txt",
"npc/003-1/silvia.txt",
diff --git a/npc/003-1/inac.txt b/npc/003-1/inac.txt
index 8c05e6a3e..37ae82899 100644
--- a/npc/003-1/inac.txt
+++ b/npc/003-1/inac.txt
@@ -1,11 +1,27 @@
// TMW2 scripts.
// Author:
// Saulc
+// Jesusalva
003-1,55,82,0 script Inac NPC_PLAYER,{
-
-
-hello;
+ mesn;
+ mesq l("Many stories are told about this city sewers.");
+ next;
+ mesn;
+ mesq l("One of them is really crazy, though: They say that there is a legendary monster down there.");
+ next;
+ mesn;
+ mesq l("That's just nonsense though, I've been there thousands of times and saw no such thing.");
+ if (getq(TulimsharQuest_Sewers) > 0)
+ close;
+ next;
+ mesn;
+ mesq l("Anyway, there's a barrier to prevent monsters from attacking the city from below.");
+ next;
+ mesn;
+ mesq l("To enter on them, you need to be level 25 and use the following chant: \"Blame Saulc\". I don't know why, but that open doors!");
+ setq TulimsharQuest_Sewers, 1;
+ close;
OnInit:
.@npcId = getnpcid(0, .name$);
diff --git a/npc/003-1/sewer.txt b/npc/003-1/sewer.txt
new file mode 100644
index 000000000..269c56a01
--- /dev/null
+++ b/npc/003-1/sewer.txt
@@ -0,0 +1,35 @@
+// TMW2 scripts.
+// Author:
+// Jesusalva
+// Notes:
+// TW: Tulimshar, West
+// TE: Tulimshar, East
+
+003-1,56,84,0 script #Sewer-TW NPC_NO_SPRITE,{
+ if (getq(TulimsharQuest_Sewers) == 0) end;
+ if (BaseLevel < 25) end;
+
+ mes col("Descend into Tulimshar sewers?", 9);
+ if (askyesno() == ASK_YES) {
+ closedialog;
+ warp "003-1-1", 57, 100;
+ dispbottom l("Blame Saulc.");
+ end;
+ }
+ close;
+}
+
+003-1,115,111,0 script #Sewer-TE NPC_NO_SPRITE,{
+ if (getq(TulimsharQuest_Sewers) == 0) end;
+ if (BaseLevel < 25) end;
+
+ mes col("Descend into Tulimshar sewers?", 9);
+ if (askyesno() == ASK_YES) {
+ closedialog;
+ warp "003-1-1", 143, 128;
+ dispbottom l("Blame Saulc.");
+ end;
+ }
+ close;
+}
+