summaryrefslogtreecommitdiff
path: root/world/map/npc/002-1
diff options
context:
space:
mode:
authorThe Kandiman <kandiman@kandiman.(none)>2011-08-28 12:32:15 -0400
committerJessica Tölke <jtoelke@mail.upb.de>2011-09-01 18:01:26 +0200
commiteeeb6bf662bbc65556d9149ac73fb511b19b6acd (patch)
tree1554fdd19109b146cd469ffe83bf4b3be41076c3 /world/map/npc/002-1
parentc5709d4eebb58e36e1ae1eb7b3d6de5e566a5850 (diff)
downloadclassic-serverdata-eeeb6bf662bbc65556d9149ac73fb511b19b6acd.tar.gz
classic-serverdata-eeeb6bf662bbc65556d9149ac73fb511b19b6acd.tar.bz2
classic-serverdata-eeeb6bf662bbc65556d9149ac73fb511b19b6acd.tar.xz
classic-serverdata-eeeb6bf662bbc65556d9149ac73fb511b19b6acd.zip
Second batch of tab conversion. Maps 001-2 through 002-4 complete.
Diffstat (limited to 'world/map/npc/002-1')
-rw-r--r--world/map/npc/002-1/lieutenant_dausen.txt175
-rw-r--r--world/map/npc/002-1/merchant.txt2
-rw-r--r--world/map/npc/002-1/nickos.txt163
-rw-r--r--world/map/npc/002-1/nomads.txt20
-rw-r--r--world/map/npc/002-1/rogue.txt67
-rw-r--r--world/map/npc/002-1/sandstorm_mine_barrier.txt14
-rw-r--r--world/map/npc/002-1/stewen.txt27
7 files changed, 230 insertions, 238 deletions
diff --git a/world/map/npc/002-1/lieutenant_dausen.txt b/world/map/npc/002-1/lieutenant_dausen.txt
index 0573482b..605a4d58 100644
--- a/world/map/npc/002-1/lieutenant_dausen.txt
+++ b/world/map/npc/002-1/lieutenant_dausen.txt
@@ -1,119 +1,118 @@
// 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;
- if (TMW_Quest < 12) goto L_LD_Get_Rep_First;
-
- mes "[Lieutenant Dausen]";
- mes "\"Hello. I am Lieutenant Dausen. I monitor the monster threat around the city to ensure the safety of its citizens.\"";
- close;
+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;
+ if (TMW_Quest < 12) goto L_LD_Get_Rep_First;
+
+ mes "[Lieutenant Dausen]";
+ mes "\"Hello. I am Lieutenant Dausen. I monitor the monster threat around the city to ensure the safety of its citizens.\"";
+ close;
L_LD_Get_Rep_First:
- mes "[Lieutenant Dausen]";
- mes "\"Hello. I am Lieutenant Dausen. I monitor the monster threat around the city to ensure the safety of its citizens.\"";
- next;
- mes "[Lieutenant Dausen]";
- mes "\"I may have a job for you, stranger, but first I would like to learn more about you. Go walk among the citizens of Tulimshar, see if any of them could use some help. Once you have established a good reputation, word will get to me.\"";
- close;
+ mes "[Lieutenant Dausen]";
+ mes "\"Hello. I am Lieutenant Dausen. I monitor the monster threat around the city to ensure the safety of its citizens.\"";
+ next;
+ mes "[Lieutenant Dausen]";
+ mes "\"I may have a job for you, stranger, but first I would like to learn more about you. Go walk among the citizens of Tulimshar, see if any of them could use some help. Once you have established a good reputation, word will get to me.\"";
+ close;
L_LD_Start:
- set TMW_Quest, 13;
- mes "[Lieutenant Dausen]";
- mes "\"Out here in the desert, it sure does get hot! My men and I get thirsty rather quickly. Cactus Drinks are our favourite; if you can get some for us, we'd surely appreciate your effort. About 10 would do.\"";
- close;
+ set TMW_Quest, 13;
+ mes "[Lieutenant Dausen]";
+ mes "\"Out here in the desert, it sure does get hot! My men and I get thirsty rather quickly. Cactus Drinks are our favourite; if you can get some for us, we'd surely appreciate your effort. About 10 would 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 "Lieutenant Dausen mumbles to himself and rubs his head.";
- next;
- mes "\"I have another problem, though. I mixed up the orders to my men, Nickos and Stewen. Someone needs to let them know they're going to have to hold their post for a while longer instead of taking a break. However, I can't leave my post! Oh, what to do, what to do...\"";
- menu
- "I can help you out, since you helped me too.", L_LD_Help,
- "Thanks for the boots, gotta run now.", L_LD_NoHelp;
- close;
+ 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 "Lieutenant Dausen mumbles to himself and rubs his head.";
+ next;
+ mes "\"I have another problem, though. I mixed up the orders to my men, Nickos and Stewen. Someone needs to let them know they're going to have to hold their post for a while longer instead of taking a break. However, I can't leave my post! Oh, what to do, what to do...\"";
+ menu
+ "I can help you out, since you helped me too.", L_LD_Help,
+ "Thanks for the boots, gotta run now.", 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;
+ 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;
+ 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! Someone needs to let them know they're going to have to hold their post for a while longer instead of taking a break. However, I can't leave my post. Oh, what to do, what to do...\"";
- menu
- "I can help you out, since you helped me out too.", L_LD_Help,
- "Bye-bye.", L_LD_NoHelp;
- close;
+ mes "[Lieutenant Dausen]";
+ mes "\"I have a problem. I mixed up the orders to my men! Someone needs to let them know they're going to have to hold their post for a while longer instead of taking a break. However, I can't leave my post. Oh, what to do, what to do...\"";
+ menu
+ "I can help you out, since you helped me out too.", L_LD_Help,
+ "Bye-bye.", L_LD_NoHelp;
+ close;
L_LD_Help:
- set TMW_Quest, 15;
- mes "[Lieutenant Dausen]";
- mes "\"Oh! Would you? You are ever most helpful! Could you let Stewen know first? I'm the most worried about the monsters from the eastern desert and he should know first to hold his post. Come back to me after you see him. Hope to hear from you soon!\"";
- close;
+ set TMW_Quest, 15;
+ mes "[Lieutenant Dausen]";
+ mes "\"Oh! Would you? You are ever most helpful! Could you let Stewen know first? I'm the most worried about the monsters from the eastern desert and he should know first to hold his post. Come back to me after you see him. Hope to hear from you soon!\"";
+ close;
L_LD_NoHelp:
- mes "[Lieutenant Dausen]";
- mes "\"See you later then.\"";
- close;
+ mes "[Lieutenant Dausen]";
+ mes "\"See you later then.\"";
+ close;
L_LD_Waits:
- mes "[Lieutenant Dausen]";
- mes "\"I do hope Stewen holds his post. If you could tell them to do so, it would help me out a great deal.\"";
- close;
+ mes "[Lieutenant Dausen]";
+ mes "\"I do 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 too? He guards the mine to the south, monitoring the monster threat and protecting the miners when he can.\"";
- close;
+ set TMW_Quest, 17;
+ mes "[Lieutenant Dausen]";
+ mes "\"Thanks for letting Stewen know. Can you now tell Nickos to hold his post too? 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 "\"Could you let Nickos know to hold his post? It would be very helpful. He is guarding the mine south of here.\"";
- close;
+ mes "[Lieutenant Dausen]";
+ mes "\"Could you let Nickos know to hold his post? It would be very helpful. He is guarding the mine 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 efforts.\"";
- next;
- mes "\"If you think you can handle the monsters lurking out here, I'm sure Nickos and the miners could use some help. Talk to you later.\"";
- close;
+ 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 efforts.\"";
+ next;
+ mes "\"If you think you can handle the monsters lurking 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 threat around the city to ensure the safety of its citizens.\"";
- next;
- mes "\"If you think you can handle the monsters lurking out here, I'm sure Nickos and the miners could use some help. Talk to you later.\"";
- close;
+ mes "[Lieutenant Dausen]";
+ mes "\"I monitor the monster threat around the city to ensure the safety of its citizens.\"";
+ next;
+ mes "\"If you think you can handle the monsters lurking 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;
-
+ 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/world/map/npc/002-1/merchant.txt b/world/map/npc/002-1/merchant.txt
index ae7de533..b1b2c3fd 100644
--- a/world/map/npc/002-1/merchant.txt
+++ b/world/map/npc/002-1/merchant.txt
@@ -1,3 +1,3 @@
//
-002-1.gat,19,99,0 shop Ishyah 109,MinersHat :-1,MinerGloves :-1,ShortBow :-1,Arrow :-1,LeatherShield :-1
+002-1.gat,19,99,0|shop|Ishyah|109,MinersHat :-1,MinerGloves :-1,ShortBow :-1,Arrow :-1,LeatherShield :-1
diff --git a/world/map/npc/002-1/nickos.txt b/world/map/npc/002-1/nickos.txt
index bf5de510..1e469ef8 100644
--- a/world/map/npc/002-1/nickos.txt
+++ b/world/map/npc/002-1/nickos.txt
@@ -1,114 +1,113 @@
// 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;
- if (TMW_Quest < 17) goto L_Nickos_See_Dausen_First;
-
- mes "[Nickos]";
- mes "\"I'm watching this mine to make sure the monsters don't harm the miners.\"";
- close;
+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;
+ if (TMW_Quest < 17) goto L_Nickos_See_Dausen_First;
+
+ mes "[Nickos]";
+ mes "\"I'm watching this mine to make sure the monsters don't harm the miners.\"";
+ close;
L_Nickos_See_Dausen_First:
- mes "[Nickos]";
- mes "\"I'm watching this mine to make sure the monsters don't harm the miners.\"";
- next;
- mes "[Nickos]";
- mes "\"The mines are closed from tourists due to the monster threat. If you want to get in you will need to prove yourself first. Talk to Lieutenant Dausen, my superior, if you want to make a formal complaint.\"";
- close;
+ mes "[Nickos]";
+ mes "\"I'm watching this mine to make sure the monsters don't harm the miners.\"";
+ next;
+ mes "[Nickos]";
+ mes "\"The mines are closed from tourists due to the monster threat. If you want to get in you will need to prove yourself first. Talk to Lieutenant Dausen, my superior, if you want to make a formal complaint.\"";
+ 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;
+ 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;
+ 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.\"";
- next;
- mes "[Nickos]";
- mes "\"Could you check on them for me, though?\"";
- menu
- "Yes.", L_Nickos_Mine_Open,
- "No.", L_Nickos_Disappoint;
- close;
+ 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.\"";
+ next;
+ mes "[Nickos]";
+ mes "\"Could you check on them for me, though?\"";
+ menu
+ "Yes.", L_Nickos_Mine_Open,
+ "No.", L_Nickos_Disappoint;
+ close;
L_Nickos_Disappoint:
- mes "Nickos looks disappointed.";
- close;
+ mes "Nickos looks 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;
+ 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;
+ 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;
+ 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;
+ 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. I can make it worth your time, but of course, I'll need something to show your work. Bring me 10 Angry Scorpion Stingers to demonstrate your effectiveness, and you will be rewarded for your efforts.\"";
- close;
+ set TMW_Quest, 31;
+ mes "[Nickos]";
+ mes "\"Oh, the angry scorpions are becoming a problem? We could thin down their numbers a bit. I can make it worth your time, but of course, I'll need something to show your work. Bring me 10 Angry Scorpion Stingers to demonstrate your effectiveness, and 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("AngryScorpionStinger") == 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;
+ if (countitem ("AngryScorpionStinger") < 10) goto L_Nickos_AS_NotDone;
+ getinventorylist;
+ if (@inventorylist_count - (countitem("AngryScorpionStinger") == 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;
+ 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;
+ 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've got the key to open it.\"";
- close;
-
+ 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've got the key to open it.\"";
+ close;
}
diff --git a/world/map/npc/002-1/nomads.txt b/world/map/npc/002-1/nomads.txt
index 0b7e7426..805b8fef 100644
--- a/world/map/npc/002-1/nomads.txt
+++ b/world/map/npc/002-1/nomads.txt
@@ -1,16 +1,14 @@
//
-002-1.gat,15,67,0 script Samuel 132,{
- mes "[Samuel the Nomad]";
- mes "\"This is really a nice place.\"";
-
- mes "Don't you think so?\"";
- close;
+002-1.gat,15,67,0|script|Samuel|132,{
+ mes "[Samuel the Nomad]";
+ mes "\"This is really a nice place.\"";
+ mes "Don't you think so?\"";
+ close;
}
-002-1.gat,18,68,0 script Elijah 128,{
- mes "[Elijah the Nomad]";
- mes "\"If I only had a tent...\"";
-
- close;
+002-1.gat,18,68,0|script|Elijah|128,{
+ mes "[Elijah the Nomad]";
+ mes "\"If I only had a tent...\"";
+ close;
}
diff --git a/world/map/npc/002-1/rogue.txt b/world/map/npc/002-1/rogue.txt
index e5afe354..79812bee 100644
--- a/world/map/npc/002-1/rogue.txt
+++ b/world/map/npc/002-1/rogue.txt
@@ -1,50 +1,49 @@
//
-002-1.gat,22,21,0 script Malivox 103,{
+002-1.gat,22,21,0|script|Malivox|103,{
-// if (ResetA_charstate == 1) goto L_Multiple;
+// if (ResetA_charstate == 1) goto L_Multiple;
-// set @cost, 10000000 / ($ResetA_uses + 1);
+// set @cost, 10000000 / ($ResetA_uses + 1);
- set @cost, baselevel * 100;
+ set @cost, baselevel * 100;
- mes "[Rogue Mage]";
- mes "\"I have come across a spell that will";
- mes "reset your status points.";
- mes "Normally this spell is expensive, but";
- mes "due to an unusual constellation of the";
- mes "stars I can cast it very cheaply!";
- mes "For you it will cost only "+@cost+" gp.\"";
- next;
+ mes "[Rogue Mage]";
+ mes "\"I have come across a spell that will";
+ mes "reset your status points.";
+ mes "Normally this spell is expensive, but";
+ mes "due to an unusual constellation of the";
+ mes "stars I can cast it very cheaply!";
+ mes "For you it will cost only "+@cost+" gp.\"";
+ next;
+ menu
+ "Reset my stats",-,
+ "Forget about it",L_Pass;
- menu "Reset my stats",-,"Forget about it",L_Pass;
+ if (zeny<@cost) goto L_NoMoney;
- if (zeny<@cost) goto L_NoMoney;
-
-// set $ResetA_uses, $ResetA_uses + 1;
-// set ResetA_charstate, 1;
+// set $ResetA_uses, $ResetA_uses + 1;
+// set ResetA_charstate, 1;
L_Reset:
+ set zeny, zeny-@cost;
+ resetstatus;
- set zeny, zeny-@cost;
-
- resetstatus;
-
- mes "[Rogue Mage]";
- mes "\"There you are.";
- mes "";
- mes "Good as new!\"";
- close;
+ mes "[Rogue Mage]";
+ mes "\"There you are.";
+ mes "";
+ mes "Good as new!\"";
+ close;
L_Pass:
- mes "[Rogue Mage]";
- mes "\"Very well then, see you.\"";
- close;
+ mes "[Rogue Mage]";
+ mes "\"Very well then, see you.\"";
+ close;
L_NoMoney:
- mes "[Rogue Mage]";
- mes "\"Oh dear, the price cannot be bargained.";
- mes "";
- mes "Perhaps you can borrow from a friend?\"";
- close;
+ mes "[Rogue Mage]";
+ mes "\"Oh dear, the price cannot be bargained.";
+ mes "";
+ mes "Perhaps you can borrow from a friend?\"";
+ close;
}
diff --git a/world/map/npc/002-1/sandstorm_mine_barrier.txt b/world/map/npc/002-1/sandstorm_mine_barrier.txt
index 62abceac..82841bf7 100644
--- a/world/map/npc/002-1/sandstorm_mine_barrier.txt
+++ b/world/map/npc/002-1/sandstorm_mine_barrier.txt
@@ -1,14 +1,12 @@
//Sandstorm mine barrier
-002-1.gat,20,94,0 script #Sandstorm_Mine_Barrier 127,0,0,{
+002-1.gat,20,94,0|script|#Sandstorm_Mine_Barrier|127,0,0,{
- if (TMW_Quest >= 20) goto L_Sandstorm_Barrier_Open;
+ if (TMW_Quest >= 20) goto L_Sandstorm_Barrier_Open;
+ message strcharinfo(0), "Some force seems to block your entrance.";
+ end;
- message strcharinfo(0), "Some force seems to block your entrance.";
- end;
-
L_Sandstorm_Barrier_Open:
- warp "002-3.gat",37,31;
- end;
-
+ warp "002-3.gat",37,31;
+ end;
}
diff --git a/world/map/npc/002-1/stewen.txt b/world/map/npc/002-1/stewen.txt
index 6c099b3a..b0c98ebe 100644
--- a/world/map/npc/002-1/stewen.txt
+++ b/world/map/npc/002-1/stewen.txt
@@ -1,23 +1,22 @@
// East sandstorm guard
-002-1.gat,106,76,0 script Stewen 123,{
+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;
+ 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 pretty strong.\"";
- close;
+ 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 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;
+ 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 take a break. Once I get out of here, I'll let him know I want a raise!\"";
- close;
-
+ mes "[Stewen]";
+ mes "\"Thanks again for letting me know Lieutenant Dausen isn't letting me take a break. Once I get out of here, I'll let him know I want a raise!\"";
+ close;
}