summaryrefslogtreecommitdiff
path: root/world/map/npc/024-1
diff options
context:
space:
mode:
authorFrost <networktoy@cox.net>2011-09-09 18:11:15 -0700
committerJessica Tölke <jtoelke@mail.upb.de>2011-09-10 15:27:32 +0200
commit1599e4b8a9d768d9b7b89f881da47b9cff616dce (patch)
treef5c75311d90a0865b83a8872f3300db9c035457b /world/map/npc/024-1
parent5ea6c568c86d9c0f76983705258951e2db9974fa (diff)
downloadserverdata-1599e4b8a9d768d9b7b89f881da47b9cff616dce.tar.gz
serverdata-1599e4b8a9d768d9b7b89f881da47b9cff616dce.tar.bz2
serverdata-1599e4b8a9d768d9b7b89f881da47b9cff616dce.tar.xz
serverdata-1599e4b8a9d768d9b7b89f881da47b9cff616dce.zip
Removed tabs from 025-4 downto 022-1
Minor spelling corrections in tinris.txt.
Diffstat (limited to 'world/map/npc/024-1')
-rw-r--r--world/map/npc/024-1/ched.txt62
-rw-r--r--world/map/npc/024-1/david.txt70
-rw-r--r--world/map/npc/024-1/eomie.txt132
-rw-r--r--world/map/npc/024-1/tinris.txt8
-rw-r--r--world/map/npc/024-1/tondar.txt76
5 files changed, 174 insertions, 174 deletions
diff --git a/world/map/npc/024-1/ched.txt b/world/map/npc/024-1/ched.txt
index 43dd832e..4f627e08 100644
--- a/world/map/npc/024-1/ched.txt
+++ b/world/map/npc/024-1/ched.txt
@@ -1,48 +1,48 @@
// Student at Tulimshar's magic academy
-024-1.gat,69,56,0 script Ched 113,{
- if (isin("024-1.gat", 62, 52, 65, 57)) goto L_Garden;
- if (isin("024-1.gat", 66, 43, 80, 54)) goto L_Canyon;
+024-1.gat,69,56,0|script|Ched|113,{
+ if (isin("024-1.gat", 62, 52, 65, 57)) goto L_Garden;
+ if (isin("024-1.gat", 66, 43, 80, 54)) goto L_Canyon;
- mes "[Ched]";
- mes "\"I'm trying to get a spell to work. It's supposed to combine two potions, but I can't seem to figure out which two those are...\"";
- next;
+ mes "[Ched]";
+ mes "\"I'm trying to get a spell to work. It's supposed to combine two potions, but I can't seem to figure out which two those are...\"";
+ next;
- menu
- "Well, good luck with that!", L_Done,
- "What spell is that?", -;
+ menu
+ "Well, good luck with that!", L_Done,
+ "What spell is that?", -;
- mes "[Ched]";
- mes "\"Well, I don't know what it's called... I took it out of `Timbleweed's Advanced Transmutations.' It seems awfully hard to cast, somehow.\"";
- next;
+ mes "[Ched]";
+ mes "\"Well, I don't know what it's called... I took it out of `Timbleweed's Advanced Transmutations.' It seems awfully hard to cast, somehow.\"";
+ next;
- mes "[Ched]";
- mes "\"Well, the invocation is `" + getspellinvocation("merge-concentration-potions") + "'. You're supposed to just hold up the potions and cast it, and then they're supposed to merge.\"";
- close;
+ mes "[Ched]";
+ mes "\"Well, the invocation is `" + getspellinvocation("merge-concentration-potions") + "'. You're supposed to just hold up the potions and cast it, and then they're supposed to merge.\"";
+ close;
- mes "[Ched]";
- mes "\"Maybe I should go back to `detect magic' until I can cast that one properly.\"";
- close;
+ mes "[Ched]";
+ mes "\"Maybe I should go back to `detect magic' until I can cast that one properly.\"";
+ close;
L_Done:
- close;
+ close;
L_Garden:
- if (BaseLevel < 40) goto L_Warp;
- mes "[Ched]";
- mes "\"Be careful of those plants. They can be dangerous,\"";
- close;
+ if (BaseLevel < 40) goto L_Warp;
+ mes "[Ched]";
+ mes "\"Be careful of those plants. They can be dangerous,\"";
+ close;
L_Canyon:
- if (BaseLevel < 40) goto L_Warp;
- mes "[Ched]";
- mes "\"I'm not allowed back there.\"";
- close;
+ if (BaseLevel < 40) goto L_Warp;
+ mes "[Ched]";
+ mes "\"I'm not allowed back there.\"";
+ close;
L_Warp:
- warp "024-1.gat", 71, 56;
- mes "[Ched]";
- mes "\"You can't be back there.\"";
- close;
+ warp "024-1.gat", 71, 56;
+ mes "[Ched]";
+ mes "\"You can't be back there.\"";
+ close;
}
diff --git a/world/map/npc/024-1/david.txt b/world/map/npc/024-1/david.txt
index 00794e03..6924e5ad 100644
--- a/world/map/npc/024-1/david.txt
+++ b/world/map/npc/024-1/david.txt
@@ -1,52 +1,52 @@
-024-1.gat,70,70,0 script David 120,{
+024-1.gat,70,70,0|script|David|120,{
- set @Potion_EXP, 2000;
+ set @Potion_EXP, 2000;
- if (Rossy_Quest == 17) goto L_FinalEnd;
- if (Rossy_Quest == 14) goto L_Julia;
- if (Rossy_Quest >= 8) goto L_Done;
+ if (Rossy_Quest == 17) goto L_FinalEnd;
+ if (Rossy_Quest == 14) goto L_Julia;
+ if (Rossy_Quest >= 8) goto L_Done;
- mes "[David]";
- mes "\"Learning magic is hard...\"";
- if (Rossy_Quest == 7) goto L_Help;
- close;
+ mes "[David]";
+ mes "\"Learning magic is hard...\"";
+ if (Rossy_Quest == 7) goto L_Help;
+ close;
L_Help:
- menu
- "Do you know Rossy?", L_Set,
- "I can tell, it is hard.", L_No;
+ menu
+ "Do you know Rossy?", L_Set,
+ "I can tell, it is hard.", L_No;
L_Set:
- mes "[David]";
- mes "\"Yes, I do. I am her teacher. Actually, that reminds me about her final exam... she didn't hand in her potion yet. Time is running out.\"";
- menu
- "A potion? Oh, uhm... Strange kind of exam. Bye.", L_No,
- "Right, I have her potion in my pocket. She asked me to bring it to you. Here it is.", -;
- mes "[David]";
- mes "\"Let me see.\"";
- set Rossy_Quest, 8;
- mes "\"This potion is... perfect! Tell Rossy that she succesfully made her potion, it is flawless!\"";
- getexp @Potion_EXP, 0;
- close;
+ mes "[David]";
+ mes "\"Yes, I do. I am her teacher. Actually, that reminds me about her final exam... she didn't hand in her potion yet. Time is running out.\"";
+ menu
+ "A potion? Oh, uhm... Strange kind of exam. Bye.", L_No,
+ "Right, I have her potion in my pocket. She asked me to bring it to you. Here it is.", -;
+ mes "[David]";
+ mes "\"Let me see.\"";
+ set Rossy_Quest, 8;
+ mes "\"This potion is... perfect! Tell Rossy that she successfully made her potion; it is flawless!\"";
+ getexp @Potion_EXP, 0;
+ close;
L_Done:
- mes "[David]";
- mes "\"I am really happy that my best student succesfully passed her exam!\"";
- close;
+ mes "[David]";
+ mes "\"I am really happy that my best student successfully passed her exam!\"";
+ close;
L_No:
- close;
+ close;
L_Julia:
- mes "[David]";
- mes "\"I heard Rossy's sister got kidnapped. We're counting on you to find her!\"";
- next;
- mes "\"If you do find her, talk to her sister and her mother.\"";
- close;
+ mes "[David]";
+ mes "\"I heard Rossy's sister got kidnapped. We're counting on you to find her!\"";
+ next;
+ mes "\"If you do find her, talk to her sister and her mother.\"";
+ close;
L_FinalEnd:
- mes "[David]";
- mes "Well done! Thanks for finding Julia!";
- close;
+ mes "[David]";
+ mes "Well done! Thanks for finding Julia!";
+ close;
}
diff --git a/world/map/npc/024-1/eomie.txt b/world/map/npc/024-1/eomie.txt
index 4b82920e..bc785914 100644
--- a/world/map/npc/024-1/eomie.txt
+++ b/world/map/npc/024-1/eomie.txt
@@ -1,90 +1,90 @@
// A professor at Tulimshar's magic academy
-024-1.gat,72,94,0 script Eomie 164,{
+024-1.gat,72,94,0|script|Eomie|164,{
// lines belong to easter 2011:
-// set @month, 4;
-// set @start_day, 15;
-// set @end_day, 30;
+// set @month, 4;
+// set @start_day, 15;
+// set @end_day, 30;
-// if (gettime(6) == @month && gettime(5) >= @start_day && gettime(5) <= @end_day && QUEST_Easter11 == 4) goto L_Grass;
-// if (gettime(6) == @month && gettime(5) >= @start_day && gettime(5) <= @end_day && QUEST_Easter11 == 5) goto L_MakeGrass;
-// if (gettime(6) == @month && gettime(5) >= @start_day && gettime(5) <= @end_day && QUEST_Easter11 == 6) goto L_SeeBunny;
+// if (gettime(6) == @month && gettime(5) >= @start_day && gettime(5) <= @end_day && QUEST_Easter11 == 4) goto L_Grass;
+// if (gettime(6) == @month && gettime(5) >= @start_day && gettime(5) <= @end_day && QUEST_Easter11 == 5) goto L_MakeGrass;
+// if (gettime(6) == @month && gettime(5) >= @start_day && gettime(5) <= @end_day && QUEST_Easter11 == 6) goto L_SeeBunny;
L_Greeting:
- mes "[Eomie]";
- mes "";
- mes "\"I maintain this little spot of grass in the desert.\"";
- close;
+ mes "[Eomie]";
+ mes "";
+ mes "\"I maintain this little spot of grass in the desert.\"";
+ close;
L_Grass:
- mes "[Eomie]";
- mes "";
- mes "\"I maintain this little spot of grass in the desert.\"";
- next;
- menu
- "It looks beautiful. I wish I could find a Grass Liner like this.", -;
- mes "\"A Grass Liner? Last year I helped the Easter Bunny with a Grass Liner for his basket... It was really easy... Is this liner for yourself?\"";
- next;
- menu
- "No. Actually, it is for the Easter Bunny again...", -;
- mes "\"Why didn't you say so before? I can help you make the Grass Liner for the basket if you wish.\"";
- menu
- "I would really appreciate that!", -,
- "Nah, I decided not to do that stupid quest.", L_End;
- set QUEST_Easter11, 5;
+ mes "[Eomie]";
+ mes "";
+ mes "\"I maintain this little spot of grass in the desert.\"";
+ next;
+ menu
+ "It looks beautiful. I wish I could find a Grass Liner like this.", -;
+ mes "\"A Grass Liner? Last year I helped the Easter Bunny with a Grass Liner for his basket... It was really easy... Is this liner for yourself?\"";
+ next;
+ menu
+ "No. Actually, it is for the Easter Bunny again...", -;
+ mes "\"Why didn't you say so before? I can help you make the Grass Liner for the basket if you wish.\"";
+ menu
+ "I would really appreciate that!", -,
+ "Nah, I decided not to do that stupid quest.", L_End;
+ set QUEST_Easter11, 5;
L_MakeGrass:
- mes "[Eomie]";
- mes "";
- mes "\"I will need you to bring me some Grass Seeds.\"";
- mes "\"I think 5 seeds should be enough.\"";
- mes "\"Squirrels tend to pick those up as they gather food.\"";
- menu
- "I have some seeds...", -,
- "Ok, I will be back soon.", L_End,
- "I changed my mind, forget about it.", L_End;
+ mes "[Eomie]";
+ mes "";
+ mes "\"I will need you to bring me some Grass Seeds.\"";
+ mes "\"I think 5 seeds should be enough.\"";
+ mes "\"Squirrels tend to pick those up as they gather food.\"";
+ menu
+ "I have some seeds...", -,
+ "Ok, I will be back soon.", L_End,
+ "I changed my mind, forget about it.", L_End;
- if(countitem("GrassSeed") < 5) goto L_EasterNotEnough;
- if(countitem("GrassSeed") >= 5) goto L_EasterEnough;
- close;
+ if(countitem("GrassSeed") < 5) goto L_EasterNotEnough;
+ if(countitem("GrassSeed") >= 5) goto L_EasterEnough;
+ close;
L_EasterNotEnough:
- mes "[Eomie]";
- mes "";
- mes "\"You do not have enough Grass Seeds for me to work with yet.\"";
- mes "\"Please go get more.\"";
- close;
+ mes "[Eomie]";
+ mes "";
+ mes "\"You do not have enough Grass Seeds for me to work with yet.\"";
+ mes "\"Please go get more.\"";
+ close;
L_EasterEnough:
- getinventorylist;
- if (@inventorylist_count == 100 && countitem("GrassSeed") > 10) goto L_EasterTooMany;
- if(countitem("GrassSeed") < 5) goto L_EasterNotEnough;
- delitem "GrassSeed", 5;
- getitem "GrassLiner", 1;
- set QUEST_Easter11, 6;
- mes "[Eomie]";
- mes "";
- mes "\"You have gathered enough Grass Seeds for me to grow the liner.\"";
- mes "She plants the seeds and murmurs a spell over them.";
- mes "You both watch the grass grow tall and when it's done growing,";
- mes "she deftly gathers it for you.";
- mes "\"Here is your Grass Liner.\"";
- close;
+ getinventorylist;
+ if (@inventorylist_count == 100 && countitem("GrassSeed") > 10) goto L_EasterTooMany;
+ if(countitem("GrassSeed") < 5) goto L_EasterNotEnough;
+ delitem "GrassSeed", 5;
+ getitem "GrassLiner", 1;
+ set QUEST_Easter11, 6;
+ mes "[Eomie]";
+ mes "";
+ mes "\"You have gathered enough Grass Seeds for me to grow the liner.\"";
+ mes "She plants the seeds and murmurs a spell over them.";
+ mes "You both watch the grass grow tall and when it's done growing,";
+ mes "she deftly gathers it for you.";
+ mes "\"Here is your Grass Liner.\"";
+ close;
L_EasterTooMany:
- mes "[Eomie]";
- mes "";
- mes "\"You don't have enough room for the Grass Liner. Come back later.\"";
- close;
+ mes "[Eomie]";
+ mes "";
+ mes "\"You don't have enough room for the Grass Liner. Come back later.\"";
+ close;
L_SeeBunny:
- mes "[Eomie]";
- mes "";
- mes "\"You need to return to the Easter Bunny now.\"";
- close;
+ mes "[Eomie]";
+ mes "";
+ mes "\"You need to return to the Easter Bunny now.\"";
+ close;
L_End:
- close;
+ close;
}
diff --git a/world/map/npc/024-1/tinris.txt b/world/map/npc/024-1/tinris.txt
index 29381f57..cbe0b886 100644
--- a/world/map/npc/024-1/tinris.txt
+++ b/world/map/npc/024-1/tinris.txt
@@ -1,7 +1,7 @@
// A gardener at Tulimshar's magic academy
-024-1.gat,82,64,0 script Tinris 160,{
- mes "[Tinris]";
- mes "\"This is a magic school.\"";
- close;
+024-1.gat,82,64,0|script|Tinris|160,{
+ mes "[Tinris]";
+ mes "\"This is a magic school.\"";
+ close;
}
diff --git a/world/map/npc/024-1/tondar.txt b/world/map/npc/024-1/tondar.txt
index 585806df..eef42617 100644
--- a/world/map/npc/024-1/tondar.txt
+++ b/world/map/npc/024-1/tondar.txt
@@ -1,61 +1,61 @@
// A professor at Tulimshar's magic academy
-024-1.gat,83,51,0 script Tondar 168,{
- mes "[Tondar]";
- mes "\"We're not accepting any new students right now.\"";
+024-1.gat,83,51,0|script|Tondar|168,{
+ mes "[Tondar]";
+ mes "\"We're not accepting any new students right now.\"";
if (getskilllv(SKILL_MAGIC) > 0)
- goto L_may_ask;
+ goto L_may_ask;
- close;
+ close;
L_may_ask:
- next;
- menu
- "Can you teach me a spell?", L_askspell,
- "Do you have a magic library?", L_library,
- "Are you sure? I can pay well...", L_nopay,
- "That's unfortunate.", -,
- "Goodbye, then.", -;
+ next;
+ menu
+ "Can you teach me a spell?", L_askspell,
+ "Do you have a magic library?", L_library,
+ "Are you sure? I can pay well...", L_nopay,
+ "That's unfortunate.", -,
+ "Goodbye, then.", -;
- close;
+ close;
L_library:
- mes "[Tondar]";
- mes "\"Of course we do. It is only for graduate students, alumni, and faculty.\"";
- next;
- menu
- "Thank you, and goodbye.", L_end,
- "Nobody else is allowed inside?", -;
+ mes "[Tondar]";
+ mes "\"Of course we do. It is only for graduate students, alumni, and faculty.\"";
+ next;
+ menu
+ "Thank you, and goodbye.", L_end,
+ "Nobody else is allowed inside?", -;
- mes "[Tondar]";
- mes "\"Well, it is possible to get a special permit from the headmaster. But he is currently on sabbatical.\"";
- close;
-
+ mes "[Tondar]";
+ mes "\"Well, it is possible to get a special permit from the headmaster. But he is currently on sabbatical.\"";
+ close;
+
L_askspell:
- mes "[Tondar]";
- mes "\"We only teach spells to students.\"";
- next;
+ mes "[Tondar]";
+ mes "\"We only teach spells to students.\"";
+ next;
- menu
- "Oh, come on... just one little spell!", L_nopay,
- "Pretty please?", L_spell,
- "I can pay you, too...", L_nopay;
+ menu
+ "Oh, come on... just one little spell!", L_nopay,
+ "Pretty please?", L_spell,
+ "I can pay you, too...", L_nopay;
L_spell:
- mes "[Tondar]";
- mes "\"Well, all right; this one can't do much harm. Press your hands together and say `" + getspellinvocation("ask-magic-exp") + "'.\"";
- mes "\"This will release a steady flow of magic within you. Focus and try to control it; it is a good meditative practice.\"";
- close;
+ mes "[Tondar]";
+ mes "\"Well, all right; this one can't do much harm. Press your hands together and say `" + getspellinvocation("ask-magic-exp") + "'.\"";
+ mes "\"This will release a steady flow of magic within you. Focus and try to control it; it is a good meditative practice.\"";
+ close;
L_nopay:
- mes "[Tondar]";
- mes "The wizard frowns angrily.";
- mes "\"Do not tempt me to teach you a different kind of lesson, young one! Begone!\"";
+ mes "[Tondar]";
+ mes "The wizard frowns angrily.";
+ mes "\"Do not tempt me to teach you a different kind of lesson, young one! Begone!\"";
L_end:
- close;
+ close;
}