summaryrefslogtreecommitdiff
path: root/npc/011-6
diff options
context:
space:
mode:
Diffstat (limited to 'npc/011-6')
-rw-r--r--npc/011-6/_import.txt8
-rw-r--r--npc/011-6/_mobs.txt49
-rw-r--r--npc/011-6/_warps.txt24
-rwxr-xr-xnpc/011-6/barrier.txt15
-rwxr-xr-xnpc/011-6/bryant.txt73
-rwxr-xr-xnpc/011-6/crastur.txt220
-rwxr-xr-xnpc/011-6/mapflags.txt1
7 files changed, 390 insertions, 0 deletions
diff --git a/npc/011-6/_import.txt b/npc/011-6/_import.txt
new file mode 100644
index 00000000..f8211577
--- /dev/null
+++ b/npc/011-6/_import.txt
@@ -0,0 +1,8 @@
+// Map 011-6: Bandit Cave
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/011-6/_mobs.txt",
+"npc/011-6/_warps.txt",
+"npc/011-6/barrier.txt",
+"npc/011-6/bryant.txt",
+"npc/011-6/crastur.txt",
+"npc/011-6/mapflags.txt",
diff --git a/npc/011-6/_mobs.txt b/npc/011-6/_mobs.txt
new file mode 100644
index 00000000..7c62f07f
--- /dev/null
+++ b/npc/011-6/_mobs.txt
@@ -0,0 +1,49 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 011-6: Bandit Cave mobs
+011-6,152,72,141,63 monster Mana Bug 1035,9,30000,100000
+011-6,263,38,15,17 monster Robin Bandit 1064,1,30000,30000
+011-6,262,114,19,19 monster Robin Bandit 1064,1,30000,30000
+011-6,132,119,8,10 monster Robin Bandit 1064,1,30000,30000
+011-6,170,66,8,10 monster Robin Bandit 1064,1,30000,30000
+011-6,67,70,8,10 monster Robin Bandit 1064,1,30000,30000
+011-6,196,107,8,10 monster Robin Bandit 1064,1,30000,30000
+011-6,196,29,8,10 monster Robin Bandit 1064,1,30000,30000
+011-6,36,37,8,10 monster Robin Bandit 1064,1,30000,30000
+011-6,112,40,22,24 monster Robin Bandit 1064,2,30000,60000
+011-6,31,99,8,10 monster Robin Bandit 1064,1,30000,30000
+011-6,223,250,61,32 monster Manana Tree 1017,5,30000,100000
+011-6,224,175,59,12 monster Manana Tree 1017,3,30000,100000
+011-6,257,77,2,63 monster Manana Tree 1017,6,30000,100000
+011-6,192,77,2,63 monster Manana Tree 1017,9,30000,100000
+011-6,167,110,43,6 monster Manana Tree 1017,9,30000,100000
+011-6,75,70,52,48 monster Manana Tree 1017,23,30000,100000
+011-6,78,195,64,48 monster Manana Tree 1017,9,30000,100000
+011-6,168,109,18,18 monster PumpkinMob 1019,5,30000,100000
+011-6,199,76,18,18 monster PumpkinMob 1019,5,30000,100000
+011-6,88,163,14,13 monster PumpkinMob 1019,5,30000,100000
+011-6,48,113,17,9 monster PumpkinMob 1019,5,30000,100000
+011-6,177,94,10,14 monster Pikpik 1013,4,30000,100000
+011-6,194,49,10,14 monster Pikpik 1013,2,30000,100000
+011-6,51,115,23,12 monster Pikpik 1013,2,30000,100000
+011-6,63,169,6,8 monster Pikpik 1013,2,30000,100000
+011-6,100,226,14,7 monster PumpkinMob 1019,3,30000,100000
+011-6,260,44,26,8 monster PumpkinMob 1019,3,30000,100000
+011-6,272,48,10,14 monster Pikpik 1013,2,30000,100000
+011-6,95,78,15,12 monster Little Blub 1007,5,30000,100000
+011-6,59,36,9,12 monster Little Blub 1007,5,30000,100000
+011-6,26,69,9,12 monster Little Blub 1007,5,30000,100000
+011-6,61,101,7,5 monster Little Blub 1007,3,30000,100000
+011-6,50,61,4,6 monster Little Blub 1007,3,30000,100000
+011-6,128,39,4,6 monster Little Blub 1007,3,30000,100000
+011-6,41,178,4,6 monster Little Blub 1007,1,30000,100000
+011-6,70,229,4,6 monster Little Blub 1007,1,30000,100000
+011-6,20,204,4,6 monster Little Blub 1007,1,30000,100000
+011-6,114,190,4,6 monster Little Blub 1007,4,30000,100000
+011-6,137,205,4,6 monster Little Blub 1007,2,30000,100000
+011-6,79,220,14,7 monster Dummy 1021,3,30000,100000
+011-6,115,210,14,7 monster Dummy 1021,3,30000,100000
+011-6,41,193,15,15 monster Dummy 1021,3,30000,100000
+011-6,70,143,15,15 monster Dummy 1021,3,30000,100000
+011-6,97,183,14,7 monster Dummy 1021,3,30000,100000
+011-6,172,252,4,6 monster Beehive 1056,4,30000,100000
+011-6,263,236,8,2 monster Beehive 1056,3,30000,100000
diff --git a/npc/011-6/_warps.txt b/npc/011-6/_warps.txt
new file mode 100644
index 00000000..374205bd
--- /dev/null
+++ b/npc/011-6/_warps.txt
@@ -0,0 +1,24 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 011-6: Bandit Cave warps
+011-6,51,75,0 warp #011-6_51_75 0,0,011-6,260,127
+011-6,61,71,0 warp #011-6_61_71 0,0,011-6,270,124
+011-6,270,125,0 warp #011-6_270_125 0,0,011-6,61,72
+011-6,260,128,0 warp #011-6_260_128 0,0,011-6,51,76
+011-6,145,118,0 warp #011-6_145_118 0,0,011-6,47,119
+011-6,196,26,0 warp #011-6_196_26 0,0,011-6,261,46
+011-6,261,47,0 warp #011-6_261_47 0,0,011-6,196,27
+011-6,271,52,0 warp #011-6_271_52 0,0,011-6,98,31
+011-6,98,30,0 warp #011-6_98_30 0,0,011-6,271,51
+011-6,47,120,0 warp #011-6_47_120 0,0,011-6,145,117
+011-6,49,101,0 warp #011-6_49_101 0,0,011-1,38,37
+011-6,24,206,0 warp #011-6_24_206 0,0,011-4,16,58
+011-6,47,185,0 warp #011-6_47_185 0,0,011-4,39,36
+011-6,97,169,0 warp #011-6_97_169 0,0,011-4,89,21
+011-6,113,182,0 warp #011-6_113_182 0,0,011-4,106,33
+011-6,122,211,0 warp #011-6_122_211 0,0,011-4,115,62
+011-6,94,225,0 warp #011-6_94_225 0,0,011-4,87,76
+011-6,68,235,0 warp #011-6_68_235 0,0,011-4,62,87
+011-6,251,278,0 warp #011-6_251_278 0,0,011-4,111,122
+011-6,186,182,0 warp #011-6_186_182 1,0,011-4,32,6
+011-6,266,182,0 warp #011-6_266_182 0,0,011-4,45,119
+011-6,174,256,0 warp #011-6_174_256 0,0,011-6,264,237
diff --git a/npc/011-6/barrier.txt b/npc/011-6/barrier.txt
new file mode 100755
index 00000000..8de20cc9
--- /dev/null
+++ b/npc/011-6/barrier.txt
@@ -0,0 +1,15 @@
+011-6,264,236,0 script #BL_Barrier2 NPC45,0,0,{
+ @state = ((QUEST_Hurnscald & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT);
+
+ if (@state >= 6) goto L_Lord_Hideout_Open;
+ message strcharinfo(0), "You have a feeling that you should not enter this place now.";
+ goto L_End;
+
+L_Lord_Hideout_Open:
+ warp "011-6",174,255;
+ goto L_End;
+
+L_End:
+ @state = 0;
+ end;
+}
diff --git a/npc/011-6/bryant.txt b/npc/011-6/bryant.txt
new file mode 100755
index 00000000..c2de975f
--- /dev/null
+++ b/npc/011-6/bryant.txt
@@ -0,0 +1,73 @@
+
+011-6,27,200,0 script Bryant NPC126,{
+ @state = ((QUEST_Hurnscald & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT);
+
+ if (@state >= 5) goto L_Bryant_Quiet;
+ if (@state == 4) goto L_Bryant_Waits;
+ if (@state == 3) goto L_Bryant_Summon;
+
+ mes "[Bryant]";
+ mes "\"I'm looking everywhere for the bandit leader. I can't seem to find him.\"";
+ goto L_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.\"";
+ @state = 4;
+ callsub S_Update_Var;
+ monster "011-6",260,250,"BanditLord",1065,1, "Bryant::OnBanditLordDead";
+ goto L_close;
+
+OnBanditLordDead:
+ message strcharinfo(0), "You killed the bandit lord.";
+ @state = ((QUEST_Hurnscald & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT);
+ if (@state != 4)
+ goto L_End;
+ @state = 5;
+ callsub S_Update_Var;
+ BOSS_POINTS = BOSS_POINTS + 20;
+ message strcharinfo(0), "You gain 20 Boss Points giving you a total of " + BOSS_POINTS + ".";
+ goto L_End;
+
+L_End:
+ @state = 0;
+ 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;
+
+L_Bryant_No:
+ mes "[Bryant]";
+ mes "\"Well, maybe he ran off. I'm pretty sure he should be there now.\"";
+ killmonster "011-6", "Bryant::OnBanditLordDead";
+ monster "011-6",260,250,"BanditLord",1065,1, "Bryant::OnBanditLordDead";
+ goto L_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.\"";
+ killmonster "011-6", "Bryant::OnBanditLordDead";
+ monster "011-6",260,250,"BanditLord",1065,1, "Bryant::OnBanditLordDead";
+ goto L_close;
+
+L_Bryant_Quiet:
+ mes "[Bryant]";
+ mes "\"Glad that bandit leader got what was coming to him.\"";
+ goto L_close;
+
+L_close:
+ @state = 0;
+ close;
+
+S_Update_Var:
+ QUEST_Hurnscald = (QUEST_Hurnscald & ~(NIBBLE_0_MASK) | (@state << NIBBLE_0_SHIFT));
+ return;
+}
diff --git a/npc/011-6/crastur.txt b/npc/011-6/crastur.txt
new file mode 100755
index 00000000..5042d0e5
--- /dev/null
+++ b/npc/011-6/crastur.txt
@@ -0,0 +1,220 @@
+011-6,172,250,0 script Crastur the Ugly NPC418,{
+ @spants_state = ((QUEST_WG_state & NIBBLE_2_MASK) >> NIBBLE_2_SHIFT);
+ @inspector = ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT);
+ if (@spants_state < 3) goto L_Regular;
+ if (@spants_state == 3) goto L_Ask;
+ if (@spants_state == 4 || @spants_state == 5 || @spants_state == 6) goto L_Ask_Again;
+ goto L_Main;
+
+
+L_Ask:
+ mes "[Crastur]";
+ mes "";
+ mes "\"Well, well, well\"";
+ next;
+ mes "[Crastur]";
+ mes "";
+ mes "\"Just look who arrived here\"";
+ emotion EMOTE_EVIL, strcharinfo(0);
+ next;
+ mes "[Crastur]";
+ mes "";
+ mes "\"If this isn't the person that cleared my way to success\"";
+ menu
+ "\"Who? Me?\"", L_Unsure,
+ "\"Yes I killed the Bandit Lord, but not to make room for more scumbags\"", L_Insult,
+ "\"I heard you know a lot\"", L_Ask_Cont,
+ "\"Ugh, no. I have to leave now. Bye.\"", L_close;
+
+L_Ask_Again:
+ mes "[Crastur]";
+ mes "";
+ mes "\"Hello again\"";
+ mes "\"Did you do your part of the deal yet?\"";
+ menu
+ "\"No, I wanted to know if you can tell me anything about me\"", L_Personal,
+ "\"Probably not, what was that again?\"", L_Pirate_Proof,
+ "\"Yes, check this Bandana I brought.\"", L_Bandana,
+ "\"No Idea, Bye.\"", L_close;
+
+L_Ask_Cont:
+ mes "[Crastur]";
+ mes "";
+ mes "\"Yes I do, for a price.\"";
+ menu
+ "Explain Hetchels story", L_Jibber,
+ "Interesting", L_Main;
+
+L_Jibber:
+ mes "You begin to tell Crastur about Hetchel and her Problems";
+ next;
+ mes "Crastur interrupts you";
+ mes "[Crastur]";
+ mes "";
+ mes "\"I do not care about petty problems, get to the point!\"";
+ @spants_state = 4;
+ callsub S_Update_Spants;
+ menu
+ "\"Hetchel needs the Plans for Cotton Trousers Stolen from Lora Tay\"", L_Jibber_Cont,
+ "\"Don't talk to me like that\" (Leave)", L_close;
+
+L_Jibber_Cont:
+ mes "[Crastur]";
+ mes "";
+ mes "\"this can be done quickly\"";
+ next;
+ mes "Crastur pauses and checks his papers";
+ mes "\"...\"";
+ next;
+ mes "[Crastur]";
+ mes "";
+ mes "\"The issue here is\"";
+ mes "\"you have literally nothing that is of any value to me\"";
+ next;
+ mes "[Crastur]";
+ mes "";
+ mes "\"Although... Since you claim to be a hero and everything...\"";
+ mes "\"I do have a problem with those pirates in Tulimshar. They are ruining my Business\"";
+ next;
+ mes "[Crastur]";
+ mes "";
+ mes "\"Bring me proof that you killed all of the pirates!\"";
+ next;
+ @spants_state = 5;
+ callsub S_Update_Spants;
+ menu
+ "\"I have it right here\"", L_Bandana,
+ "\"What kind of proof?\"", L_Pirate_Proof;
+
+
+L_Pirate_Proof:
+ mes "[Crastur]";
+ mes "";
+ mes "\"It is for sure the Pirates give their souls for the rescue of their booty.\"";
+ mes "\"Bring me something unique from their treasure and I will give you those plans in return.\"";
+ menu
+ "\"I have it with me.\"", L_Bandana,
+ "\"I will try my best.\"", L_close;
+
+L_Bandana:
+ getinventorylist;
+ if (countitem("Bandana") < 1) goto L_No_Item;
+ if (@spants_state != 6) goto L_Wrong_Item;
+ mes "Crasturs gazes at the bandana in your hand. He scratches his right arm, then he nods";
+ mes "[Crastur]";
+ mes "";
+ mes "\"I am a man of honour, I always pay my debt\"";
+ next;
+ mes "[Crastur]";
+ mes "";
+ mes "\"Here, I couldnt get the original Sheet but this copy should do well enough\"";
+ next;
+ mes "\"Crastur hands you a page ripped out of his Almanach that has dotted lines in green and red Ink all over it";
+ next;
+ mes "You put the plans into a hidden pocket";
+ @spants_state = 7;
+ callsub S_Update_Spants;
+ goto L_close;
+
+L_No_Item:
+ mes "[Crastur]";
+ mes "";
+ mes "\"What Bandana are we talking about? - Next time you come to me, bring your stuff.\"";
+ goto L_close;
+
+L_Wrong_Item:
+ mes "Crastur takes a look at the bandana.";
+ next;
+ mes "[Crastur]";
+ mes "THIS IS NOT FROM THE PIRATES FROM TULIMSHAR, it is a cheap scam.";
+ emotion EMOTE_PERTURBED, strcharinfo(0);
+ mes "As far as you can tell through his mask he seems very mad";
+ goto L_Insult;
+
+L_Regular:
+ mes "[Crastur]";
+ mes "";
+ mes "\"Well, well, well\"";
+ next;
+ mes "[Crastur]";
+ mes "";
+ mes "\"Just look who arrived here\"";
+ next;
+ mes "[Crastur]";
+ mes "";
+ mes "\"If this isn't the person that cleared my way to success\"";
+ menu
+ "\"Who? Me?\"", L_Unsure,
+ "\"Yes I killed the Bandit Lord, but not to make room for more scumbags\"", L_Insult,
+ "\"Ugh, no. I have to leave now. Bye.\"", L_close;
+
+L_Insult:
+ npctalk strnpcinfo(0), "Crastur : Die " + strcharinfo(0) + "!";
+ heal -10000, 0;
+ emotion EMOTE_VICIOUS;
+ mes "[Crastur]";
+ mes "";
+ mes "\"Oh I am so sorry, my Dagger must have slipped\"";
+ goto L_close;
+
+L_Unsure:
+ mes "[Crastur]";
+ mes "";
+ mes "\"Yes I hid in a corner while you killed my former master\"";
+ mes "\"When he left I claimed command over Argaeses Rats, Caves and Dungeons.\"";
+ mes "\"Do not underestimate me, I do know a lot more than you might guess\"";
+ goto L_Main;
+
+L_Main:
+ if((@inspector >= 1 && @inspector <= 7) || @inspector == 9) goto L_Main_Inspector;
+ menu
+ "\"What things do you know about me?\"", L_Personal,
+ "\"Bye\"", L_close;
+
+L_Main_Inspector:
+ menu
+ "\"What things do you know about me?\"", L_Personal,
+ "\"Do you know anything about the Robberies in Hurnscald?\"", L_Hurnscald,
+ "\"Bye\"", L_close;
+
+L_Personal:
+ mes "";
+ mes "Crastur digs in a pile of old paper";
+ next;
+ mes "[Crastur]";
+ mes "";
+ mes "\"Ah. Here it is:\"";
+ mes "\"Today you have accomplished tasks that are worth " + DailyQuestPoints + " Hours in the Northern Mines\"";
+ next;
+ if (BOSS_POINTS < 1000) goto L_Worm;
+ emotion EMOTE_DEAD, strcharinfo(0);
+ mes "[Crastur]";
+ mes "";
+ mes "\"Also you seem to be quite a hero, it appears you have a record in the Almanach\"";
+ mes "Crastur turns a giant book upside down";
+ mes "\"According to this you have gained " + BOSS_POINTS / 1000 + "thousand Points in the eternal charts already.\"";
+ mes "Crastur shudders";
+ goto L_close;
+
+L_Worm:
+ emotion EMOTE_SUSPICIOUS, strcharinfo(0);
+ mes "[Crastur]";
+ mes "\"Other than that you have not done anything notable for the mana world.\"";
+ goto L_close;
+
+L_Hurnscald:
+ emotion EMOTE_FACEPALM, strcharinfo(0);
+ mes "Crastur makes a barking sound that probably was meant as a laugh.";
+ mes "[Crastur]";
+ mes "";
+ mes "\"I am sorry but it is not in my best interest to talk about my business with you.\"";
+ goto L_close;
+
+S_Update_Spants:
+ QUEST_WG_state = (QUEST_WG_state & ~(NIBBLE_2_MASK) | (@spants_state << NIBBLE_2_SHIFT));
+ return;
+
+L_close:
+ @spants_state = 0;
+ close;
+}
diff --git a/npc/011-6/mapflags.txt b/npc/011-6/mapflags.txt
new file mode 100755
index 00000000..6ff6bebe
--- /dev/null
+++ b/npc/011-6/mapflags.txt
@@ -0,0 +1 @@
+//011-6 mapflag resave 011-1,103,34