diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
commit | cf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch) | |
tree | f9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/018-2/books.txt | |
parent | 8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff) | |
download | serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2 serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip |
Override
Diffstat (limited to 'npc/018-2/books.txt')
-rwxr-xr-x | npc/018-2/books.txt | 21 |
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; +} |