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-3/bookcase.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-3/bookcase.txt')
-rwxr-xr-x | npc/018-3/bookcase.txt | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/npc/018-3/bookcase.txt b/npc/018-3/bookcase.txt new file mode 100755 index 00000000..d661f749 --- /dev/null +++ b/npc/018-3/bookcase.txt @@ -0,0 +1,66 @@ + +018-3,75,123,0 script #DemonMineBookcase1 NPC400,{ + @state = ((QUEST_Hurnscald & NIBBLE_2_MASK) >> NIBBLE_2_SHIFT); + + if (@state == 0) goto L_Search; + + mes "You see nothing different about the bookcase."; + mes "Do you want to search it again anyways?"; + next; + menu + "Yes.", L_Search, + "No.", L_close; + +L_Search: + mes "After searching the bookcase, you were able to find a few passages that you can read."; + next; + mes "One of the describes an ancient barrier that guards a great treasure."; + mes ""; + mes "To get through it, you need to consume the soul of a great pumpkin ghost."; + next; + mes "Another passage describes a ritual needed to open a certain cursed chest."; + mes ""; + mes "It looks like a lot of items will be needed."; + next; + mes "The slime of a maggot."; + mes "A mushroom, big or small."; + mes "The petal of a pink flower."; + next; + mes "A pearl from the sea."; + mes "A spike; the harder, the better."; + mes "Some raw wood. One log should do."; + next; + mes "An antenna. Preferably pink."; + mes "The tongues of four different snakes."; + mes "A key to a treasure chest."; + next; + mes "A pile of ash."; + mes "Four different herbs."; + mes "A bug, or part of one."; + next; + mes "A lamp for the dark."; + mes "Rock and metal, as one."; + mes "Three different deaths dealt by three different scorpions."; + next; + mes "The womb that gives birth to butterflies."; + mes "The gentle caress of a creature without blemish."; + mes "A single piece of darkness."; + next; + mes "And a bottle's worth of water."; + mes ""; + mes "You begin to wonder if you read that list right."; + next; + if (@state != 0) + goto L_close; + @state = 1; + callsub S_Update_Mask; + goto L_close; + +L_close: + @state = 0; + close; + +S_Update_Mask: + QUEST_Hurnscald = (QUEST_Hurnscald & ~(NIBBLE_2_MASK)) | (@state << NIBBLE_2_SHIFT); + return; +} |