summaryrefslogtreecommitdiff
path: root/npc/017-1
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/017-1
parent8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff)
downloadserverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip
Override
Diffstat (limited to 'npc/017-1')
-rw-r--r--npc/017-1/_import.txt7
-rw-r--r--npc/017-1/_mobs.txt20
-rw-r--r--npc/017-1/_warps.txt10
-rwxr-xr-xnpc/017-1/flowerpentagram1.txt80
-rwxr-xr-xnpc/017-1/flowerpentagram5.txt137
-rwxr-xr-xnpc/017-1/mapflags.txt1
6 files changed, 255 insertions, 0 deletions
diff --git a/npc/017-1/_import.txt b/npc/017-1/_import.txt
new file mode 100644
index 00000000..6cf3b9c6
--- /dev/null
+++ b/npc/017-1/_import.txt
@@ -0,0 +1,7 @@
+// Map 017-1: Woodland Hills
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/017-1/_mobs.txt",
+"npc/017-1/_warps.txt",
+"npc/017-1/flowerpentagram1.txt",
+"npc/017-1/flowerpentagram5.txt",
+"npc/017-1/mapflags.txt",
diff --git a/npc/017-1/_mobs.txt b/npc/017-1/_mobs.txt
new file mode 100644
index 00000000..435da977
--- /dev/null
+++ b/npc/017-1/_mobs.txt
@@ -0,0 +1,20 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 017-1: Woodland Hills mobs
+017-1,0,0,0,0 monster Alizarin Plant 1037,2,0,1000
+017-1,99,30,1,0 monster Alizarin Plant 1037,1,150000,50000
+017-1,29,29,9,6 monster Log Head 1031,1,0,25000
+017-1,91,25,38,4 monster Little Green Slime 1025,3,5000,60000
+017-1,31,48,9,6 monster Little Green Slime 1025,3,5000,60000
+017-1,0,0,0,0 monster Amethyst Vein 1055,10,30,20
+017-1,0,0,0,0 monster Manana Tree 1017,5,0,0
+017-1,0,0,0,0 monster Plushroom Field 1011,5,0,0
+017-1,0,0,0,0 monster Forest Maggot 1028,5,0,0
+017-1,0,0,0,0 monster CroconutMob 1014,5,0,0
+017-1,0,0,0,0 monster PumpkinMob 1019,5,0,0
+017-1,0,0,0,0 monster Pikpik 1013,10,0,0
+017-1,0,0,0,0 monster Butterfly 1032,3,0,0
+017-1,0,0,0,0 monster Log Head 1031,3,0,0
+017-1,0,0,0,0 monster Pinkie 1030,3,0,0
+017-1,0,0,0,0 monster Bee 1029,5,0,0
+017-1,0,0,0,0 monster Mana Bug 1035,10,0,0
+017-1,0,0,0,0 monster Gamboge Plant 1038,30,20,10
diff --git a/npc/017-1/_warps.txt b/npc/017-1/_warps.txt
new file mode 100644
index 00000000..8353e0ee
--- /dev/null
+++ b/npc/017-1/_warps.txt
@@ -0,0 +1,10 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 017-1: Woodland Hills warps
+017-1,46,105,0 warp #017-1_46_105 3,0,013-1,45,21
+017-1,43,32,0 warp #017-1_43_32 0,0,017-2,26,30
+017-1,76,31,0 warp #017-1_76_31 0,0,017-3,69,68
+017-1,98,20,0 warp #017-1_98_20 0,0,017-3,83,52
+017-1,97,31,0 warp #017-1_97_31 0,0,017-3,76,65
+017-1,168,90,0 warp #017-1_168_90 0,0,056-2,34,30
+017-1,188,104,0 warp #017-1_188_104 0,0,055-1,74,21
+017-1,182,16,0 warp #017-1_182_16 2,0,045-1,25,178
diff --git a/npc/017-1/flowerpentagram1.txt b/npc/017-1/flowerpentagram1.txt
new file mode 100755
index 00000000..a1e60856
--- /dev/null
+++ b/npc/017-1/flowerpentagram1.txt
@@ -0,0 +1,80 @@
+
+017-1,95,42,0 script #FlowerPentagram1 NPC400,{
+ if (OrumQuest >= 31) goto L_PlacedFifthFlower;
+
+ if (OrumQuest > 17) goto L_PlacedFirstFlower;
+ if (OrumQuest == 17) goto L_FirstFlower;
+
+ message strcharinfo(0), "Something is odd about this place.";
+ end;
+
+L_FirstFlower:
+ mes "This looks like the place Orum described.";
+ menu
+ "Place the flower.", L_Next,
+ "Leave.", L_close;
+
+L_Next:
+ if (isin("017-1", 94, 41, 96, 43))
+ goto L_Place;
+
+ mes "You're too far away.";
+ goto L_close;
+
+L_Place:
+ set @localMonsterCount,
+ mobcount("017-1", "#FlowerPentagram1::OnSquirrelDeath") +
+ mobcount("017-1", "#FlowerPentagram1::OnScorpionDeath") +
+ 2; // the mobcount function has an offset of -1, so we add 2 to have the actual amount of monsters
+ if (@localMonsterCount > 2)
+ goto L_MonstersAlive;
+
+ if (countitem("OrangeSummonFlower") < 1)
+ goto L_NoFlower;
+ delitem "OrangeSummonFlower", 1;
+ mes "You carefully place the magic flower on the marked spot. You feel some tension in the air around you.";
+ OrumQuest = 18;
+ close2;
+ areamonster "017-1", 91, 37, 101, 46, "", 1105, 2, "#FlowerPentagram1::OnSquirrelDeath";
+ areamonster "017-1", 91, 37, 101, 46, "", 1003, 3, "#FlowerPentagram1::OnScorpionDeath";
+ @value = 15;
+ callfunc "QuestSagathaAnnoy";
+ @value = 0;
+ end;
+
+OnSquirrelDeath:
+ @mobId = 1105;
+ callfunc "MobPoints";
+ end;
+
+OnScorpionDeath:
+ @mobId = 1003;
+ 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 don't have the flower with you. Where did you put it?";
+ mes "If you can't find it, you should talk to Orum again.";
+ goto L_close;
+
+L_PlacedFirstFlower:
+ mes "You placed the first of Orum's magical flowers on this spot.";
+ mes "You can still feel the magical power shimmering around this place, waiting to be unleashed.";
+ goto L_close;
+
+L_PlacedFifthFlower:
+ mes "This is where you placed the first of Orum's magical flowers.";
+ 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/017-1/flowerpentagram5.txt b/npc/017-1/flowerpentagram5.txt
new file mode 100755
index 00000000..d13805f9
--- /dev/null
+++ b/npc/017-1/flowerpentagram5.txt
@@ -0,0 +1,137 @@
+
+017-1,176,59,0 script #FlowerPentagram5 NPC400,{
+ if (OrumQuest >= 31) goto L_PlacedFifthFlower;
+
+ if (OrumQuest == 30) goto L_FifthFlower;
+
+ message strcharinfo(0), "Something is odd about this place.";
+ end;
+
+L_FifthFlower:
+ mes "This has to be the spot for the last magical flower. When you place it, the pentagram will be completed.";
+ menu
+ "Place the flower.", L_PlaceTheFlower,
+ "Leave.", L_close;
+
+L_PlaceTheFlower:
+ if (isin("017-1", 175, 58, 177, 60))
+ goto L_Place;
+
+ mes "This isn't working, you're too far away.";
+ goto L_close;
+
+L_Place:
+ set @localMonsterCount,
+ mobcount("013-1", "#FlowerPentagram5::OnSquirrelDeath") +
+ mobcount("013-1", "#FlowerPentagram5::OnMushroomDeath") +
+ mobcount("013-1", "#FlowerPentagram5::OnBlueparDeath") +
+ mobcount("013-1", "#FlowerPentagram5::OnMoubooDeath") +
+ mobcount("013-1", "#FlowerPentagram5::OnScorpionDeath") +
+ mobcount("013-1", "#FlowerPentagram5::OnRScorpionDeath") +
+ mobcount("013-1", "#FlowerPentagram5::OnAScorpionDeath") +
+ mobcount("013-1", "#FlowerPentagram5::OnBScorpionDeath") +
+ 8; // the mobcount function has an offset of -1, so we add 8 to have the actual amount of monsters
+ if (@localMonsterCount > 4)
+ goto L_MonstersAlive;
+
+ mes "Nervous about what's going to happen, you take the last of the flowers and put it into its place.";
+ next;
+ mes "Tension builds up around you, much stronger than before. You can feel it compressing your head, and a liquid warmth spreads under your nose, leaving a metallic taste on your lips.";
+ heal -5, 0;
+ next;
+ callfunc "FlowerPentagramCount";
+ if (($@Flower_Pentagram_Time > gettimetick(2) - 3600) && ($@Flower_Pentagram_Mobcount > 15))
+ goto L_TooEarly;
+ $@Flower_Pentagram_Time = gettimetick(2);
+ if (countitem("RedSummonFlower") < 1)
+ goto L_NoFlower;
+ delitem "RedSummonFlower", 1;
+
+ mes "The pressure builds to the point where you don't think you can endure it any longer; the fabric that binds your consciousness together seemingly unravels.";
+ OrumQuest = 31;
+ close2;
+ areamonster "017-1", 170, 55, 190, 75, "", 1105, 3, "#FlowerPentagram5::OnSquirrelDeath";
+ areamonster "017-1", 170, 55, 190, 75, "", 1106, 2, "#FlowerPentagram5::OnMushroomDeath";
+ areamonster "017-1", 170, 55, 190, 75, "", 1107, 3, "#FlowerPentagram5::OnBlueparDeath";
+ areamonster "017-1", 170, 55, 190, 75, "", 1104, 2, "#FlowerPentagram5::OnMoubooDeath";
+ areamonster "017-1", 170, 55, 190, 75, "", 1003, 3, "#FlowerPentagram5::OnScorpionDeath";
+ areamonster "017-1", 170, 55, 190, 75, "", 1004, 2, "#FlowerPentagram5::OnRScorpionDeath";
+ areamonster "017-1", 170, 55, 190, 75, "", 1057, 2, "#FlowerPentagram5::OnAScorpionDeath";
+ areamonster "017-1", 170, 55, 190, 75, "", 1009, 2, "#FlowerPentagram5::OnBScorpionDeath";
+ @value = 15;
+ callfunc "QuestSagathaAnnoy";
+ @value = 0;
+ donpcevent "#FlowerPentagram::OnSummon";
+ end;
+
+OnSquirrelDeath:
+ @mobId = 1105;
+ callfunc "MobPoints";
+ end;
+
+OnMushroomDeath:
+ @mobId = 1106;
+ callfunc "MobPoints";
+ end;
+
+OnBlueparDeath:
+ @mobId = 1107;
+ callfunc "MobPoints";
+ end;
+
+OnMoubooDeath:
+ @mobId = 1104;
+ callfunc "MobPoints";
+ end;
+
+OnScorpionDeath:
+ @mobId = 1003;
+ callfunc "MobPoints";
+ end;
+
+OnRScorpionDeath:
+ @mobId = 1004;
+ callfunc "MobPoints";
+ end;
+
+OnAScorpionDeath:
+ @mobId = 1057;
+ callfunc "MobPoints";
+ end;
+
+OnBScorpionDeath:
+ @mobId = 1009;
+ callfunc "MobPoints";
+ end;
+
+L_TooEarly:
+ mes "Suddenly, everything calms down again and the tension vanishes. You find yourself confused about what's going on.";
+ next;
+ mes "You pick up the flower again.";
+ next;
+ mes "Looking at the place more closely, it seems another summoning has happened just before, leaving the pathway between this world and the astral plane drained and exhausted.";
+ next;
+ mes "You should wait a while until it recharges, or go and search for the creatures that were summoned.";
+ goto L_close;
+
+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 pocket, but you can't find the flower! You're so close to completing your task.";
+ mes "How could you lose the last flower? If you can't get it back, you have to tell Orum.";
+ goto L_close;
+
+L_PlacedFifthFlower:
+ mes "This is where you placed the last of Orum's magical flowers.";
+ 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/017-1/mapflags.txt b/npc/017-1/mapflags.txt
new file mode 100755
index 00000000..d36d3dfe
--- /dev/null
+++ b/npc/017-1/mapflags.txt
@@ -0,0 +1 @@
+//017-1 mapflag resave 017-1,107,70