summaryrefslogtreecommitdiff
path: root/world/map/npc/001-2/tondar.txt
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2015-01-07 21:04:38 -0600
committerwushin <pasekei@gmail.com>2015-01-07 21:04:38 -0600
commit61c88ec162713b980f30e6e5111c1cfbd9f23d3a (patch)
treecbc5f399ccf8dd226056887a70b9a313f88bee6e /world/map/npc/001-2/tondar.txt
parent2901ba177dea5867cbd52eb2b02a0ef8e1816e15 (diff)
downloadserverdata-61c88ec162713b980f30e6e5111c1cfbd9f23d3a.tar.gz
serverdata-61c88ec162713b980f30e6e5111c1cfbd9f23d3a.tar.bz2
serverdata-61c88ec162713b980f30e6e5111c1cfbd9f23d3a.tar.xz
serverdata-61c88ec162713b980f30e6e5111c1cfbd9f23d3a.zip
Adjust rest of world to Match new tutorial
Diffstat (limited to 'world/map/npc/001-2/tondar.txt')
-rw-r--r--world/map/npc/001-2/tondar.txt56
1 files changed, 56 insertions, 0 deletions
diff --git a/world/map/npc/001-2/tondar.txt b/world/map/npc/001-2/tondar.txt
new file mode 100644
index 00000000..5c15dddb
--- /dev/null
+++ b/world/map/npc/001-2/tondar.txt
@@ -0,0 +1,56 @@
+// A professor at Tulimshar's magic academy
+
+001-2.gat,95,79,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;
+}