Split consumables to different tables in trading

This commit is contained in:
juliancoffee 2021-06-10 15:32:21 +03:00
parent 279731a9e1
commit cba8e15797
2 changed files with 6 additions and 4 deletions

View File

@ -24,8 +24,11 @@ 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 and split them up
(1.0, true, "common.loot_tables.consumable.default"),
// Potions
(0.2, true, "common.loot_tables.consumable.potion"),
// Misc
(0.1, true, "common.loot_tables.consumable.throwable"),
(0.7, true, "common.loot_tables.consumable.misc"),
(1.0, false, "common.loot_tables.trading"),
],
// this is the amount of that good the most common item represents

View File

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