summaryrefslogtreecommitdiff
path: root/world/map/npc/018-2/books.txt
blob: 246247628686ab96381075110ba93bf81d7ee37e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//

018-2,112,19,0|script|#Bookcase38|400,0,1
{
    set @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;
    set @inspector, 12;
    set QUEST_Hurnscald, (QUEST_Hurnscald & ~(NIBBLE_3_MASK)) | (@inspector << NIBBLE_3_SHIFT);
    goto L_Close;

L_Close:
    set @inspector, 0;
    close;
}