summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-23 13:57:13 -0300
committerJesusaves <cpntb1@ymail.com>2019-02-23 13:57:13 -0300
commitf27a4d9318cd6250ee7153f5b41c3e759edc7b26 (patch)
treed4fce596eb026faca072445cdacdb88341aae184 /npc
parent4f5d098468ad13848c2c0f4589a8478d8d3f6176 (diff)
downloadserverdata-f27a4d9318cd6250ee7153f5b41c3e759edc7b26.tar.gz
serverdata-f27a4d9318cd6250ee7153f5b41c3e759edc7b26.tar.bz2
serverdata-f27a4d9318cd6250ee7153f5b41c3e759edc7b26.tar.xz
serverdata-f27a4d9318cd6250ee7153f5b41c3e759edc7b26.zip
003-2-1 Leave Complaints Depto (also known as: @demure Office)
What would happen if Demure was a bot programmed by @Crazyfefe ? Well, now we know the answer.
Diffstat (limited to 'npc')
-rw-r--r--npc/003-2-1/_import.txt5
-rw-r--r--npc/003-2-1/_mobs.txt3
-rw-r--r--npc/003-2-1/_warps.txt6
-rw-r--r--npc/003-2-1/demure.txt30
-rw-r--r--npc/003-2-1/mapflags.txt1
-rw-r--r--npc/003-2/_import.txt1
-rw-r--r--npc/003-2/hiddenwarp.txt16
-rw-r--r--npc/_import.txt1
8 files changed, 58 insertions, 5 deletions
diff --git a/npc/003-2-1/_import.txt b/npc/003-2-1/_import.txt
index 4e3c5e472..a23c26c01 100644
--- a/npc/003-2-1/_import.txt
+++ b/npc/003-2-1/_import.txt
@@ -1,3 +1,6 @@
-// Map 003-2-1: First Deck
+// Map 003-2-1: #Leave-Complaints
// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/003-2-1/_mobs.txt",
"npc/003-2-1/_warps.txt",
+"npc/003-2-1/demure.txt",
+"npc/003-2-1/mapflags.txt",
diff --git a/npc/003-2-1/_mobs.txt b/npc/003-2-1/_mobs.txt
new file mode 100644
index 000000000..6ea4a4961
--- /dev/null
+++ b/npc/003-2-1/_mobs.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 003-2-1: #Leave-Complaints mobs
+003-2-1,46,45,16,11 monster Green Dragon 1195,5,3600,36000
diff --git a/npc/003-2-1/_warps.txt b/npc/003-2-1/_warps.txt
index 01b8d9348..c66a782ba 100644
--- a/npc/003-2-1/_warps.txt
+++ b/npc/003-2-1/_warps.txt
@@ -1,5 +1,3 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
-// Map 003-2-1: First Deck warps
-003-2-1,19,28,0 warp #003-2-1_19_28 0,0,005-1,193,109
-003-2-1,33,28,0 warp #003-2-1_33_28 0,0,003-2-0,20,27
-003-2-1,31,25,0 warp #003-2-1_31_25 0,0,003-2-2,72,29
+// Map 003-2-1: #Leave-Complaints warps
+003-2-1,47,33,0 warp #003-2-1_47_33 1,0,003-2,28,40
diff --git a/npc/003-2-1/demure.txt b/npc/003-2-1/demure.txt
new file mode 100644
index 000000000..4ee1d67b1
--- /dev/null
+++ b/npc/003-2-1/demure.txt
@@ -0,0 +1,30 @@
+// TMW2 Script
+// Author:
+// Crazyfefe
+// Jesusalva
+
+005-1,66,62,0 script Demure GM NPC_HIDDEN,{
+ // Let's try without freeloop
+ mesn any("NotSoBot", "Demure");
+ if (rand(1,5) <= 2)
+ mes "Blame Saulc";
+
+ .@mx=rand(6,12);
+ for (.@i = 0; .@i < .@mx; ++.@i) {
+ mes "leave Complaints";
+ if (rand(1,5) == 3)
+ mes "";
+ if (.@i == 10) {
+ next;
+ mesn any("NotSoBot", "Demure");
+ mes any("leave Complaints", "Blame Saulc");
+ }
+ }
+ if (rand(1,5) >= 4)
+ mes "Blame Saulc";
+ close;
+
+OnInit:
+ .distance=5;
+ end;
+}
diff --git a/npc/003-2-1/mapflags.txt b/npc/003-2-1/mapflags.txt
new file mode 100644
index 000000000..f66ee6606
--- /dev/null
+++ b/npc/003-2-1/mapflags.txt
@@ -0,0 +1 @@
+003-2-1 mapflag nopenalty
diff --git a/npc/003-2/_import.txt b/npc/003-2/_import.txt
index 9363412fd..f6711989e 100644
--- a/npc/003-2/_import.txt
+++ b/npc/003-2/_import.txt
@@ -3,5 +3,6 @@
"npc/003-2/_warps.txt",
"npc/003-2/eistein.txt",
"npc/003-2/estard.txt",
+"npc/003-2/hiddenwarp.txt",
"npc/003-2/lua.txt",
"npc/003-2/mapflags.txt",
diff --git a/npc/003-2/hiddenwarp.txt b/npc/003-2/hiddenwarp.txt
new file mode 100644
index 000000000..7a3a6654e
--- /dev/null
+++ b/npc/003-2/hiddenwarp.txt
@@ -0,0 +1,16 @@
+// TMW2 Script
+// Author:
+// Crazyfefe
+// Jesusalva
+// This warp is enabled after waiting for lua
+
+003-2,28,41,0 script #LeaveComplaints NPC_HIDDEN,0,0,{
+ end;
+
+OnTouch:
+ if ((BaseLevel >= 50 && getq(General_Narrator) >= 2) || is_gm())
+ warp "003-2-1", 47, 34;
+ else
+ npctalk3 l("Complaints Depto. temporaly closed, come back later");
+ end;
+}
diff --git a/npc/_import.txt b/npc/_import.txt
index 46e71f2e7..712af135a 100644
--- a/npc/_import.txt
+++ b/npc/_import.txt
@@ -29,6 +29,7 @@
@include "npc/003-1/_import.txt"
@include "npc/003-10/_import.txt"
@include "npc/003-13/_import.txt"
+@include "npc/003-2-1/_import.txt"
@include "npc/003-2/_import.txt"
@include "npc/003-3/_import.txt"
@include "npc/003-4-1/_import.txt"