summaryrefslogtreecommitdiff
path: root/npc/004-5
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 13:33:57 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 13:33:57 -0300
commitcf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch)
treef9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/004-5
parent8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff)
downloadserverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip
Override
Diffstat (limited to 'npc/004-5')
-rw-r--r--npc/004-5/_import.txt6
-rw-r--r--npc/004-5/_mobs.txt14
-rw-r--r--npc/004-5/_warps.txt3
-rwxr-xr-xnpc/004-5/chest.txt26
-rwxr-xr-xnpc/004-5/mapflags.txt1
5 files changed, 50 insertions, 0 deletions
diff --git a/npc/004-5/_import.txt b/npc/004-5/_import.txt
new file mode 100644
index 00000000..1315b3de
--- /dev/null
+++ b/npc/004-5/_import.txt
@@ -0,0 +1,6 @@
+// Map 004-5: Pirate Den
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/004-5/_mobs.txt",
+"npc/004-5/_warps.txt",
+"npc/004-5/chest.txt",
+"npc/004-5/mapflags.txt",
diff --git a/npc/004-5/_mobs.txt b/npc/004-5/_mobs.txt
new file mode 100644
index 00000000..581d2eb9
--- /dev/null
+++ b/npc/004-5/_mobs.txt
@@ -0,0 +1,14 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 004-5: Pirate Den mobs
+004-5,41,70,3,2 monster Golem 1121,1,100000,30000
+004-5,41,70,3,1 monster Tengu 1120,2,100000,30000
+004-5,40,70,4,1 monster Serqet 1119,2,100000,30000
+004-5,35,86,3,2 monster Golem 1121,1,100000,30000
+004-5,34,86,4,1 monster Serqet 1119,2,100000,30000
+004-5,35,86,3,1 monster Tengu 1120,2,100000,30000
+004-5,54,38,3,2 monster Golem 1121,1,100000,30000
+004-5,53,38,4,1 monster Serqet 1119,2,100000,30000
+004-5,54,38,3,1 monster Tengu 1120,2,100000,30000
+004-5,81,38,3,2 monster Golem 1121,1,100000,30000
+004-5,80,38,4,1 monster Serqet 1119,2,100000,30000
+004-5,81,38,3,1 monster Tengu 1120,2,100000,30000
diff --git a/npc/004-5/_warps.txt b/npc/004-5/_warps.txt
new file mode 100644
index 00000000..9e67f1ee
--- /dev/null
+++ b/npc/004-5/_warps.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 004-5: Pirate Den warps
+004-5,24,65,0 warp #004-5_24_65 0,0,004-4,24,62
diff --git a/npc/004-5/chest.txt b/npc/004-5/chest.txt
new file mode 100755
index 00000000..0054571e
--- /dev/null
+++ b/npc/004-5/chest.txt
@@ -0,0 +1,26 @@
+004-5,89,67,0 script Old Chest#crastur NPC111,{
+ @npc_distance = 1;
+ callfunc "PCtoNPCRange";
+ if(@npc_check) end;
+ @spants_state = ((QUEST_WG_state & NIBBLE_2_MASK) >> NIBBLE_2_SHIFT);
+ if(@spants_state > 5) goto L_Looted;
+ if(@spants_state != 5) goto L_Unknown;
+ @spants_state = 6;
+ getitem "Bandana", 1;
+ set Zeny, (Zeny + rand(8000,20000)); // give some random loot
+ mes "This must be the treasure that Crastur was talking about.";
+ mes "You see a pile of gold and a Bandana on top.";
+ QUEST_WG_state = (QUEST_WG_state & ~(NIBBLE_2_MASK) | (@spants_state << NIBBLE_2_SHIFT));
+ goto L_close;
+
+L_Looted:
+ mes "You have already looted this chest.";
+ goto L_close;
+
+L_Unknown:
+ mes "You have no idea how to open this chest.";
+ goto L_close;
+
+L_close:
+ close;
+}
diff --git a/npc/004-5/mapflags.txt b/npc/004-5/mapflags.txt
new file mode 100755
index 00000000..1c67e967
--- /dev/null
+++ b/npc/004-5/mapflags.txt
@@ -0,0 +1 @@
+//004-5 mapflag resave 001-1,60,105