diff options
Diffstat (limited to 'npc/018-3')
-rw-r--r-- | npc/018-3/_import.txt | 8 | ||||
-rw-r--r-- | npc/018-3/_mobs.txt | 25 | ||||
-rw-r--r-- | npc/018-3/_warps.txt | 24 | ||||
-rw-r--r-- | npc/018-3/bookcase.txt | 66 | ||||
-rw-r--r-- | npc/018-3/evil-obelisk.txt | 30 | ||||
-rw-r--r-- | npc/018-3/mapflags.txt | 1 | ||||
-rw-r--r-- | npc/018-3/sword.txt | 10 |
7 files changed, 164 insertions, 0 deletions
diff --git a/npc/018-3/_import.txt b/npc/018-3/_import.txt new file mode 100644 index 00000000..3595d680 --- /dev/null +++ b/npc/018-3/_import.txt @@ -0,0 +1,8 @@ +// Map 018-3: Northern Mines +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/018-3/_mobs.txt", +"npc/018-3/_warps.txt", +"npc/018-3/bookcase.txt", +"npc/018-3/evil-obelisk.txt", +"npc/018-3/mapflags.txt", +"npc/018-3/sword.txt", diff --git a/npc/018-3/_mobs.txt b/npc/018-3/_mobs.txt new file mode 100644 index 00000000..b18b4a82 --- /dev/null +++ b/npc/018-3/_mobs.txt @@ -0,0 +1,25 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 018-3: Northern Mines mobs +018-3,48,29,28,9 monster Bat 1017,10,100000,30000 +018-3,35,144,15,24 monster Evil Mushroom 1013,10,120000,30000 +018-3,35,65,14,11 monster Spider 1012,20,100000,50000 +018-3,28,157,1,1 monster Pink Flower 1014,1,60000,30000 +018-3,99,111,8,20 monster Yellow Slime 1007,10,90000,30000 +018-3,134,140,6,4 monster Maggot 1002,3,80000,40000 +018-3,82,149,36,13 monster Spider 1012,8,300000,120000 +018-3,102,172,65,6 monster Black Scorpion 1009,20,60000,10000 +018-3,174,37,5,15 monster Yellow Slime 1007,5,180000,120000 +018-3,148,148,6,12 monster Bat 1017,3,180000,40000 +018-3,136,87,10,3 monster Yellow Slime 1007,6,80000,40000 +018-3,81,77,13,10 monster Red Slime 1008,15,80000,40000 +018-3,111,80,2,3 monster Black Scorpion 1009,10,80000,40000 +018-3,175,122,2,20 monster Snake 1010,15,40000,20000 +018-3,172,94,8,8 monster Red Slime 1008,10,60000,30000 +018-3,59,95,5,4 monster Spider 1012,15,60000,30000 +018-3,77,92,11,3 monster Black Scorpion 1009,15,60000,30000 +018-3,94,55,8,4 monster Snake 1010,5,60000,30000 +018-3,133,39,6,8 monster Spider 1012,10,60000,30000 +018-3,111,33,15,8 monster Snake 1010,15,60000,30000 +018-3,68,101,2,2 monster Cave Snake 1021,4,60000,30000 +018-3,153,96,9,8 monster Cave Maggot 1056,4,100000,30000 +018-3,99,99,8,8 monster Cave Maggot 1056,4,100000,30000 diff --git a/npc/018-3/_warps.txt b/npc/018-3/_warps.txt new file mode 100644 index 00000000..b0a15fcc --- /dev/null +++ b/npc/018-3/_warps.txt @@ -0,0 +1,24 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 018-3: Northern Mines warps +018-3,100,133,0 warp #018-3_100_133 1,0,018-1,79,60 +018-3,44,39,0 warp #018-3_44_39 0,0,018-1,112,62 +018-3,49,100,0 warp #018-3_49_100 0,0,018-1,128,57 +018-3,123,167,0 warp #018-3_123_167 0,0,018-1,90,43 +018-3,70,106,0 warp #018-3_70_106 0,0,018-1,69,55 +018-3,50,88,0 warp #018-3_50_88 0,0,013-3,69,142 +018-3,145,163,0 warp #018-3_145_163 0,0,018-1,153,47 +018-3,64,104,0 warp #018-3_64_104 0,0,018-1,158,35 +018-3,29,167,0 warp #018-3_29_167 0,0,018-1,162,45 +018-3,97,69,0 warp #018-3_97_69 0,0,013-3,178,43 +018-3,27,54,0 warp #018-3_27_54 0,0,013-3,169,44 +018-3,134,63,0 warp #018-3_134_63 0,0,013-3,152,29 +018-3,177,56,0 warp #018-3_177_56 0,0,018-2,114,20 +018-3,172,21,0 warp #018-3_172_21 0,0,013-3,123,103 +018-3,177,21,0 warp #018-3_177_21 0,0,013-3,147,103 +018-3,27,91,0 warp #018-3_27_91 0,0,013-3,158,67 +018-3,90,50,0 warp #018-3_90_50 0,0,013-3,67,50 +018-3,71,122,0 warp #018-3_71_122 0,0,013-3,111,41 +018-3,174,85,0 warp #018-3_174_85 0,0,013-3,62,99 +018-3,102,69,0 warp #018-3_102_69 0,0,013-3,68,96 +018-3,179,181,0 warp #018-3_179_181 0,0,009-3,157,31 +018-3,107,146,0 warp #018-3_107_146 0,0,018-1,78,33 diff --git a/npc/018-3/bookcase.txt b/npc/018-3/bookcase.txt new file mode 100644 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; +} diff --git a/npc/018-3/evil-obelisk.txt b/npc/018-3/evil-obelisk.txt new file mode 100644 index 00000000..071936d2 --- /dev/null +++ b/npc/018-3/evil-obelisk.txt @@ -0,0 +1,30 @@ + +018-3,67,28,0 script Evil Obelisk NPC185,{ + if (getq(Quest_Reapercry) == 3) { + mesc l("We've already seen such obelisk before... Do you want to sacrifice %d %s?", .souls, getitemlink(Soul)); + if (countitem(Soul) >= .souls) { + next; + if (askyesno() == ASK_YES) { + delitem Soul, .souls; + warp "099-7", 95, 31; + closeclientdialog; + close; + } + } + } + @map$ = "018-3"; + @x0 = 56; + @y0 = 22; + @x1 = 77; + @y1 = 37; + callfunc "EvilObelisk"; + @map$ = ""; + @x0 = 0; + @y0 = 0; + @x1 = 0; + @y1 = 0; + close; +OnInit: + .souls=25; + end; +} diff --git a/npc/018-3/mapflags.txt b/npc/018-3/mapflags.txt new file mode 100644 index 00000000..22d2f40e --- /dev/null +++ b/npc/018-3/mapflags.txt @@ -0,0 +1 @@ +//018-3 mapflag resave 018-2,88,32 diff --git a/npc/018-3/sword.txt b/npc/018-3/sword.txt new file mode 100644 index 00000000..5ee19c82 --- /dev/null +++ b/npc/018-3/sword.txt @@ -0,0 +1,10 @@ +018-3,71,127,0 script #DemonSword#_M NPC400,{ + if (getskilllv(SKILL_MAGIC)) + goto L_message; + close; + +L_message: + mes "[Sword in Rock]"; + mes "\"Ouch... my head...\""; + close; +} |