mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Overhaul loot tables
This commit is contained in:
parent
940655dcb6
commit
3700cc8a67
@ -10,8 +10,8 @@ loot_tables: [
|
||||
(1.0, false, "common.loot_tables.weapons.tier-4"),
|
||||
(0.5, false, "common.loot_tables.weapons.tier-5"),
|
||||
(0.05, false, "common.loot_tables.weapons.cultist"),
|
||||
(0.125, false, "common.loot_tables.weapons.cave"),
|
||||
(0.0625, false, "common.loot_tables.weapons.legendary"),
|
||||
(0.05, false, "common.loot_tables.weapons.cave"),
|
||||
(0.04, false, "common.loot_tables.weapons.legendary"),
|
||||
// Armor
|
||||
(20.0, true, "common.loot_tables.armor.cloth"),
|
||||
(6.0, true, "common.loot_tables.armor.agile"),
|
||||
@ -30,8 +30,8 @@ loot_tables: [
|
||||
(0.3, true, "common.loot_tables.food.farm_ingredients"),
|
||||
(0.4, true, "common.loot_tables.food.wild_ingredients"),
|
||||
(0.2, true, "common.loot_tables.food.prepared"),
|
||||
// TODO: Change consumables when they are split up later
|
||||
(1.0, true, "common.loot_tables.consumables"),
|
||||
// TODO: Change consumables and split them up
|
||||
(1.0, true, "common.loot_tables.consumables.default"),
|
||||
(0.5, false, "common.loot_tables.trading"),
|
||||
],
|
||||
// this is the amount of that good the most common item represents
|
||||
|
@ -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")),
|
||||
]
|
5
assets/common/loot_tables/consumables/default.ron
Normal file
5
assets/common/loot_tables/consumables/default.ron
Normal 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")),
|
||||
]
|
5
assets/common/loot_tables/consumables/misc.ron
Normal file
5
assets/common/loot_tables/consumables/misc.ron
Normal file
@ -0,0 +1,5 @@
|
||||
[
|
||||
// misc
|
||||
(0.1, Item("common.items.utility.collar")),
|
||||
(1.0, LootTable("common.loot_tables.consumables.fireworks")),
|
||||
]
|
6
assets/common/loot_tables/consumables/potions.ron
Normal file
6
assets/common/loot_tables/consumables/potions.ron
Normal 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")),
|
||||
]
|
5
assets/common/loot_tables/consumables/throwables.ron
Normal file
5
assets/common/loot_tables/consumables/throwables.ron
Normal file
@ -0,0 +1,5 @@
|
||||
[
|
||||
// bombs
|
||||
(0.6, Item("common.items.utility.bomb")),
|
||||
(0.2, Item("common.items.utility.bomb_pile")),
|
||||
]
|
@ -1,8 +1,5 @@
|
||||
[
|
||||
(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.swift")),
|
||||
(0.1, LootTable("common.loot_tables.armor.plate")),
|
||||
(1.0, LootTable("common.loot_tables.fallback")),
|
||||
]
|
||||
(1.0, ItemQuantity("common.items.utility.coins", 10, 20)),
|
||||
]
|
||||
|
@ -1,5 +1,5 @@
|
||||
[
|
||||
(1.0, LootTable("common.loot_tables.armor.cloth")),
|
||||
(2.0, LootTable("common.loot_tables.weapons.tier-0")),
|
||||
(2.0, LootTable("common.loot_tables.consumables")),
|
||||
(2.0, LootTable("common.loot_tables.consumables.potions")),
|
||||
]
|
||||
|
@ -14,6 +14,5 @@
|
||||
(0.1, Item("common.items.glider.glider_blue")),
|
||||
(0.001, Item("common.items.armor.misc.back.backpack")),
|
||||
(0.1, Item("common.items.armor.misc.bag.heavy_seabag")),
|
||||
(0.5, LootTable("common.loot_tables.fireworks")),
|
||||
(0.5, Item("common.items.utility.bomb")),
|
||||
(1.0, LootTable("common.loot_tables.consumables.default")),
|
||||
]
|
||||
|
@ -5,5 +5,5 @@
|
||||
(3.0, LootTable("common.loot_tables.food.wild_ingredients")),
|
||||
(0.5, LootTable("common.loot_tables.food.prepared")),
|
||||
// Consumables
|
||||
(0.5, LootTable("common.loot_tables.consumables")),
|
||||
(0.5, LootTable("common.loot_tables.consumables.default")),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user