summaryrefslogtreecommitdiff
path: root/npc/011-6
diff options
context:
space:
mode:
authorWombat <hpwombat@yahoo.com>2010-10-13 14:33:00 -0400
committerStefan Beller <stefanbeller@googlemail.com>2010-11-07 14:52:31 +0100
commit4bb4c388174c9efb583852d27a6d67f603376eb8 (patch)
treee4beff923097c773ab607ef7e1417fe27b65c161 /npc/011-6
parent001a9d1e61b1785998b26bf30b8c5d103a3c2a65 (diff)
downloadserverdata-4bb4c388174c9efb583852d27a6d67f603376eb8.tar.gz
serverdata-4bb4c388174c9efb583852d27a6d67f603376eb8.tar.bz2
serverdata-4bb4c388174c9efb583852d27a6d67f603376eb8.tar.xz
serverdata-4bb4c388174c9efb583852d27a6d67f603376eb8.zip
Bandit Quest and fixes to peter, mikhail
Bandit quest changes, fixes to peter and mikhail, 011-6 mobs
Diffstat (limited to 'npc/011-6')
-rw-r--r--npc/011-6/_import.txt1
-rw-r--r--npc/011-6/_mobs.txt24
-rw-r--r--npc/011-6/_warps.txt2
-rw-r--r--npc/011-6/bryant.txt53
4 files changed, 79 insertions, 1 deletions
diff --git a/npc/011-6/_import.txt b/npc/011-6/_import.txt
index 10bf382d..ae38662c 100644
--- a/npc/011-6/_import.txt
+++ b/npc/011-6/_import.txt
@@ -1,3 +1,4 @@
map: 011-6.gat
npc: npc/011-6/_mobs.txt
npc: npc/011-6/_warps.txt
+npc: npc/011-6/bryant.txt
diff --git a/npc/011-6/_mobs.txt b/npc/011-6/_mobs.txt
index dda63569..9b6fc0a5 100644
--- a/npc/011-6/_mobs.txt
+++ b/npc/011-6/_mobs.txt
@@ -1,7 +1,31 @@
// 011-6 mobs
+011-6.gat,0,0,0,0 monster Spiky Mushroom 1019,30,30000,100000,Mob011-6::On1019
+011-6.gat,0,0,0,0 monster Evil Mushroom 1013,15,30000,100000,Mob011-6::On1013
+011-6.gat,115,79,191,110 monster Bandit 1063,8,30000,100000,Mob011-6::On1063
+011-6.gat,0,0,0,0 monster Bat 1017,30,30000,100000,Mob011-6::On1017
011-6.gat,0,0,0 script Mob011-6 -1,{
+On1013:
+ set @mobID, 1013;
+ callfunc "MobPoints";
+ break;
+
+On1017:
+ set @mobID, 1017;
+ callfunc "MobPoints";
+ break;
+
+On1019:
+ set @mobID, 1019;
+ callfunc "MobPoints";
+ break;
+
+On1063:
+ set @mobID, 1063;
+ callfunc "MobPoints";
+ break;
+
end;
}
diff --git a/npc/011-6/_warps.txt b/npc/011-6/_warps.txt
index 7e3b6f5e..545bc386 100644
--- a/npc/011-6/_warps.txt
+++ b/npc/011-6/_warps.txt
@@ -22,4 +22,4 @@
011-6.gat,186,182 warp warp -1,-1,011-4.gat,31,7
011-6.gat,266,182 warp warp -1,-1,011-4.gat,45,120
011-6.gat,174,256 warp warp -1,-1,011-6.gat,264,238
-011-6.gat,264,236 warp warp -2,-2,011-6.gat,174,253
+011-6.gat,264,236 warp warp -1,-1,011-6.gat,174,252
diff --git a/npc/011-6/bryant.txt b/npc/011-6/bryant.txt
new file mode 100644
index 00000000..07c5453d
--- /dev/null
+++ b/npc/011-6/bryant.txt
@@ -0,0 +1,53 @@
+//NPC to set the state for killing the bandit lord.
+
+011-6.gat,27,200,0 script Bryant 126,{
+
+ if (TMW_Quest >= 45) goto L_Bryant_Quiet;
+ if (TMW_Quest == 44) goto L_Bryant_Waits;
+ if (TMW_Quest == 43) goto L_Bryant_Summon;
+
+ mes "[Bryant]";
+ mes "\"I'm looking everywhere for the bandit leader. I can't seem to find him.\"";
+ close;
+
+L_Bryant_Summon:
+ mes "[Bryant]";
+ mes "\"I ran into that bandit lord and he got me good. I'm going to stay here for a while and heal. He dropped this key. Take it. You might be able to handle him better than I could.\"";
+ next;
+ mes "Bryant gives you a key, shaped to look like a small silver arrow.";
+ next;
+ mes "\"I believe I saw him run into a cave south and east of here. There is a red carpet in front of the cave entrance. Be careful and good luck.\"";
+ set TMW_Quest, 44;
+ monster "011-6.gat",260,250,"BanditLord",1064,1, "Bryant::onBanditLordDead";
+ close;
+
+onBanditLordDead:
+ set TMW_Quest, 45;
+ message strcharinfo(0), "You killed the bandit lord.";
+ end;
+
+L_Bryant_Waits:
+ mes "[Bryant]";
+ mes "\"I think the bandit lord is still around. I fear this could be dangerous for the people of Hurnscald. When you went to the cave with the red carpet in front of it, did you find him and kill him?\"";
+ menu
+ "No.", L_Bryant_No,
+ "Yes.", L_Bryant_Yes;
+ close;
+
+L_Bryant_No:
+ mes "[Bryant]";
+ mes "\"Well, maybe he ran off. I'm pretty sure he should be there now.\"";
+ killmonster "011-6.gat", "Bryant::onBanditLordDead";
+ monster "011-6.gat",260,250,"BanditLord",1064,1, "Bryant::onBanditLordDead";
+ close;
+
+L_Bryant_Yes:
+ mes "[Bryant]";
+ mes "\"I don't think you killed him. Please try to find and kill him. He should be in the cave south and east of here with the red carpet in front of it.\"";
+ close;
+
+L_Bryant_Quiet:
+ mes "[Bryant]";
+ mes "\"Glad that bandit leader got what was coming to him.\"";
+ close;
+}