mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fmt
This commit is contained in:
parent
2da8d96ec9
commit
c618ec7222
@ -31,7 +31,7 @@ loot_tables: [
|
||||
(0.4, true, "common.loot_tables.food.wild_ingredients"),
|
||||
(0.2, true, "common.loot_tables.food.prepared"),
|
||||
// TODO: Change consumables and split them up
|
||||
(1.0, true, "common.loot_tables.consumables.default"),
|
||||
(1.0, true, "common.loot_tables.consumable.default"),
|
||||
(0.5, false, "common.loot_tables.trading"),
|
||||
],
|
||||
// this is the amount of that good the most common item represents
|
||||
|
5
assets/common/loot_tables/consumable/default.ron
Normal file
5
assets/common/loot_tables/consumable/default.ron
Normal file
@ -0,0 +1,5 @@
|
||||
[
|
||||
(2.0, LootTable("common.loot_tables.consumable.potion")),
|
||||
(0.5, LootTable("common.loot_tables.consumable.throwable")),
|
||||
(1.0, LootTable("common.loot_tables.consumable.misc")),
|
||||
]
|
5
assets/common/loot_tables/consumable/misc.ron
Normal file
5
assets/common/loot_tables/consumable/misc.ron
Normal file
@ -0,0 +1,5 @@
|
||||
[
|
||||
// misc
|
||||
(0.1, Item("common.items.utility.collar")),
|
||||
(1.0, LootTable("common.loot_tables.consumable.firework")),
|
||||
]
|
@ -1,5 +0,0 @@
|
||||
[
|
||||
(2.0, LootTable("common.loot_tables.consumables.potions")),
|
||||
(0.5, LootTable("common.loot_tables.consumables.throwables")),
|
||||
(1.0, LootTable("common.loot_tables.consumables.misc")),
|
||||
]
|
@ -1,5 +0,0 @@
|
||||
[
|
||||
// misc
|
||||
(0.1, Item("common.items.utility.collar")),
|
||||
(1.0, LootTable("common.loot_tables.consumables.fireworks")),
|
||||
]
|
@ -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.potions")),
|
||||
(2.0, LootTable("common.loot_tables.consumable.potion")),
|
||||
]
|
||||
|
@ -14,5 +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")),
|
||||
(1.0, LootTable("common.loot_tables.consumables.default")),
|
||||
(1.0, LootTable("common.loot_tables.consumable.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.default")),
|
||||
(0.5, LootTable("common.loot_tables.consumable.default")),
|
||||
]
|
||||
|
@ -741,7 +741,9 @@ impl Item {
|
||||
SpriteKind::Seashells => "common.items.crafting_ing.seashells",
|
||||
// Containers
|
||||
// IMPORTANT: Add any new container to `SpriteKind::is_container`
|
||||
container @ (SpriteKind::DungeonChest0
|
||||
container
|
||||
@
|
||||
(SpriteKind::DungeonChest0
|
||||
| SpriteKind::DungeonChest1
|
||||
| SpriteKind::DungeonChest2
|
||||
| SpriteKind::DungeonChest3
|
||||
|
Loading…
Reference in New Issue
Block a user