summaryrefslogtreecommitdiff
path: root/world/map/npc/024-1
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/024-1')
-rw-r--r--world/map/npc/024-1/_import.txt11
-rw-r--r--world/map/npc/024-1/_mobs.txt36
-rw-r--r--world/map/npc/024-1/_warps.txt7
-rw-r--r--world/map/npc/024-1/ched.txt48
-rw-r--r--world/map/npc/024-1/david.txt53
-rw-r--r--world/map/npc/024-1/eomie.txt145
-rw-r--r--world/map/npc/024-1/mapflags.txt2
-rw-r--r--world/map/npc/024-1/tinris.txt219
-rw-r--r--world/map/npc/024-1/tondar.txt56
9 files changed, 0 insertions, 577 deletions
diff --git a/world/map/npc/024-1/_import.txt b/world/map/npc/024-1/_import.txt
deleted file mode 100644
index fac35b9a..00000000
--- a/world/map/npc/024-1/_import.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-// Map 024-1: Tulimshar Canyon
-// This file is generated automatically. All manually changes will be removed when running the Converter.
-map: 024-1.gat
-npc: npc/024-1/_mobs.txt
-npc: npc/024-1/_warps.txt
-npc: npc/024-1/ched.txt
-npc: npc/024-1/david.txt
-npc: npc/024-1/eomie.txt
-npc: npc/024-1/mapflags.txt
-npc: npc/024-1/tinris.txt
-npc: npc/024-1/tondar.txt
diff --git a/world/map/npc/024-1/_mobs.txt b/world/map/npc/024-1/_mobs.txt
deleted file mode 100644
index 7df01305..00000000
--- a/world/map/npc/024-1/_mobs.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-// This file is generated automatically. All manually changes will be removed when running the Converter.
-// Tulimshar Canyon mobs
-
-024-1.gat,89,52,3,2|monster|Maggot|1002,2,100000ms,30000ms,Mob024-1::On1002
-024-1.gat,40,45,3,2|monster|Maggot|1002,2,100000ms,30000ms,Mob024-1::On1002
-024-1.gat,90,37,10,7|monster|Maggot|1002,4,100000ms,30000ms,Mob024-1::On1002
-024-1.gat,96,25,3,10|monster|SeaSlime|1033,1,100000ms,30000ms,Mob024-1::On1033
-024-1.gat,33,45,24,20|monster|BlackScorpion|1009,3,100000ms,30000ms,Mob024-1::On1009
-024-1.gat,93,35,5,6|monster|GiantMaggot|1006,1,100000ms,30000ms,Mob024-1::On1006
-024-1.gat,63,54,3,6|monster|Maggot|1002,1,100000ms,30000ms,Mob024-1::On1002
-
-
-024-1.gat,0,0,0|script|Mob024-1|-1
-{
- end;
-
-On1002:
- set @mobID, 1002;
- callfunc "MobPoints";
- end;
-
-On1006:
- set @mobID, 1006;
- callfunc "MobPoints";
- end;
-
-On1009:
- set @mobID, 1009;
- callfunc "MobPoints";
- end;
-
-On1033:
- set @mobID, 1033;
- callfunc "MobPoints";
- end;
-}
diff --git a/world/map/npc/024-1/_warps.txt b/world/map/npc/024-1/_warps.txt
deleted file mode 100644
index f579b33f..00000000
--- a/world/map/npc/024-1/_warps.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-// This file is generated automatically. All manually changes will be removed when running the Converter.
-// Tulimshar Canyon warps
-
-024-1.gat,86,74|warp|To North Tulimshar|3,-1,021-1.gat,49,65
-024-1.gat,80,48|warp|To Tulimshar Magic Scho|0,-1,024-2.gat,26,26
-024-1.gat,86,48|warp|To Tulimshar Magic Scho|-1,-1,024-2.gat,42,27
-024-1.gat,80,30|warp|To Magic Passage|-1,-1,042-3.gat,56,45
diff --git a/world/map/npc/024-1/ched.txt b/world/map/npc/024-1/ched.txt
deleted file mode 100644
index 0137ed55..00000000
--- a/world/map/npc/024-1/ched.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-// 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;
-
- 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?", L_Next;
-
-L_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.\"";
- next;
- mes "[Ched]";
- mes "\"Maybe I should go back to `detect magic' until I can cast that one properly.\"";
- close;
-
-L_Done:
- close;
-
-L_Garden:
- 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;
-
-L_Warp:
- 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
deleted file mode 100644
index b3a56dc4..00000000
--- a/world/map/npc/024-1/david.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-024-1.gat,70,70,0|script|David|120
-{
- 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;
-
- 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;
-
-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.", L_Next;
-
-L_Next:
- 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 successfully passed her exam!\"";
- close;
-
-L_No:
- 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;
-
-L_FinalEnd:
- 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
deleted file mode 100644
index 35d9acae..00000000
--- a/world/map/npc/024-1/eomie.txt
+++ /dev/null
@@ -1,145 +0,0 @@
-// A professor at Tulimshar's magic academy, involved in quest:
-// Anwar needs a magic fertilizer for his field
-// Quest uses Nibble 3 of QUEST_NorthTulimshar
-// Author: Jenalya
-// state 1: Anwar sent to Tinris for help to get a magic fertilizer
-// state 2: Tinris asked for chocolate cake as present for his girlfriend
-// state 3: Tinris asked for ingredients for the fertilizer
-// state 4: Tinris gave you the fertilizer
-// state 5: Anwar tried it out and it doesn't work well, sent you back to Tinris
-// state 6: Tinris asked for more ingredients for a new try
-// state 7: Tinris says it's really hard, gives you the fertilizer and tells you to ask Eomie to cast a spell on it
-// state 8: Eomie sends you to get some stuff so she can interrupt her spell on the spot of grass
-// state 9: Eomie casted a spell on the fertilizer
-// state 10: Anwar used it and it worked. he asks you to help him preparing a thank-you-gift for each Tinris and Eomis
-// state 11: Anwar asked to bring present to Tinris
-// state 12: gave present to Tinris
-// state 13: Anwar asked to bring present to Eomie
-// state 14: gave present to Eomie
-// state 15: reported back to Anwar and done
-
-024-1.gat,72,94,0|script|Eomie|164
-{
- set @state, ((QUEST_NorthTulimshar & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT);
-
- set @grass_amount, 5;
- set @water_amount, 2;
- set @ice_amount, 2;
-
- set @silk_exp, 600;
-
- if (@state >= 14) goto L_Done;
- if (@state >= 9) goto L_CastedSpell;
- if (@state == 8) goto L_GetStuff;
-
- mes "[Eomie]";
- mes "\"I maintain this little spot of grass in the desert.\"";
- if (@state != 7)
- goto L_Close;
- menu
- "I have this magic fertilizer from Tinris and need a spell cast on it.",L_Next;
-
-L_Next:
- mes "[Eomie]";
- mes "\"Oh? I see, that's a difficult task.";
- mes "I'd be glad to help you, but unfortunately I can't interrupt the magic I use to keep this spot of grass alive.\"";
- next;
- mes "\"It's unusually hot at the moment, even for this desert area. It might have something to do with the aftereffects of the earthquake.\"";
- menu
- "Isn't there any possibility?",L_Continue;
-
-L_Continue:
- mes "She hesitates.";
- set @state, 8;
- callsub S_Update_Mask;
- goto L_GetStuff;
-
-L_GetStuff:
- // @state == 8
- mes "[Eomie]";
- mes "\"I could try to interrupt my spells to be able to cast the spell on the fertilizer, but then I need to prepare the grass for this.";
- mes "Bring me " + @grass_amount + " Grass Seeds, " + @water_amount + " Bottles of Water and " + @ice_amount + " Ice Cubes.\"";
- menu
- "I have it.",L_More,
- "Where can I get Grass Seeds?",L_Hurnscald,
- "How can I get Ice Cubes? We're in the desert!",L_Mine,
- "Ok, I'll go and get it.",L_Close;
-L_More:
- if ((countitem("GrassSeed") < @grass_amount) || (countitem("BottleOfWater") < @water_amount) || (countitem("IceCube") < @ice_amount))
- goto L_NoItem;
-
- delitem "GrassSeed", @grass_amount;
- delitem "BottleOfWater", @water_amount;
- delitem "IceCube", @ice_amount;
- set @state, 9;
- callsub S_Update_Mask;
- mes "[Eomie]";
- mes "\"Very good.\"";
- mes "She takes the things you brought her and uses them to create a bubble of coolness around the spot of grass.";
- misceffect sfx_magic_nature;
- next;
- mes "[Eomie]";
- mes "\"This should last long enough to keep the spot of grass alive until I cast the spell on the fertilizer. And if some of it shrivels I still have the seeds you brought me which I can use to recover it.\"";
- next;
- mes "She takes the fertilizer and casts some invocations. After a while she's done and gives it back to you with a smile.";
- misceffect sfx_magic_nature;
- mes "[Eomie]";
- mes "\"This should help you. I'm glad you're taking care of the plants. Not enough people do that nowadays.\"";
- goto L_Close;
-
-L_Hurnscald: // player asked how to get Grass Seeds
- mes "[Eomie]";
- mes "\"Squirrels tend to pick up Grass Seeds as they gather food. You can find them around Hurnscald. To get there you will have to take the ferry in the harbor district.\"";
- goto L_Close;
-
-L_Mine: // player asked how to get Ice Cubes
- mes "[Eomie]";
- mes "\"Hm, that's a difficult task, indeed. Naturally you will find them on the continent of Kaizei, which is high up in the north and covered with snow most time of the year. But it might be difficult to get there.\"";
- next;
- mes "\"I heard that Ice Goblins were seen in the caves that are East of Nivalis. Maybe you can find Ice Cubes in there.\"";
- next;
- mes "\"Though they don't let in everyone. Miners, Soldiers and sometimes an adventurer. I suggest you talk to Lieutenant Dausen about that.\"";
- goto L_Close;
-
-L_CastedSpell: // @state >= 9 but below 14
- mes "[Eomie]";
- mes "\"The grass wasn't damaged due to the interruption. I hope the magic fertilizer is useful for Anwar.\"";
- if (@state != 13)
- goto L_Close;
- menu
- "It was and he created this Silk Headband as a present for you.",L_Present,
- "(Mumble something and leave)",L_Close;
-
-L_Present:
- if (countitem("SilkHeadband") < 1)
- goto L_NoItem;
- delitem "SilkHeadband", 1;
- getexp @silk_exp, 0;
- set @state, 14;
- callsub S_Update_Mask;
- mes "[Eomie]";
- mes "\"Oh, this is very friendly! Please tell him I'm very happy about it.\"";
- mes "She smiles.";
- goto L_Close;
-
-L_Done: // @state >= 14
- mes "[Eomie]";
- mes "\"Hello. I'm happy to see someone like you being dedicated to the needs of plants and people.\"";
- goto L_Close;
-
-L_NoItem:
- mes "[Eomie]";
- mes "\"Where is it?\"";
- goto L_Close;
-
-L_Close:
- set @state, 0;
- set @grass_amount, 0;
- set @water_amount, 0;
- set @ice_amount, 0;
- close;
-
-S_Update_Mask:
- set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~(NIBBLE_3_MASK)) | (@state << NIBBLE_3_SHIFT);
- return;
-}
diff --git a/world/map/npc/024-1/mapflags.txt b/world/map/npc/024-1/mapflags.txt
deleted file mode 100644
index 7cfb1c4d..00000000
--- a/world/map/npc/024-1/mapflags.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-024-1.gat|mapflag|town
-024-1.gat|mapflag|resave|001-1,57,71
diff --git a/world/map/npc/024-1/tinris.txt b/world/map/npc/024-1/tinris.txt
deleted file mode 100644
index e4465cd3..00000000
--- a/world/map/npc/024-1/tinris.txt
+++ /dev/null
@@ -1,219 +0,0 @@
-// Anwar needs a magic fertilizer for his field
-// Quest uses Nibble 3 of QUEST_NorthTulimshar
-// Author: Jenalya
-// state 1: Anwar sent to Tinris for help to get a magic fertilizer
-// state 2: Tinris asked for chocolate cake as present for his girlfriend
-// state 3: Tinris asked for ingredients for the fertilizer
-// state 4: Tinris gave you the fertilizer
-// state 5: Anwar tried it out and it doesn't work well, sent you back to Tinris
-// state 6: Tinris asked for more ingredients for a new try
-// state 7: Tinris says it's really hard, gives you the fertilizer and tells you to ask Eomie to cast a spell on it
-// state 8: Eomie sends you to get some stuff so she can interrupt her spell on the spot of grass
-// state 9: Eomie casted a spell on the fertilizer
-// state 10: Anwar used it and it worked. he asks you to help him preparing a thank-you-gift for each Tinris and Eomis
-// state 11: Anwar asked to bring present to Tinris
-// state 12: gave present to Tinris
-// state 13: Anwar asked to bring present to Eomie
-// state 14: gave present to Eomie
-// state 15: reported back to Anwar and done
-
-024-1.gat,82,64,0|script|Tinris|160
-{
- set @state, ((QUEST_NorthTulimshar & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT);
-
- set @cake_exp, 50;
- set @sweater_exp, 400;
-
- set @slime_amount1, 6;
- set @slime_amount2, 4;
- set @bugleg_amount1, 4;
- set @bugleg_amount2, 5;
- set @stinger_amount1, 3;
- set @stinger_amount2, 2;
- set @ash_amount1, 1;
- set @ash_amount2, 2;
- set @cactusp_amount, 1;
-
- if (@state >= 12) goto L_Done;
- if (@state == 11) goto L_GiveGift;
- if (@state == 9) goto L_FertilizerDone;
- if (@state >= 7) goto L_Eomie;
- if (@state == 6) goto L_SecondTry;
- if (@state >= 4) goto L_FirstTryDone;
- if (@state == 3) goto L_FirstTry;
- if (@state == 2) goto L_Annual;
-
- mes "[Tinris]";
- mes "\"This is a magic school. I'm a student here and focus on ways to magically enhance growth of plants.";
- mes "That topic is very important in a desert area.\"";
- if (@state != 1)
- goto L_Close;
- menu
- "The farmer Anwar sent me to ask for exactly that! Can you give me something for his field?",L_Next;
-
-L_Next:
- mes "[Tinris]";
- mes "\"Well... in principle yes. I can try to prepare something for him. But...\"";
- next;
- mes "\"The thing is, my girlfriend and I have our anniversary today. And the teachers won't let me leave the campus to get something for her!";
- mes "Please go to the bakery and buy a Chocolate Cake for me. She loves Chocolate Cakes.\"";
- next;
- mes "\"When I have a present for her I can focus on creating some magic fertilizer.\"";
- set @state, 2;
- callsub S_Update_Mask;
- goto L_Close;
-
-L_Annual: // @state == 2
- mes "[Tinris]";
- mes "\"Hello, did you get the Chocolate Cake for my girlfriend? After that I can focus on creating some magic fertilizer for you.\"";
- menu
- "Fresh from the bakery!",L_FreshFrom,
- "I didn't get it yet.",L_Close;
-
-L_FreshFrom:
- if (countitem("ChocolateCake") < 1)
- goto L_NoItem;
- delitem "ChocolateCake", 1;
- getexp @cake_exp, 0;
- set @state, 3;
- callsub S_Update_Mask;
- mes "[Tinris]";
- mes "\"Oh, thank you! You saved me!";
- mes "All right, now we can start with the magic fertilizer.\"";
- next;
- goto L_FirstTry;
-
-L_FirstTry:
- // @state == 3
- mes "[Tinris]";
- mes "\"You need to bring me some ingredients.";
- mes "The ingredients are " + @slime_amount1 + " Maggot Slimes, " + @bugleg_amount1 + " Bug Legs, " + @stinger_amount1 + " Scorpion Stingers and " + @ash_amount1 + " Piles of Ash.\"";
- menu
- "I have it.",L_Continue,
- "Ok, I'll go and get it.",L_Close;
-
-L_Continue:
- if ((countitem("MaggotSlime") < @slime_amount1) || (countitem("BugLeg") < @bugleg_amount1) || (countitem("ScorpionStinger") < @stinger_amount1) || (countitem("PileOfAsh") < @ash_amount1))
- goto L_NoItem;
- delitem "MaggotSlime", @slime_amount1;
- delitem "BugLeg", @bugleg_amount1;
- delitem "ScorpionStinger", @stinger_amount1;
- delitem "PileOfAsh", @ash_amount1;
- set @state, 4;
- callsub S_Update_Mask;
- mes "Tinris takes the things and starts to mix them together while mumbling some invocations.";
- misceffect sfx_magic_nature;
- next;
- mes "[Tinris]";
- mes "\"Ok. This should do it. But I'm not sure. I'm still researching this topic.";
- mes "Here, bring this to Anwar.\"";
- mes "He gives you a bottle with the magic fertilizer. You put it away in a separate pocket, so it doesn't get mixed with your inventory.";
- goto L_Close;
-
-L_FirstTryDone: // @state >= 4 but below 6
- mes "[Tinris]";
- mes "\"Bring the fertilizer to Anwar and let me know if it worked.\"";
- if (@state != 5)
- goto L_Close;
- menu
- "I did, the plants went brown and shriveled.",L_More;
-
-L_More:
- set @state, 6;
- callsub S_Update_Mask;
- goto L_SecondTry;
-
-L_SecondTry:
- // @state == 6
- mes "[Tinris]";
- mes "\"Oh no! All right, we need to do another try.";
- mes "Bring me " + @slime_amount2 + " Maggot Slimes, " + @bugleg_amount2 + " Bug Legs, " + @stinger_amount2 + " Scorpion Stingers, " + @ash_amount2 + " Piles of Ash and " + @cactusp_amount + " Cactus Potion.\"";
- menu
- "Here it is.",L_HereItIs,
- "Ok, I'll go and get it.",L_Close;
-
-L_HereItIs:
- if ((countitem("MaggotSlime") < @slime_amount2) || (countitem("BugLeg") < @bugleg_amount2) || (countitem("ScorpionStinger") < @stinger_amount2) || (countitem("PileOfAsh") < @ash_amount2) || (countitem("CactusPotion") < @cactusp_amount))
- goto L_NoItem;
- delitem "MaggotSlime", @slime_amount2;
- delitem "BugLeg", @bugleg_amount2;
- delitem "ScorpionStinger", @stinger_amount2;
- delitem "PileOfAsh", @ash_amount2;
- delitem "CactusPotion", @cactusp_amount;
- set @state, 7;
- callsub S_Update_Mask;
- mes "Tinris takes the things and starts to mix and mumble again.";
- misceffect sfx_magic_nature;
- next;
- mes "It takes quite a while.";
- next;
- mes "He looks rather stressed while working on the mixture.";
- next;
- mes "He sighs.";
- mes "[Tinris]";
- mes "\"Mh, I think the mixture itself is good. But I can't get the spells right. Maybe you should ask Professor Eomie to cast it; she's a genius with nature magic.\"";
- mes "He gives you the bottle with the magic fertilizer.";
- goto L_Close;
-
-L_Eomie:
- // @state >= 7 but below 9
- mes "[Tinris]";
- mes "\"I did the best I could, but it seems I'm not experienced enough to cast the spells correctly. Better ask Professor Eomie for help.\"";
- goto L_Close;
-
-L_FertilizerDone:
- // @state == 9
- mes "[Tinris]";
- mes "\"I heard Eomie cast the spell? I really hope it'll work this time. Bring the magic fertilizer to Anwar now.\"";
- goto L_Close;
-
-L_GiveGift:
- // @state == 11
- mes "[Tinris]";
- mes "\"Ah, did Anwar try the new fertilizer?\"";
- menu
- "Yes, it works great and he asked me to give you this Green V-Neck Sweater he made.",L_ItWorksGreat,
- "Not yet.",L_Close;
-
-L_ItWorksGreat:
- if (countitem("GreenVNeckSweater") < 1)
- goto L_NoItem;
- delitem "GreenVNeckSweater", 1;
- getexp @sweater_exp, 0;
- set @state, 12;
- callsub S_Update_Mask;
- mes "[Tinris]";
- mes "\"Hey, that's really nice. Tell him my thanks.\"";
- goto L_Close;
-
-L_Done:
- // @state >= 12
- mes "[Tinris]";
- mes "\"My girlfriend was delighted with the Chocolate Cake and Professor Eomie was happy with my work on the magic fertilizer.\"";
- mes "He twinkles.";
- mes "[Tinris]";
- mes "\"We're a good team.\"";
- goto L_Close;
-
-L_NoItem:
- mes "[Tinris]";
- mes "\"You don't have it!\"";
- goto L_Close;
-
-L_Close:
- set @state, 0;
- set @slime_amount1, 0;
- set @slime_amount2, 0;
- set @bugleg_amount1, 0;
- set @bugleg_amount2, 0;
- set @stinger_amount1, 0;
- set @stinger_amount2, 0;
- set @ash_amount1, 0;
- set @ash_amount2, 0;
- set @cactusp_amount, 0;
- close;
-
-S_Update_Mask:
- set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~(NIBBLE_3_MASK)) | (@state << NIBBLE_3_SHIFT);
- return;
-}
diff --git a/world/map/npc/024-1/tondar.txt b/world/map/npc/024-1/tondar.txt
deleted file mode 100644
index 473c86e9..00000000
--- a/world/map/npc/024-1/tondar.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-// 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.\"";
- if (getskilllv(SKILL_MAGIC) > 0)
- goto L_may_ask;
- goto L_end;
-
-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.", L_end,
- "Goodbye, then.", L_end;
-
-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?", L_Next;
-
-L_Next:
- 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;
- 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;
-
-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!\"";
- goto L_end;
-
-L_end:
- close;
-}