Overhaul loot tables

This commit is contained in:
juliancoffee 2021-05-25 00:20:18 +03:00
parent 940655dcb6
commit 3700cc8a67
11 changed files with 30 additions and 27 deletions

View File

@ -10,8 +10,8 @@ loot_tables: [
(1.0, false, "common.loot_tables.weapons.tier-4"), (1.0, false, "common.loot_tables.weapons.tier-4"),
(0.5, false, "common.loot_tables.weapons.tier-5"), (0.5, false, "common.loot_tables.weapons.tier-5"),
(0.05, false, "common.loot_tables.weapons.cultist"), (0.05, false, "common.loot_tables.weapons.cultist"),
(0.125, false, "common.loot_tables.weapons.cave"), (0.05, false, "common.loot_tables.weapons.cave"),
(0.0625, false, "common.loot_tables.weapons.legendary"), (0.04, false, "common.loot_tables.weapons.legendary"),
// Armor // Armor
(20.0, true, "common.loot_tables.armor.cloth"), (20.0, true, "common.loot_tables.armor.cloth"),
(6.0, true, "common.loot_tables.armor.agile"), (6.0, true, "common.loot_tables.armor.agile"),
@ -30,8 +30,8 @@ loot_tables: [
(0.3, true, "common.loot_tables.food.farm_ingredients"), (0.3, true, "common.loot_tables.food.farm_ingredients"),
(0.4, true, "common.loot_tables.food.wild_ingredients"), (0.4, true, "common.loot_tables.food.wild_ingredients"),
(0.2, true, "common.loot_tables.food.prepared"), (0.2, true, "common.loot_tables.food.prepared"),
// TODO: Change consumables when they are split up later // TODO: Change consumables and split them up
(1.0, true, "common.loot_tables.consumables"), (1.0, true, "common.loot_tables.consumables.default"),
(0.5, false, "common.loot_tables.trading"), (0.5, false, "common.loot_tables.trading"),
], ],
// this is the amount of that good the most common item represents // this is the amount of that good the most common item represents

View File

@ -1,14 +0,0 @@
[
// potions
(1.0, Item("common.items.consumable.potion_minor")),
(0.5, Item("common.items.consumable.potion_med")),
(0.2, Item("common.items.consumable.potion_big")),
// bombs
(0.6, Item("common.items.utility.bomb")),
(0.2, Item("common.items.utility.bomb_pile")),
// velorite
(1.0, Item("common.items.ore.veloritefrag")),
(0.5, Item("common.items.ore.velorite")),
// misc
(0.1, Item("common.items.utility.collar")),
]

View File

@ -0,0 +1,5 @@
[
(2.0, LootTable("common.loot_tables.consumables.potions")),
(0.5, LootTable("common.loot_tables.consumables.throwables")),
(1.0, LootTable("common.loot_tables.consumables.misc")),
]

View File

@ -0,0 +1,5 @@
[
// misc
(0.1, Item("common.items.utility.collar")),
(1.0, LootTable("common.loot_tables.consumables.fireworks")),
]

View File

@ -0,0 +1,6 @@
[
// potions
(1.0, Item("common.items.consumable.potion_minor")),
(0.5, Item("common.items.consumable.potion_med")),
(0.2, Item("common.items.consumable.potion_big")),
]

View File

@ -0,0 +1,5 @@
[
// bombs
(0.6, Item("common.items.utility.bomb")),
(0.2, Item("common.items.utility.bomb_pile")),
]

View File

@ -1,8 +1,5 @@
[ [
(1.0, LootTable("common.loot_tables.weapons.tier-0")), (1.0, LootTable("common.loot_tables.weapons.tier-0")),
(1.0, LootTable("common.loot_tables.weapons.tier-1")),
(1.0, LootTable("common.loot_tables.armor.cloth")), (1.0, LootTable("common.loot_tables.armor.cloth")),
(1.0, LootTable("common.loot_tables.armor.swift")), (1.0, ItemQuantity("common.items.utility.coins", 10, 20)),
(0.1, LootTable("common.loot_tables.armor.plate")), ]
(1.0, LootTable("common.loot_tables.fallback")),
]

View File

@ -1,5 +1,5 @@
[ [
(1.0, LootTable("common.loot_tables.armor.cloth")), (1.0, LootTable("common.loot_tables.armor.cloth")),
(2.0, LootTable("common.loot_tables.weapons.tier-0")), (2.0, LootTable("common.loot_tables.weapons.tier-0")),
(2.0, LootTable("common.loot_tables.consumables")), (2.0, LootTable("common.loot_tables.consumables.potions")),
] ]

View File

@ -14,6 +14,5 @@
(0.1, Item("common.items.glider.glider_blue")), (0.1, Item("common.items.glider.glider_blue")),
(0.001, Item("common.items.armor.misc.back.backpack")), (0.001, Item("common.items.armor.misc.back.backpack")),
(0.1, Item("common.items.armor.misc.bag.heavy_seabag")), (0.1, Item("common.items.armor.misc.bag.heavy_seabag")),
(0.5, LootTable("common.loot_tables.fireworks")), (1.0, LootTable("common.loot_tables.consumables.default")),
(0.5, Item("common.items.utility.bomb")),
] ]

View File

@ -5,5 +5,5 @@
(3.0, LootTable("common.loot_tables.food.wild_ingredients")), (3.0, LootTable("common.loot_tables.food.wild_ingredients")),
(0.5, LootTable("common.loot_tables.food.prepared")), (0.5, LootTable("common.loot_tables.food.prepared")),
// Consumables // Consumables
(0.5, LootTable("common.loot_tables.consumables")), (0.5, LootTable("common.loot_tables.consumables.default")),
] ]