From cf18ce071c79ae37e14ea38943e0b1d88da70a7b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Apr 2021 13:33:57 -0300 Subject: Override --- npc/001-2/tondar.txt | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100755 npc/001-2/tondar.txt (limited to 'npc/001-2/tondar.txt') diff --git a/npc/001-2/tondar.txt b/npc/001-2/tondar.txt new file mode 100755 index 00000000..44ea860d --- /dev/null +++ b/npc/001-2/tondar.txt @@ -0,0 +1,54 @@ + +001-2,95,79,0 script Tondar NPC168,{ + 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 `" + get(.invocation$, "spell-experience") + "'.\""; + 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; +} -- cgit v1.2.3-60-g2f50