add fireworks and bombs back to chests, sahagin tier and above

This commit is contained in:
horblegorble 2024-04-04 08:11:29 +10:00
parent 2f0c83992f
commit addba2cfda
6 changed files with 124 additions and 44 deletions

View File

@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Fireworks and bombs are (again) available from chests (Sahagin and above).
### Removed
### Fixed

View File

@ -1,12 +1,28 @@
[
// Gear
(0.25, LootTable("common.loot_tables.weapons.cultist")),
(0.25, LootTable("common.loot_tables.armor.cultist")),
// Currency
(3.0, MultiDrop(Item("common.items.utility.coins"), 1000, 2000)),
// Consumables
(2.0, MultiDrop(Item("common.items.consumable.potion_minor"), 4, 8)),
(0.1, MultiDrop(Item("common.items.food.spore_corruption"), 1, 3)),
// Food
(1.0, MultiDrop(LootTable("common.loot_tables.food.prepared"), 3, 6)),
(1.0, All([
Lottery([
// Gear
(0.25, LootTable("common.loot_tables.weapons.cultist")),
(0.25, LootTable("common.loot_tables.armor.cultist")),
// Currency
(3.0, MultiDrop(Item("common.items.utility.coins"), 1000, 2000)),
// Consumables
(2.0, MultiDrop(Item("common.items.consumable.potion_minor"), 4, 8)),
(0.1, MultiDrop(Item("common.items.food.spore_corruption"), 1, 3)),
// Food
(1.0, MultiDrop(LootTable("common.loot_tables.food.prepared"), 3, 6)),
]),
Lottery([
(0.6, Nothing),
(0.1, MultiDrop(Item("common.items.utility.bomb"), 2, 3)),
(0.3, Lottery([
(1.0, MultiDrop(Item("common.items.utility.firework_yellow"), 3, 5)),
(1.0, MultiDrop(Item("common.items.utility.firework_red"), 3, 5)),
(1.0, MultiDrop(Item("common.items.utility.firework_green"), 3, 5)),
(1.0, MultiDrop(Item("common.items.utility.firework_blue"), 3, 5)),
(1.0, MultiDrop(Item("common.items.utility.firework_purple"), 3, 5)),
(1.0, MultiDrop(Item("common.items.utility.firework_white"), 3, 5)),
]))
])
])),
]

View File

@ -1,12 +1,28 @@
[
// Gear
(0.5, LootTable("common.loot_tables.weapons.components.tier-3")),
(0.25, LootTable("common.loot_tables.weapons.tier-3")),
(0.25, LootTable("common.loot_tables.armor.tier-3")),
// Currency
(3.0, MultiDrop(Item("common.items.utility.coins"), 250, 500)),
// Consumables
(2.0, MultiDrop(Item("common.items.consumable.potion_minor"), 2, 5)),
// Food
(1.0, MultiDrop(LootTable("common.loot_tables.food.prepared"), 2, 4)),
(1.0, All([
Lottery([
// Gear
(0.5, LootTable("common.loot_tables.weapons.components.tier-3")),
(0.25, LootTable("common.loot_tables.weapons.tier-3")),
(0.25, LootTable("common.loot_tables.armor.tier-3")),
// Currency
(3.0, MultiDrop(Item("common.items.utility.coins"), 250, 500)),
// Consumables
(2.0, MultiDrop(Item("common.items.consumable.potion_minor"), 2, 5)),
// Food
(1.0, MultiDrop(LootTable("common.loot_tables.food.prepared"), 2, 4)),
]),
Lottery([
(0.6, Nothing),
(0.1, MultiDrop(Item("common.items.utility.bomb"), 1, 2)),
(0.3, Lottery([
(1.0, MultiDrop(Item("common.items.utility.firework_yellow"), 2, 4)),
(1.0, MultiDrop(Item("common.items.utility.firework_red"), 2, 4)),
(1.0, MultiDrop(Item("common.items.utility.firework_green"), 2, 4)),
(1.0, MultiDrop(Item("common.items.utility.firework_blue"), 2, 4)),
(1.0, MultiDrop(Item("common.items.utility.firework_purple"), 2, 4)),
(1.0, MultiDrop(Item("common.items.utility.firework_white"), 2, 4)),
]))
])
])),
]

View File

@ -1,13 +1,29 @@
[
// Gear
(0.5, LootTable("common.loot_tables.weapons.components.tier-4")),
(0.25, LootTable("common.loot_tables.weapons.tier-4")),
(0.25, LootTable("common.loot_tables.armor.tier-4")),
(0.1, Item("common.items.armor.misc.head.spikeguard")),
// Currency
(3.0, MultiDrop(Item("common.items.utility.coins"), 500, 1000)),
// Consumables
(2.0, MultiDrop(Item("common.items.consumable.potion_minor"), 4, 8)),
// Food
(1.0, MultiDrop(LootTable("common.loot_tables.food.prepared"), 2, 5)),
(1.0, All([
Lottery([
// Gear
(0.5, LootTable("common.loot_tables.weapons.components.tier-4")),
(0.25, LootTable("common.loot_tables.weapons.tier-4")),
(0.25, LootTable("common.loot_tables.armor.tier-4")),
(0.1, Item("common.items.armor.misc.head.spikeguard")),
// Currency
(3.0, MultiDrop(Item("common.items.utility.coins"), 500, 1000)),
// Consumables
(2.0, MultiDrop(Item("common.items.consumable.potion_minor"), 4, 8)),
// Food
(1.0, MultiDrop(LootTable("common.loot_tables.food.prepared"), 2, 5)),
]),
Lottery([
(0.6, Nothing),
(0.1, MultiDrop(Item("common.items.utility.bomb"), 2, 3)),
(0.3, Lottery([
(1.0, MultiDrop(Item("common.items.utility.firework_yellow"), 3, 5)),
(1.0, MultiDrop(Item("common.items.utility.firework_red"), 3, 5)),
(1.0, MultiDrop(Item("common.items.utility.firework_green"), 3, 5)),
(1.0, MultiDrop(Item("common.items.utility.firework_blue"), 3, 5)),
(1.0, MultiDrop(Item("common.items.utility.firework_purple"), 3, 5)),
(1.0, MultiDrop(Item("common.items.utility.firework_white"), 3, 5)),
]))
])
])),
]

View File

@ -1,12 +1,28 @@
[
// Gear
(0.5, LootTable("common.loot_tables.weapons.components.tier-2")),
(0.25, LootTable("common.loot_tables.weapons.tier-2")),
(0.25, LootTable("common.loot_tables.armor.tier-2")),
// Currency
(3.0, MultiDrop(Item("common.items.utility.coins"), 100, 250)),
// Consumables
(2.0, MultiDrop(Item("common.items.consumable.potion_minor"), 2, 5)),
// Food
(1.0, MultiDrop(LootTable("common.loot_tables.food.prepared"), 1, 4)),
(1.0, All([
Lottery([
// Gear
(0.5, LootTable("common.loot_tables.weapons.components.tier-2")),
(0.25, LootTable("common.loot_tables.weapons.tier-2")),
(0.25, LootTable("common.loot_tables.armor.tier-2")),
// Currency
(3.0, MultiDrop(Item("common.items.utility.coins"), 100, 250)),
// Consumables
(2.0, MultiDrop(Item("common.items.consumable.potion_minor"), 2, 5)),
// Food
(1.0, MultiDrop(LootTable("common.loot_tables.food.prepared"), 1, 4)),
]),
Lottery([
(0.6, Nothing),
(0.1, Item("common.items.utility.bomb")),
(0.3, Lottery([
(1.0, MultiDrop(Item("common.items.utility.firework_yellow"), 1, 3)),
(1.0, MultiDrop(Item("common.items.utility.firework_red"), 1, 3)),
(1.0, MultiDrop(Item("common.items.utility.firework_green"), 1, 3)),
(1.0, MultiDrop(Item("common.items.utility.firework_blue"), 1, 3)),
(1.0, MultiDrop(Item("common.items.utility.firework_purple"), 1, 3)),
(1.0, MultiDrop(Item("common.items.utility.firework_white"), 1, 3)),
]))
])
])),
]

View File

@ -1,4 +1,18 @@
[
// Key
(1.0, Item("common.items.keys.terracotta_key_door")),
(1.0, All([
// Key
Item("common.items.keys.terracotta_key_door"),
Lottery([
(0.3, Nothing),
(0.4, MultiDrop(Item("common.items.utility.bomb"), 3, 5)),
(0.3, Lottery([
(1.0, MultiDrop(Item("common.items.utility.firework_red"), 4, 6)),
(1.0, MultiDrop(Item("common.items.utility.firework_green"), 4, 6)),
(1.0, MultiDrop(Item("common.items.utility.firework_blue"), 4, 6)),
(1.0, MultiDrop(Item("common.items.utility.firework_purple"), 4, 6)),
(1.0, MultiDrop(Item("common.items.utility.firework_yellow"), 4, 6)),
(1.0, MultiDrop(Item("common.items.utility.firework_white"), 4, 6)),
])),
])
])),
]