summaryrefslogtreecommitdiff
path: root/npc/items/shovel.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/items/shovel.txt')
-rw-r--r--npc/items/shovel.txt63
1 files changed, 2 insertions, 61 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index ed1f464..07da98a 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -289,16 +289,7 @@ OnInit:
.PlayerTiredTime = 25;
// You can bury & dig on all mines
- AddDigRect("007-1", 20, 20, 180, 190);
AddDigRect("011-1", 20, 20, 180, 180);
- AddDigRect("015-1", 20, 20, 180, 180);
- AddDigRect("032-2", 20, 20, 180, 180);
-
- // Aeros can be used too (for events)
- AddDigRect("001-1", 20, 20, 342, 158);
-
- // LoF Areas
- AddDigRect("018-1", 20, 20, 80, 80);
OnHour00:
// Clear random treasure
@@ -308,48 +299,6 @@ OnHour00:
deletearray $@WBT_Random_x;
deletearray $@WBT_Random_y;
-
- // Scatter Treasure.
- // There are 25600 possible cells, and about 60% of them are collisions.
- // As we don't prevent treasure from falling on collision, it is pretty high.
- // If two treasures fall on same place, the previous treasure will be ignored.
- // Theoretical chance of uncovering a treasure on an attempt is 0.12% to 0.70%
- // 2019-05-27: Doubled ammount of treasures. New rates should be 0.24% ~ 1.40%
- shovel_scatter("007-1", 20, 20, 180, 180, rand(60,360),
- TreasureKey,CoinBag,TreasureKey,SulfurPowder,Coal,EarthPowder,
- IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre,
- Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst,
- CursedAmmoBox,ThornAmmoBox,SacredBullet);
- shovel_scatter("011-1", 20, 20, 180, 180, rand(60,360),
- TreasureKey,CoinBag,TreasureKey,SulfurPowder,Coal,EarthPowder,
- IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre,
- Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst,
- CursedAmmoBox,ThornAmmoBox,SacredBullet);
- shovel_scatter("015-1", 20, 20, 180, 180, rand(60,360),
- TreasureKey,CoinBag,TreasureKey,SulfurPowder,Coal,EarthPowder,
- IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre,
- Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst,
- CursedAmmoBox,ThornAmmoBox,SacredBullet);
-
- // Extra burried treasure (25~65 over 3600 tiles: aprox. 0.70% to 1.80%)
- // New Rate: 1.40% ~ 3.60% since 2019-05-27
- shovel_scatter("018-1", 20, 20, 80, 80, rand(50,130),
- TreasureKey,CoinBag,TreasureKey,SulfurPowder,Coal,EarthPowder,
- IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre,
- Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst,
- CursedAmmoBox,ThornAmmoBox,SacredBullet);
-
- // Aeros can't be forgotten, but only during Thanksgiving
- if ($EVENT$ == "Thanksgiving") {
- shovel_scatter("001-1", 171, 20, 340, 160, rand(160,360),
- TreasureKey,CoinBag,TreasureKey,SulfurPowder,Coal,EarthPowder,
- IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre,
- Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst);
- shovel_scatter("001-1", 20, 20, 140, 140, rand(160,360),
- TreasureKey,CoinBag,TreasureKey,SulfurPowder,Coal,EarthPowder,
- IronOre,CopperOre,LeadOre,TinOre,SilverOre,GoldOre,PlatinumOre,IridiumOre,TitaniumOre,
- Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst);
- }
end;
}
@@ -451,11 +400,7 @@ function script shovel_randomtreasure {
}
function script shovel_genrandtreasure {
- 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
- .@m$=any("007-1", "011-1", "015-1", "018-1");
+ .@m$=any("011-1");
// Dangerous
do {
.@x=rand2(20, getmapinfo(MAPINFO_SIZE_X, .@m$)-20);
@@ -521,11 +466,7 @@ function script shovel_randomdungeon {
}
function script shovel_genranddungeon {
- 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
- .@m$=any("007-1", "011-1", "015-1", "018-1");
+ .@m$=any("011-1");
// Dangerous
do {
.@x=rand2(20, getmapinfo(MAPINFO_SIZE_X, .@m$)-20);