summaryrefslogtreecommitdiff
path: root/npc/014-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-10-23 21:44:22 -0300
committerJesusaves <cpntb1@ymail.com>2022-10-23 21:44:22 -0300
commita7c45a192268da2601cef47a4cdba987ae2327ca (patch)
treec5fb5b97db109fe7106496dd96498c475881046b /npc/014-1
downloadserverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.gz
serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.bz2
serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.xz
serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.zip
Initial commit (Moubootaur Legends fork)
Diffstat (limited to 'npc/014-1')
-rw-r--r--npc/014-1/_import.txt5
-rw-r--r--npc/014-1/_mobs.txt12
-rw-r--r--npc/014-1/_warps.txt24
-rw-r--r--npc/014-1/galimatia.txt53
4 files changed, 94 insertions, 0 deletions
diff --git a/npc/014-1/_import.txt b/npc/014-1/_import.txt
new file mode 100644
index 0000000..83582d7
--- /dev/null
+++ b/npc/014-1/_import.txt
@@ -0,0 +1,5 @@
+// Map 014-1: Woodland Mining Camp
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/014-1/_mobs.txt",
+"npc/014-1/_warps.txt",
+"npc/014-1/galimatia.txt",
diff --git a/npc/014-1/_mobs.txt b/npc/014-1/_mobs.txt
new file mode 100644
index 0000000..f0d8a65
--- /dev/null
+++ b/npc/014-1/_mobs.txt
@@ -0,0 +1,12 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 014-1: Woodland Mining Camp mobs
+014-1,97,59,86,45 monster Silk Worm 1034,15,30000,10000
+014-1,97,67,50,45 monster Mouboo 1023,12,30000,35000
+014-1,85,82,54,35 monster Squirrel 1032,11,30000,45000
+014-1,87,80,52,18 monster Tipiou 1016,3,30000,40000
+014-1,135,91,6,28 monster Blub 1008,2,30000,20000
+014-1,138,23,25,10 monster Bee Hive 1047,2,30000,20000
+014-1,140,25,26,15 monster Bee 1065,5,30000,20000
+014-1,95,58,105,59 monster Cobalt Plant 1136,2,45000,50000
+014-1,88,68,104,43 monster Mauve Plant 1135,3,45000,50000
+014-1,66,53,43,62 monster Gamboge Plant 1134,3,45000,50000
diff --git a/npc/014-1/_warps.txt b/npc/014-1/_warps.txt
new file mode 100644
index 0000000..6fa9bd8
--- /dev/null
+++ b/npc/014-1/_warps.txt
@@ -0,0 +1,24 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 014-1: Woodland Mining Camp warps
+014-1,79,98,0 warp #014-1_79_98 3,0,012-1,78,18
+014-1,79,57,0 warp #014-1_79_57 1,0,015-1,99,132
+014-1,158,34,0 script #014-1_158_34 NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ slide 153,47; end;
+}
+014-1,153,46,0 script #014-1_153_46 NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ slide 158,35; end;
+}
+014-1,147,40,0 script #014-1_147_40 NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ slide 112,62; end;
+}
+014-1,112,61,0 script #014-1_112_61 NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ slide 147,41; end;
+}
diff --git a/npc/014-1/galimatia.txt b/npc/014-1/galimatia.txt
new file mode 100644
index 0000000..745a2ec
--- /dev/null
+++ b/npc/014-1/galimatia.txt
@@ -0,0 +1,53 @@
+// TMW2 scripts.
+// Author:
+// Jesusalva
+// Description:
+// A bee keeper
+
+014-1,126,21,0 script Galimatia NPC_BEEKEEPER,{
+ mesn;
+ mesq l("Feel free to collect honey from the hives. Remember to bottle them before picking up... You can use the discardable bottles I keep near them for that.");
+ if (!countitem(Honey)) close;
+ if (BaseLevel < 30) close;
+ next;
+ mesn;
+ mesq l("I can also pay %d GP per %s.", .price, getitemlink(Honey));
+ if (countitem(BeeStinger)) mesc l("But if you bring me %d %s and %d %s and %s GP, I can give you a %s!", 20, getitemlink(BeeStinger), 10, getitemlink(Honey), fnum(3500));
+ next;
+ do
+ {
+ select
+ rif(countitem(Honey), "Sell a honey for %d GP", .price),
+ rif(countitem(Honey) >= 10 &&
+ countitem(BeeStinger) >= 20 &&
+ Zeny >= 3500, "Deal, I want the hat!"),
+ l("Nice, thanks.");
+ mes "";
+ switch (@menu) {
+ case 1:
+ delitem Honey, 1;
+ Zeny+=.price;
+ break;
+ case 2:
+ delitem Honey, 10;
+ delitem BeeStinger, 20;
+ Zeny-=3500;
+ getitem BeeKeeperHat, 1;
+ getexp 5000, 4500;
+ mesn;
+ mesq l("Thanks, here is your hat!");
+ close;
+ break;
+ case 3:
+ close;
+ break;
+ }
+ } while (true);
+ close;
+
+OnInit:
+ .sex = G_FEMALE;
+ .distance = 4;
+ .price = getiteminfo(Honey, ITEMINFO_SELLPRICE) * 15 / 10;
+ end;
+}