diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-06-03 23:30:36 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-06-03 23:30:36 -0300 |
commit | 5a53824c740faa6efc4d7ff4dd31b7bc36c9650b (patch) | |
tree | dba241d8955673faf49363a850eb9e8062ac8587 | |
parent | 6aaa9c57c9867b884f4d48e91706b748ee225bc5 (diff) | |
download | serverdata-5a53824c740faa6efc4d7ff4dd31b7bc36c9650b.tar.gz serverdata-5a53824c740faa6efc4d7ff4dd31b7bc36c9650b.tar.bz2 serverdata-5a53824c740faa6efc4d7ff4dd31b7bc36c9650b.tar.xz serverdata-5a53824c740faa6efc4d7ff4dd31b7bc36c9650b.zip |
Treasure Maps can now point to Fortress Island if the Main Quest was completed.
Rewards, however, are similar or the same to Legacy Tulimshar.
-rw-r--r-- | npc/items/shovel.txt | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt index 2a6425db7..8f0708a0b 100644 --- a/npc/items/shovel.txt +++ b/npc/items/shovel.txt @@ -438,6 +438,10 @@ function script shovel_getcity { return l("Sincerity Island"); if (.@a$ == "032-2") return l("Tree Maze (Past Tulimshar)"); + if (.@a$ == "025-4-1") + return l("Luminous Caves (Fortress Is.)"); + if (.@a$ == "018-6-1") + return l("Elenium Mines"); return .@a$; } @@ -445,16 +449,17 @@ function script shovel_getcity { // [Treasure Map] functions function script shovel_randomtreasure { + .@m$ = getmap(); .@id=any(TreasureKey,CoinBag,TreasureKey,CoinBag,CoinBag,GoldPieces, Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst, StrangeCoin, CasinoCoins, MercBoxA, AncientBlueprint); // Legacy Tulimshar has different items - if (getmap() == "032-2") .@id = any(CoinBag, TreasureKey, GoldPieces, - Diamond,Ruby,Emerald, - Sapphire,Topaz,Amethyst, - StrangeCoin, MercBoxB, AncientBlueprint, - TulimWarpCrystal, AlchemyBlueprintC, - EarthPowder, MercBoxC, StrangeCoin); + if (.@m$ == "032-2" || .@m$ == "025-4-1") .@id = any(CoinBag, + TreasureKey, GoldPieces, + Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst, + StrangeCoin, MercBoxB, AncientBlueprint, + TulimWarpCrystal, AlchemyBlueprintC, + EarthPowder, MercBoxC, StrangeCoin); if (rand2(400) == 136) .@id = EarthPowder; // 0.25% chance if (rand2(2000) == 337) .@id = PirateBandana; // 0.05% chance delitem TreasureMap, 1; @@ -483,7 +488,10 @@ function script shovel_randomtreasure { } function script shovel_genrandtreasure { - if (getq(LoFQuest_EPISODE) >= 16) + if (getq(General_Narrator) >= 23) + .@m$=any("007-1", "011-1", "015-1", "018-1", "032-2", + "007-1", "011-1", "015-1", "018-1", "025-4-1"); + else if (getq(LoFQuest_EPISODE) >= 16) .@m$=any("007-1", "011-1", "015-1", "018-1", "032-2", "007-1", "011-1", "015-1", "018-1"); else @@ -525,9 +533,9 @@ function script shovel_randomdungeon { MazeMobs((BaseLevel*8/10), false, rand2(20, 24)); // Prepare the chest array - if (.@mz & MAZE_SIZE_A) + if (.@mz & MAZE_SIZE_A || ShovelQuests_DungeonMAP$ == "025-4-1") array_push(.@mob, SupremeChest); - if (.@mz & MAZE_SIZE_X) + if (.@mz & MAZE_SIZE_X || ShovelQuests_DungeonMAP$ == "025-4-1") array_push(.@mob, PrismChest); if (.@mz & MAZE_SIZE_G) array_push(.@mob, GoldenChest); @@ -553,7 +561,10 @@ function script shovel_randomdungeon { } function script shovel_genranddungeon { - if (getq(LoFQuest_EPISODE) >= 16) + if (getq(General_Narrator) >= 23) + .@m$=any("007-1", "011-1", "015-1", "018-1", "032-2", + "007-1", "011-1", "015-1", "018-1", "025-4-1"); + else if (getq(LoFQuest_EPISODE) >= 16) .@m$=any("007-1", "011-1", "015-1", "018-1", "032-2", "007-1", "011-1", "015-1", "018-1"); else |