summaryrefslogtreecommitdiff
path: root/npc/018-2/books.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/018-2/books.txt')
-rwxr-xr-xnpc/018-2/books.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/npc/018-2/books.txt b/npc/018-2/books.txt
new file mode 100755
index 00000000..eb355cb0
--- /dev/null
+++ b/npc/018-2/books.txt
@@ -0,0 +1,21 @@
+
+018-2,112,19,0 script #Bookcase38 NPC400,0,1,{
+ @inspector = ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT);
+
+ if (@inspector == 11) goto L_NohMask;
+ mes "Looking over the bookcase, you find nothing strange or out of order.";
+ goto L_close;
+
+L_NohMask:
+ mes "Looking over the bookcase closely, you find a book is upside down.";
+ next;
+ mes "The book has been hollowed out. Inside is a theater mask and a note that you cannot even begin to read.";
+ next;
+ @inspector = 12;
+ QUEST_Hurnscald = (QUEST_Hurnscald & ~(NIBBLE_3_MASK)) | (@inspector << NIBBLE_3_SHIFT);
+ goto L_close;
+
+L_close:
+ @inspector = 0;
+ close;
+}