diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 11:00:49 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 11:00:49 -0300 |
commit | 8a4bf716002a017de77fe7df301ef8e4aaf00a2e (patch) | |
tree | 4947d0b015baad639fa07133369e9a09c8a468bc /npc/020-2-30/david.txt | |
download | serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.gz serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.bz2 serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.xz serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.zip |
Initial commit
Diffstat (limited to 'npc/020-2-30/david.txt')
-rw-r--r-- | npc/020-2-30/david.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/npc/020-2-30/david.txt b/npc/020-2-30/david.txt new file mode 100644 index 00000000..03bf19f9 --- /dev/null +++ b/npc/020-2-30/david.txt @@ -0,0 +1,42 @@ +// The Mana World scripts. +// Author: +// Jesusalva +// Description: +// David is the head of Alchemy class in the Magic Academy + +020-2-30,36,24,0 script David NPC_MAGE_BLUE,{ + function rossyPotion; + mesn; + mesq l("Hello there. I am David, head of alchemy in the magic academy."); + next; + mesn; + mesq l("If you are not a student, please leave the premises at once."); + if (getq(HurnscaldQuests_Rossy) == 8) + rossyPotion(); + close; + +function rossyPotion { + next; + select + l("Alright, I'll be going."), + l("Actually, Rossy told me to deliver a potion to you."); + mes ""; + if (@menu == 1) + return; + mesn; + mesq l("Ah, just in time. I asked Hocus' to send a letter; the deadline was coming up soon."); + next; + mesn; + mesq l("It seems okay-ish, I guess? Okay-ish is enough. Anyway, I'll analyze it and grade fairly. You can tell her that."); + next; + mesn; + mesq l("And unless you are a student, I'll have to ask you to leave the premises."); + setq HurnscaldQuests_Rossy, 9; + return; +} + +OnInit: + .distance = 4; + end; +} + |