summaryrefslogtreecommitdiff
path: root/world/map/npc/018-1
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-05-02 09:45:15 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2013-05-27 19:33:44 +0200
commit8026a250ed89de5298a42422126f33e0a5d9373f (patch)
treed6848af45d851ca3084d5790f47a47ae3db63943 /world/map/npc/018-1
parent80074793f51cc8038f7ea14dbd9432a9923bd3fa (diff)
downloadserverdata-8026a250ed89de5298a42422126f33e0a5d9373f.tar.gz
serverdata-8026a250ed89de5298a42422126f33e0a5d9373f.tar.bz2
serverdata-8026a250ed89de5298a42422126f33e0a5d9373f.tar.xz
serverdata-8026a250ed89de5298a42422126f33e0a5d9373f.zip
Add flowerpentagram npcs to do the summoning.
Diffstat (limited to 'world/map/npc/018-1')
-rw-r--r--world/map/npc/018-1/_import.txt1
-rw-r--r--world/map/npc/018-1/flowerpentagram3.txt91
2 files changed, 92 insertions, 0 deletions
diff --git a/world/map/npc/018-1/_import.txt b/world/map/npc/018-1/_import.txt
index 21971544..0089f9c3 100644
--- a/world/map/npc/018-1/_import.txt
+++ b/world/map/npc/018-1/_import.txt
@@ -3,6 +3,7 @@
map: 018-1.gat
npc: npc/018-1/_mobs.txt
npc: npc/018-1/_warps.txt
+npc: npc/018-1/flowerpentagram3.txt
npc: npc/018-1/mike.txt
npc: npc/018-1/miners.txt
npc: npc/018-1/sword.txt
diff --git a/world/map/npc/018-1/flowerpentagram3.txt b/world/map/npc/018-1/flowerpentagram3.txt
new file mode 100644
index 00000000..e80a6317
--- /dev/null
+++ b/world/map/npc/018-1/flowerpentagram3.txt
@@ -0,0 +1,91 @@
+// Author: Jenalya
+
+018-1.gat,83,29,0|script|#FlowerPentagram3|400,{
+
+ if (OrumQuest >= 31) goto L_PlacedFifthFlower;
+
+ if (OrumQuest > 23) goto L_PlacedThirdFlower;
+ if (OrumQuest == 23) goto L_ThirdFlower;
+
+ message strcharinfo(0), "Something is odd with 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.", -,
+ "Leave.", L_Close;
+
+ if (isin("018-1.gat", 82, 28, 84, 30))
+ goto L_Place;
+
+ mes "This doesn't work, you're too far away.";
+ goto L_Close;
+
+L_Place:
+// if ((countitem("TODO:name") < 1))
+// goto L_NoFlower;
+// delitem "TODO:name", 1;
+ mes "Knowing what will happen, you prepare yourself for a fight. Then you go ahead and place the magical flower.";
+ mes "You feel the familiar tension around you. Here they come.";
+ set OrumQuest, 24;
+ close2;
+ areamonster "018-1.gat", 73, 22, 89, 36, "", 1105, 1, "#FlowerPentagram3::OnSquirrelDeath";
+ areamonster "018-1.gat", 73, 22, 89, 36, "", 1106, 2, "#FlowerPentagram3::OnMushroomDeath";
+ areamonster "018-1.gat", 73, 22, 89, 36, "", 1107, 1, "#FlowerPentagram3::OnBlueparDeath";
+ areamonster "018-1.gat", 73, 22, 89, 36, "", 1003, 2, "#FlowerPentagram3::OnScorpionDeath";
+ areamonster "018-1.gat", 73, 22, 89, 36, "", 1004, 1, "#FlowerPentagram3::OnRScorpionDeath";
+ areamonster "018-1.gat", 73, 22, 89, 36, "", 1057, 2, "#FlowerPentagram3::OnAScorpionDeath";
+ set @value, 15;
+ callfunc "QuestSagathaAnnoy";
+ set @value, 0;
+ end;
+
+OnSquirrelDeath:
+ set @mobID, 1105;
+ callfunc "MobPoints";
+ end;
+
+OnMushroomDeath:
+ set @mobID, 1106;
+ callfunc "MobPoints";
+ end;
+
+OnBlueparDeath:
+ set @mobID, 1107;
+ callfunc "MobPoints";
+ end;
+
+OnScorpionDeath:
+ set @mobID, 1003;
+ callfunc "MobPoints";
+ end;
+
+OnRScorpionDeath:
+ set @mobID, 1004;
+ callfunc "MobPoints";
+ end;
+
+OnAScorpionDeath:
+ set @mobID, 1057;
+ callfunc "MobPoints";
+ end;
+
+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 loose it somewhere along the way? If you can't find it again, go talk to Orum.";
+ goto L_Close;
+
+L_PlacedThirdFlower:
+ mes "You see the place where you put the third of Orum's magical flowers.";
+ mes "You can feel the magic power around the place, waiting to be unleashed.";
+ goto L_Close;
+
+L_PlacedFifthFlower:
+ mes "You remember this place. Here you put the third of Orum's magical flowers.";
+ mes "But after the pentagram was finished and the summoning happened, everything is back to normal with this spot.";
+ goto L_Close;
+
+L_Close:
+ close;
+}