summaryrefslogtreecommitdiff
path: root/npc/002-1_Sandstorm
diff options
context:
space:
mode:
Diffstat (limited to 'npc/002-1_Sandstorm')
-rw-r--r--npc/002-1_Sandstorm/_import.txt4
-rw-r--r--npc/002-1_Sandstorm/_warps.txt3
-rw-r--r--npc/002-1_Sandstorm/lieutenant_dausen.txt110
-rw-r--r--npc/002-1_Sandstorm/nickos.txt102
-rw-r--r--npc/002-1_Sandstorm/sandstorm_mine_barrier.txt14
-rw-r--r--npc/002-1_Sandstorm/stewen.txt23
6 files changed, 254 insertions, 2 deletions
diff --git a/npc/002-1_Sandstorm/_import.txt b/npc/002-1_Sandstorm/_import.txt
index 0066d7bd..8bdb052b 100644
--- a/npc/002-1_Sandstorm/_import.txt
+++ b/npc/002-1_Sandstorm/_import.txt
@@ -1,6 +1,10 @@
map: 002-1.gat
npc: npc/002-1_Sandstorm/_mobs.txt
npc: npc/002-1_Sandstorm/_warps.txt
+npc: npc/002-1_Sandstorm/lieutenant_dausen.txt
npc: npc/002-1_Sandstorm/merchant.txt
+npc: npc/002-1_Sandstorm/nickos.txt
npc: npc/002-1_Sandstorm/nomads.txt
npc: npc/002-1_Sandstorm/rogue.txt
+npc: npc/002-1_Sandstorm/sandstorm_mine_barrier.txt
+npc: npc/002-1_Sandstorm/stewen.txt
diff --git a/npc/002-1_Sandstorm/_warps.txt b/npc/002-1_Sandstorm/_warps.txt
index 5153e83b..fa86b539 100644
--- a/npc/002-1_Sandstorm/_warps.txt
+++ b/npc/002-1_Sandstorm/_warps.txt
@@ -1,7 +1,6 @@
// 002-1 Sandstorm warps
002-1.gat,58,12 warp ToTulimshar 3,-1,001-1.gat,44,80
-002-1.gat,108,79 warp ToEasternDesert -1,1,005-1.gat,23,40
+002-1.gat,108,79 warp ToEasternDesert -1,1,005-1.gat,23,40
002-1.gat,12,66 warp ToWesternDesert -1,3,003-1.gat,168,76
002-1.gat,28,13 warp ToBeach 1,-1,004-1.gat,84,111
-002-1.gat,20,94 warp ToCave -1,-1,002-3.gat,37,32
diff --git a/npc/002-1_Sandstorm/lieutenant_dausen.txt b/npc/002-1_Sandstorm/lieutenant_dausen.txt
new file mode 100644
index 00000000..65616a72
--- /dev/null
+++ b/npc/002-1_Sandstorm/lieutenant_dausen.txt
@@ -0,0 +1,110 @@
+// Lieutenant in charge of monitoring the monster threat surrounding the city.
+
+002-1.gat,54,27,0 script Lieutenant Dausen 122,{
+
+ if (TMW_Quest == 33) goto L_LD_Key;
+ if (TMW_Quest == 19) goto L_LD_Miners;
+ if (TMW_Quest == 18) goto L_LD_Orders;
+ if (TMW_Quest == 17) goto L_LD_Nickos_Waits;
+ if (TMW_Quest == 16) goto L_LD_Nickos;
+ if (TMW_Quest == 15) goto L_LD_Waits;
+ if (TMW_Quest == 14) goto L_LD_Woe_Is_Me;
+ if (TMW_Quest == 13) goto L_LD_Drinks;
+ if (TMW_Quest == 12) goto L_LD_Start;
+
+ mes "[Lieutenant Dausen]";
+ mes "\"Hello. I am Lieutenant Dausen. I monitor the monster threats surrounding the city to ensure the safety of its citizens.\"";
+ close;
+
+L_LD_Start:
+ set TMW_Quest, 13;
+ mes "[Lieutenant Dausen]";
+ mes "\"Our here in the desert, it sure does get hot. My men and I get thirsty rather quickly. If you can get some cactus drinks, our favorite, we'd surely appreciate your effort. About 10 will do.\"";
+ close;
+
+L_LD_Drinks:
+ if (countitem ("CactusDrink") < 10) goto L_LD_NotEnough_Drink;
+ getinventorylist;
+ if (@inventorylist_count - (countitem("CactusDrink") == 10) > 99) goto L_LD_TooMany;
+ set TMW_Quest, 14;
+ delitem "CactusDrink", 10;
+ getitem "Boots", 1;
+ mes "[Lieutenant Dausen]";
+ mes "\"Great! This will help us make it through the hot day. As a gift for your troubles, take these boots to keep your feet from burning on the sand. Have a good day..\"";
+ next;
+ mes "Mumbles to himself and rubs his head.";
+ next;
+ mes "\"However, I have a problem. I mixed up the orders to my men Nickos and Steven. If someone would let them know they're going to have to hold their post for a while longer instead of taking a break, it would help me a great deal. However, I can't leave my post. Oh what to do, what to do..\"";
+ menu
+ "Oh, it wouldn't be a bother to me to help you out, since you helped me out.", L_LD_Help,
+ "Thanks for the boots, gotta run.", L_LD_NoHelp;
+ close;
+
+L_LD_NotEnough_Drink:
+ mes "[Lieutenant Dausen]";
+ mes "\"Hi again. My men and I sure are thirsty for our favorite drink, the cactus drink. If we had about 10, it would help us out a great deal in this sandstorm.\"";
+ close;
+
+L_LD_TooMany:
+ mes "[Lieutenant Dausen]";
+ mes "\"Oh, it seems you have too many items for me to give you a reward. Come back after you drop or sell some items.\"";
+ close;
+
+L_LD_Woe_Is_Me:
+ mes "[Lieutenant Dausen]";
+ mes "\"I have a problem. I mixed up the orders to my men. If someone would let them know they're going to have to hold their post for a while longer instead of taking a break, it would help me a great deal. However, I can't leave my post. Oh what to do, what to do..\"";
+ menu
+ "Oh, it wouldn't bother me to help you out, since you helped me out", L_LD_Help,
+ "Bye bye.", L_LD_NoHelp;
+ close;
+
+L_LD_Help:
+ set TMW_Quest, 15;
+ mes "[Lieutenant Dausen]";
+ mes "\"Oh! You would! You are ever most helpful. Could you let Stewen know first. I worry about the monsters from the eastern desert and he should know before anyone to hold his post. Hope to hear from you soon!\"";
+ close;
+
+L_LD_NoHelp:
+ mes "[Lieutenant Dausen]";
+ mes "\"See you later.\"";
+ close;
+
+L_LD_Waits:
+ mes "[Lieutenant Dausen]";
+ mes "\"I hope Stewen holds his post. If you could tell them to do so, it would help me out a great deal.\"";
+ close;
+
+L_LD_Nickos:
+ set TMW_Quest, 17;
+ mes "[Lieutenant Dausen]";
+ mes "\"Thanks for letting Stewen know. Can you now tell Nickos to hold his post? He guards the mine to the south, monitoring the monster threat and protecting the miners when he can.\"";
+ close;
+
+L_LD_Nickos_Waits:
+ mes "[Lieutenant Dausen]";
+ mes "\"Can you let Nickos know to hold his post? It would help out a great deal. He is guarding the mine to the south of here.\"";
+ close;
+
+L_LD_Orders:
+ set TMW_Quest, 19;
+ set zeny, zeny + 500;
+ mes "[Lieutenant Dausen]";
+ mes "\"Thank you for clearing up the orders to my men. Here's some gold for your assistance.\"";
+ next;
+ mes "\"If you think you can handle these monster threats out here, I'm sure Nickos and the miners could use some help. Talk to you later.\"";
+ close;
+
+L_LD_Miners:
+ mes "[Lieutenant Dausen]";
+ mes "\"I monitor the monster threats surrounding the city to ensure the safe of its citizens.\"";
+ next;
+ mes "\"If you think you can handle these monster threats out here, I'm sure Nickos and the miners could use some help. Talk to you later.\"";
+ close;
+
+L_LD_Key:
+ set TMW_Quest, 34;
+ mes "[Lieutenant Dausen]";
+ mes "\"Oh, Naem lost his key? Here, take this spare. It should help you get into the underground palace.\"";
+ close;
+
+}
diff --git a/npc/002-1_Sandstorm/nickos.txt b/npc/002-1_Sandstorm/nickos.txt
new file mode 100644
index 00000000..fb8594ca
--- /dev/null
+++ b/npc/002-1_Sandstorm/nickos.txt
@@ -0,0 +1,102 @@
+// Sandstorm mine guard
+
+002-1.gat,28,94,0 script Nickos 123,{
+
+ if (TMW_Quest == 32) goto L_Nickos_UGQ;
+ if (TMW_Quest == 31) goto L_Nickos_AS_Done;
+ if (TMW_Quest == 30) goto L_Nickos_AS_Start;
+ if (TMW_Quest >= 23) && (TMW_Quest < 30) goto L_Nickos_Guards;
+ if (TMW_Quest == 22) goto L_Nickos_Check_Happy;
+ if (TMW_Quest > 19) && (TMW_Quest < 22) goto L_Nickos_Waits;
+ if (TMW_Quest == 19) goto L_Nickos_Mine;
+ if (TMW_Quest == 18) goto L_Nickos_Orders_Received;
+ if (TMW_Quest == 17) goto L_Nickos_Orders;
+
+ mes "[Nickos]";
+ mes "\"I'm watching this mine to make sure the monsters don't harm the miners.\"";
+ close;
+
+L_Nickos_Orders:
+ set TMW_Quest, 18;
+ mes "[Nickos]";
+ mes "\"I have to hold my post longer? Argh! I was looking forward to my break. Oh well, thanks for letting me know\"";
+ close;
+
+L_Nickos_Orders_Received:
+ mes "[Nickos]";
+ mes "\"Thanks for letting me know Lieutenant Dausen wants me to stick it out for a while longer. Even though I would've liked my break, I'm sure these miners could use my watchful eye.\"";
+ close;
+
+L_Nickos_Mine:
+ mes "[Nickos]";
+ mes "\"I haven't heard from the miners in a while, but I've got to keep to my post unless there is due reason to investigate. Normally the miners take care of themselves without any problem. Could you check on them?\"";
+ menu
+ "Yes", L_Nickos_Mine_Open,
+ "No", L_Nickos_Disappoint;
+ close;
+
+L_Nickos_Disappoint:
+ mes "[Nickos]";
+ mes "\"I am disappointed.\"";
+ close;
+
+L_Nickos_Mine_Open:
+ set TMW_Quest, 20;
+ mes "[Nickos]";
+ mes "\" Excellent! You now have my permission to enter the mine. Your assistance helps ease my worries.\"";
+ close;
+
+L_Nickos_Waits:
+ mes "[Nickos]";
+ mes "\"Please be sure to get word from Nathan and Naem to make sure everthing is okay down there. Your assistance helps ease my worries.\"";
+ close;
+
+L_Nickos_Check_Happy:
+ set TMW_Quest, 23;
+ set zeny, zeny + 500;
+ mes "[Nickos]";
+ mes "\"Oh, everything is okay? That's great. I think they are pretty busy and could use some help. Feel free to give them a hand. Here's some gold for your troubles.\"";
+ close;
+
+L_Nickos_Guards:
+ mes "[Nickos]";
+ mes "\"I'm watching this mine to make sure the monsters don't harm the miners.\"";
+ next;
+ mes "\"Talk to Nathan the miner, I'm sure the miners could use some help down there.\"";
+ close;
+
+L_Nickos_AS_Start:
+ set TMW_Quest, 31;
+ mes "[Nickos]";
+ mes "\"Oh, the angry scorpions are becoming a problem? We could thin down their numbers a bit. Of course, I'll need something to show your work. Bring me 10 angry scorpion stingers and I'll know their numbers are down. You will be rewarded for your efforts.\"";
+ close;
+
+L_Nickos_AS_Done:
+ if (countitem ("AngryScorpionStinger") < 10) goto L_Nickos_AS_NotDone;
+ getinventorylist;
+ if (@inventorylist_count - (countitem("AngryScorpionStiner") == 10) > 99) goto L_Nickos_TooMany;
+ set TMW_Quest, 32;
+ delitem "AngryScorpionStinger", 10;
+ getitem "LeatherShield", 1;
+ mes "[Nickos]";
+ mes "\"Ah, you are a fine combatant! Take this leather shield, it might be useful for your future battles.\"";
+ next;
+ mes "\"You might be ready to take on the underground palace. If you are interested, go talk to Naem about unlocking the barrier, he's got the key and the code to open it.\"";
+ close;
+
+L_Nickos_AS_NotDone:
+ mes "[Nickos]";
+ mes "\"Bring me 10 angry scorpion stingers and I'll know their numbers are down. You will be rewarded for your efforts.\"";
+ close;
+
+L_Nickos_TooMany:
+ mes "[Nickos]";
+ mes "\"Oh, it seems you have too many items. Please get rid some some and I'll give you a reward.\"";
+ close;
+
+L_Nickos_UGQ:
+ mes "[Nickos]";
+ mes "\"You might be ready to take on the underground palace. If you are interested, talk to the miners about unlocking the barrier, they got the key to open it.\"";
+ close;
+
+}
diff --git a/npc/002-1_Sandstorm/sandstorm_mine_barrier.txt b/npc/002-1_Sandstorm/sandstorm_mine_barrier.txt
new file mode 100644
index 00000000..62abceac
--- /dev/null
+++ b/npc/002-1_Sandstorm/sandstorm_mine_barrier.txt
@@ -0,0 +1,14 @@
+//Sandstorm mine barrier
+
+002-1.gat,20,94,0 script #Sandstorm_Mine_Barrier 127,0,0,{
+
+ if (TMW_Quest >= 20) goto L_Sandstorm_Barrier_Open;
+
+ message strcharinfo(0), "Some force seems to block your entrance.";
+ end;
+
+L_Sandstorm_Barrier_Open:
+ warp "002-3.gat",37,31;
+ end;
+
+}
diff --git a/npc/002-1_Sandstorm/stewen.txt b/npc/002-1_Sandstorm/stewen.txt
new file mode 100644
index 00000000..e28f6057
--- /dev/null
+++ b/npc/002-1_Sandstorm/stewen.txt
@@ -0,0 +1,23 @@
+// East sandstorm guard
+
+002-1.gat,106,76,0 script Stewen 123,{
+
+ if (TMW_Quest == 16) goto L_TMW_Quest_Received;
+ if (TMW_Quest == 15) goto L_TMW_Quest;
+
+ mes "[Stewen]";
+ mes "\"I'm keeping a watchful eye on the monsters to the east so they don't threaten Tulimshar's citizens. They are a pretty strong.\"";
+ close;
+
+L_TMW_Quest:
+ set TMW_Quest, 16;
+ mes "[Stewen]";
+ mes "\"I don't get a break! Lieutenant Dausen needs to ask the Wizard's Council for more help out here. Either that or give me a raise! Oh well. Thanks for letting me know.\"";
+ close;
+
+L_TMW_Quest_Received:
+ mes "[Stewen]";
+ mes "\"Thanks again for letting me know Lieutenant Dausen isn't letting me get a break. Once I get one, I'll let him know I want a raise!\"";
+ close;
+
+}