summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-01-26 00:11:00 +0100
committerReid <reidyaro@gmail.com>2016-01-26 00:11:00 +0100
commit9758f1edf342e450cea2d1759420a73061e4687e (patch)
treef0d20b24d2638dfd998523d239f141ebe13b9e65
parent65a74ceb94a1b310646bf27876090ece612fe1f1 (diff)
downloadserverdata-9758f1edf342e450cea2d1759420a73061e4687e.tar.gz
serverdata-9758f1edf342e450cea2d1759420a73061e4687e.tar.bz2
serverdata-9758f1edf342e450cea2d1759420a73061e4687e.tar.xz
serverdata-9758f1edf342e450cea2d1759420a73061e4687e.zip
Add qpid NPC.
-rw-r--r--db/constants.conf1
-rw-r--r--npc/001-1/_import.txt1
-rw-r--r--npc/001-1/qpid.txt58
3 files changed, 60 insertions, 0 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 21e12c3e..5ba30438 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -3896,6 +3896,7 @@ constants_db: {
NPC_KAYLO: 137
NPC_LYDON: 138
NPC_RED: 139
+ NPC_QPID: 140
NPC_ALIGE: 401
NPC_ORC_SAILOR: 402
NPC_RATTO_SAILOR: 403
diff --git a/npc/001-1/_import.txt b/npc/001-1/_import.txt
index 8fa4c21e..036c46e5 100644
--- a/npc/001-1/_import.txt
+++ b/npc/001-1/_import.txt
@@ -22,6 +22,7 @@ npc: npc/001-1/merlin.txt
npc: npc/001-1/nalkri.txt
npc: npc/001-1/panels.txt
npc: npc/001-1/qonan.txt
+npc: npc/001-1/qpid.txt
npc: npc/001-1/rumly.txt
npc: npc/001-1/shop.txt
npc: npc/001-1/taree.txt
diff --git a/npc/001-1/qpid.txt b/npc/001-1/qpid.txt
new file mode 100644
index 00000000..ab7b3ee2
--- /dev/null
+++ b/npc/001-1/qpid.txt
@@ -0,0 +1,58 @@
+// Evol scripts.
+// Authors:
+// Reid
+// Description:
+// Potion seller, she is part of the Enora's noob quests.
+
+001-1,65,116,0 script Q'Pid#001-1 NPC_QPID,{
+
+ speech 4,
+ l("");
+
+ // Add book reference to the library
+ // Add Enora's quest
+ // Add alchemist reference
+ .@enora = getq(ArtisQuests_Enora);
+
+ do
+ {
+ menuint
+ rif (.@enora == 5, l("Enora wants her potions.")), 0,
+ l("[Trade]"), 1,
+ l("How do you do your potions?"), 2,
+ l("What are you reading?"), 3,
+ l("[Quit]"), 4;
+
+ switch (@menuret)
+ {
+ case 0:
+ speech 5,
+ l("");
+ break;
+ case 1:
+ closedialog;
+ shop "Store#Potion001-1";
+ close;
+ case 2:
+ speech 5,
+ l("");
+ break;
+ case 3:
+ speech 5,
+ l("");
+ break;
+ case 4:
+ break;
+ }
+ } while (@menuret != 4);
+
+ closedialog;
+ goodbye;
+ close;
+
+OnInit:
+ .sex = G_FEMALE;
+ .distance = 3;
+ end;
+}
+