summaryrefslogtreecommitdiff
path: root/npc/020-2-30/david.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/020-2-30/david.txt')
-rw-r--r--npc/020-2-30/david.txt42
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;
+}
+