summaryrefslogtreecommitdiff
path: root/npc/018-2/books.txt
blob: eb355cb0c771b513a2a22f13c015be3af1404a0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
}