summaryrefslogtreecommitdiff
path: root/npc/018-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/018-1')
-rw-r--r--npc/018-1/_import.txt9
-rw-r--r--npc/018-1/_mobs.txt28
-rw-r--r--npc/018-1/_warps.txt19
-rwxr-xr-xnpc/018-1/flowerpentagram3.txt109
-rwxr-xr-xnpc/018-1/mapflags.txt1
-rwxr-xr-xnpc/018-1/mike.txt19
-rwxr-xr-xnpc/018-1/miners.txt35
-rwxr-xr-xnpc/018-1/sword.txt10
8 files changed, 230 insertions, 0 deletions
diff --git a/npc/018-1/_import.txt b/npc/018-1/_import.txt
new file mode 100644
index 00000000..fd95f9f7
--- /dev/null
+++ b/npc/018-1/_import.txt
@@ -0,0 +1,9 @@
+// Map 018-1: Woodland Mining Camp
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/018-1/_mobs.txt",
+"npc/018-1/_warps.txt",
+"npc/018-1/flowerpentagram3.txt",
+"npc/018-1/mapflags.txt",
+"npc/018-1/mike.txt",
+"npc/018-1/miners.txt",
+"npc/018-1/sword.txt",
diff --git a/npc/018-1/_mobs.txt b/npc/018-1/_mobs.txt
new file mode 100644
index 00000000..d32b0c37
--- /dev/null
+++ b/npc/018-1/_mobs.txt
@@ -0,0 +1,28 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 018-1: Woodland Mining Camp mobs
+018-1,136,79,4,20 monster Clover Patch 1033,10,100000,30000
+018-1,116,44,3,3 monster Clover Patch 1033,3,100000,30000
+018-1,119,56,6,3 monster CroconutMob 1014,2,100000,30000
+018-1,175,28,8,9 monster Fluffy 1022,1,180000,120000
+018-1,78,59,1,0 monster Little Blub 1007,1,100000,30000
+018-1,57,63,7,3 monster Mana Bug 1035,2,100000,30000
+018-1,43,63,15,14 monster Manana Tree 1017,10,100000,30000
+018-1,134,39,9,5 monster Pink Flower 1034,4,100000,50000
+018-1,124,42,4,5 monster Pink Flower 1034,2,100000,50000
+018-1,124,19,11,4 monster Pink Flower 1034,3,100000,50000
+018-1,122,29,9,4 monster Pink Flower 1034,2,100000,50000
+018-1,149,45,5,4 monster Manana Tree 1017,5,100000,30000
+018-1,169,47,10,5 monster Blub 1008,4,120000,30000
+018-1,136,49,6,4 monster Manana Tree 1017,4,100000,30000
+018-1,166,49,6,4 monster Alizarin Plant 1037,1,100000,30000
+018-1,111,62,2,1 monster Mana Bug 1035,1,60000,30000
+018-1,117,50,2,1 monster Clover Patch 1033,1,120000,60000
+018-1,96,47,9,5 monster Blub 1008,3,100000,50000
+018-1,106,52,7,3 monster Pinkie 1030,1,240000,120000
+018-1,78,55,18,3 monster Blub 1008,7,100000,50000
+018-1,145,24,5,4 monster Blub 1008,3,100000,50000
+018-1,68,89,7,8 monster Manana Tree 1017,3,100000,50000
+018-1,160,31,5,9 monster Blub 1008,5,100000,50000
+018-1,0,0,0,0 monster Alizarin Plant 1037,2,0,1000
+018-1,0,0,0,0 monster Amethyst Vein 1055,20,30,20
+018-1,134,80,7,19 monster Piou 1002,15,0,0
diff --git a/npc/018-1/_warps.txt b/npc/018-1/_warps.txt
new file mode 100644
index 00000000..33194827
--- /dev/null
+++ b/npc/018-1/_warps.txt
@@ -0,0 +1,19 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 018-1: Woodland Mining Camp warps
+018-1,79,59,0 warp #018-1_79_59 1,0,018-3,100,132
+018-1,112,61,0 warp #018-1_112_61 0,0,018-3,44,38
+018-1,115,40,0 warp #018-1_115_40 0,0,013-3,22,114
+018-1,128,56,0 warp #018-1_128_56 0,0,018-3,49,99
+018-1,90,42,0 warp #018-1_90_42 0,0,018-3,123,166
+018-1,69,54,0 warp #018-1_69_54 0,0,018-3,70,105
+018-1,127,36,0 warp #018-1_127_36 0,0,013-3,139,44
+018-1,134,45,0 warp #018-1_134_45 0,0,013-3,61,178
+018-1,147,40,0 warp #018-1_147_40 0,0,013-3,81,102
+018-1,153,46,0 warp #018-1_153_46 0,0,018-3,145,162
+018-1,158,34,0 warp #018-1_158_34 0,0,018-3,64,103
+018-1,162,44,0 warp #018-1_162_44 0,0,018-3,29,166
+018-1,177,20,0 warp #018-1_177_20 0,0,013-3,177,90
+018-1,65,73,0 warp #018-1_65_73 0,0,018-2,50,28
+018-1,79,98,0 warp #018-1_79_98 3,0,008-1,78,18
+018-1,64,70,0 warp #018-1_64_70 0,0,018-2,41,21
+018-1,78,34,0 warp #018-1_78_34 0,0,018-3,107,147
diff --git a/npc/018-1/flowerpentagram3.txt b/npc/018-1/flowerpentagram3.txt
new file mode 100755
index 00000000..53f45dbe
--- /dev/null
+++ b/npc/018-1/flowerpentagram3.txt
@@ -0,0 +1,109 @@
+
+018-1,83,29,0 script #FlowerPentagram3 NPC400,{
+ if (OrumQuest >= 31) goto L_PlacedFifthFlower;
+
+ if (OrumQuest > 23) goto L_PlacedThirdFlower;
+ if (OrumQuest == 23) goto L_ThirdFlower;
+
+ message strcharinfo(0), "Something is odd about this place.";
+ end;
+
+L_ThirdFlower:
+ mes "You recognize this place as the spot where Orum wants you to place the third of his magical flowers.";
+ menu
+ "Place the flower.", L_Next,
+ "Leave.", L_close;
+
+L_Next:
+ if (isin("018-1", 82, 28, 84, 30))
+ goto L_Place;
+
+ mes "This isn't working, you're too far away.";
+ goto L_close;
+
+L_Place:
+ set @localMonsterCount,
+ mobcount("018-1", "#FlowerPentagram3::OnSquirrelDeath") +
+ mobcount("018-1", "#FlowerPentagram3::OnMushroomDeath") +
+ mobcount("018-1", "#FlowerPentagram3::OnBlueparDeath") +
+ mobcount("018-1", "#FlowerPentagram3::OnScorpionDeath") +
+ mobcount("018-1", "#FlowerPentagram3::OnRScorpionDeath") +
+ mobcount("018-1", "#FlowerPentagram3::OnAScorpionDeath") +
+ 6; // the mobcount function has an offset of -1, so we add 6 to have the actual amount of monsters
+ if (@localMonsterCount > 4)
+ goto L_MonstersAlive;
+
+ if (countitem("WhiteSummonFlower") < 1)
+ goto L_NoFlower;
+ delitem "WhiteSummonFlower", 1;
+ mes "Knowing what will happen, you prepare yourself for a fight. Then you go ahead with the ritual and place the magical flower.";
+ mes "You feel the now familiar tension around you. Here they come.";
+ OrumQuest = 24;
+ close2;
+ areamonster "018-1", 73, 22, 89, 36, "", 1105, 1, "#FlowerPentagram3::OnSquirrelDeath";
+ areamonster "018-1", 73, 22, 89, 36, "", 1106, 2, "#FlowerPentagram3::OnMushroomDeath";
+ areamonster "018-1", 73, 22, 89, 36, "", 1107, 1, "#FlowerPentagram3::OnBlueparDeath";
+ areamonster "018-1", 73, 22, 89, 36, "", 1003, 2, "#FlowerPentagram3::OnScorpionDeath";
+ areamonster "018-1", 73, 22, 89, 36, "", 1004, 1, "#FlowerPentagram3::OnRScorpionDeath";
+ areamonster "018-1", 73, 22, 89, 36, "", 1057, 2, "#FlowerPentagram3::OnAScorpionDeath";
+ @value = 15;
+ callfunc "QuestSagathaAnnoy";
+ @value = 0;
+ end;
+
+OnSquirrelDeath:
+ @mobId = 1105;
+ callfunc "MobPoints";
+ end;
+
+OnMushroomDeath:
+ @mobId = 1106;
+ callfunc "MobPoints";
+ end;
+
+OnBlueparDeath:
+ @mobId = 1107;
+ callfunc "MobPoints";
+ end;
+
+OnScorpionDeath:
+ @mobId = 1003;
+ callfunc "MobPoints";
+ end;
+
+OnRScorpionDeath:
+ @mobId = 1004;
+ callfunc "MobPoints";
+ end;
+
+OnAScorpionDeath:
+ @mobId = 1057;
+ callfunc "MobPoints";
+ end;
+
+L_MonstersAlive:
+ mes "As you get closer to the place, you feel an unnerving presence.";
+ mes "This place has recently been used to summon something! And the beings are still nearby!";
+ next;
+ mes "You should get rid of them before attempting the summoning yourself.";
+ goto L_close;
+
+L_NoFlower:
+ mes "You reach into your inventory to take out the flower and place it, but you can't find it!";
+ mes "Did you lose it somewhere along the way? If you can't find it, go talk to Orum again.";
+ goto L_close;
+
+L_PlacedThirdFlower:
+ mes "You placed the third of Orum's magical flowers on this spot.";
+ mes "You can feel the magical power around the place, waiting to be unleashed.";
+ goto L_close;
+
+L_PlacedFifthFlower:
+ mes "You remember this place. You placed the third of Orum's magical flowers here.";
+ mes "However, now that the summoning spell has been cast, everything is back to normal here.";
+ goto L_close;
+
+L_close:
+ @localMonsterCount = 0;
+ close;
+}
diff --git a/npc/018-1/mapflags.txt b/npc/018-1/mapflags.txt
new file mode 100755
index 00000000..462a68a8
--- /dev/null
+++ b/npc/018-1/mapflags.txt
@@ -0,0 +1 @@
+//018-1 mapflag resave 018-2,88,32
diff --git a/npc/018-1/mike.txt b/npc/018-1/mike.txt
new file mode 100755
index 00000000..5f0681af
--- /dev/null
+++ b/npc/018-1/mike.txt
@@ -0,0 +1,19 @@
+018-1,77,60,0 script Mike NPC113,{
+ mes "[Mike]";
+ mes "\"I need black stingers to make some medicine to cure my sister.\"";
+ next;
+
+ @dq_level = 40;
+ @dq_cost = 16;
+ @dq_count = 4;
+ @dq_name$ = "BlackScorpionStinger";
+ @dq_friendly_name$ = "black stingers";
+ @dq_money = 2500;
+ @dq_exp = 500;
+
+ callfunc "DailyQuest";
+
+ next;
+ mes "\"Hopefully I'll have enough soon.\"";
+ close;
+}
diff --git a/npc/018-1/miners.txt b/npc/018-1/miners.txt
new file mode 100755
index 00000000..156e86c7
--- /dev/null
+++ b/npc/018-1/miners.txt
@@ -0,0 +1,35 @@
+018-1,80,61,0 script Miner NPC109,{
+ mes "[Miner]";
+ mes "\"Be careful in there.\"";
+ next;
+ mes "\"Actually maybe you can help an old miner out.\"";
+ next;
+ goto L_Keys;
+
+L_Keys:
+ mes "[Miner]";
+ @dq_level = 40;
+ @dq_cost = 35;
+ @dq_count = 10;
+ @dq_name$ = "TreasureKey";
+ @dq_friendly_name$ = "Treasure Key";
+ @dq_money = 3000;
+ @dq_exp = 300;
+
+ callfunc "DailyQuest";
+ goto L_close;
+
+L_close:
+ @money = 0;
+ @state = 0;
+ @dq_level = 0;
+ @dq_cost = 0;
+ @dq_count = 0;
+ @dq_name$ = "";
+ @dq_friendly_name$ = "";
+ @dq_money = 0;
+ @dq_exp = 0;
+ @dq_return = 0;
+ close;
+
+}
diff --git a/npc/018-1/sword.txt b/npc/018-1/sword.txt
new file mode 100755
index 00000000..6aa2af6e
--- /dev/null
+++ b/npc/018-1/sword.txt
@@ -0,0 +1,10 @@
+018-1,110,43,0 script #IceSword#_M NPC400,{
+ if (getskilllv(SKILL_MAGIC))
+ goto L_message;
+ close;
+
+L_message:
+ mes "[Sword in Pond]";
+ mes "\"Zzzzzz.....\"";
+ close;
+}