mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
loot table adjustments
- decrease blue glider drop rate - decrease cloth scaprs drop rate from villagers - add crafting mats to crates instead
This commit is contained in:
parent
bff5dea16e
commit
e1a77d040d
@ -7,5 +7,5 @@
|
|||||||
// necks
|
// necks
|
||||||
(0.25, "common.items.armor.neck.neck_0"),
|
(0.25, "common.items.armor.neck.neck_0"),
|
||||||
// misc
|
// misc
|
||||||
(0.1, "common.items.glider.glider_blue"),
|
(0.05, "common.items.glider.glider_blue"),
|
||||||
]
|
]
|
@ -13,5 +13,5 @@
|
|||||||
(1, "common.items.weapons.sword.cultist_purp_2h-0"),
|
(1, "common.items.weapons.sword.cultist_purp_2h-0"),
|
||||||
// misc
|
// misc
|
||||||
(1, "common.items.boss_drops.lantern"),
|
(1, "common.items.boss_drops.lantern"),
|
||||||
(0.05, "common.items.glider.glider_purp"),
|
(0.1, "common.items.glider.glider_purp"),
|
||||||
]
|
]
|
@ -4,7 +4,6 @@
|
|||||||
(0.2, "common.items.crafting_ing.cloth_scraps"),
|
(0.2, "common.items.crafting_ing.cloth_scraps"),
|
||||||
(1.0, "common.items.crafting_ing.empty_vial"),
|
(1.0, "common.items.crafting_ing.empty_vial"),
|
||||||
(0.1, "common.items.glider.glider_blue"),
|
(0.1, "common.items.glider.glider_blue"),
|
||||||
(1, "common.items.crafting_ing.cloth_scraps"),
|
|
||||||
// swords
|
// swords
|
||||||
(0.07, "common.items.weapons.sword.greatsword_2h_fine-1"),
|
(0.07, "common.items.weapons.sword.greatsword_2h_fine-1"),
|
||||||
(0.07, "common.items.weapons.sword.greatsword_2h_fine-2"),
|
(0.07, "common.items.weapons.sword.greatsword_2h_fine-2"),
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
[
|
[
|
||||||
// crafting ingredients
|
// crafting ingredients
|
||||||
(2, "common.items.crafting_ing.leather_scraps"),
|
(2, "common.items.crafting_ing.leather_scraps"),
|
||||||
|
(2, "common.items.crafting_ing.cloth_scraps"),
|
||||||
(1, "common.items.crafting_ing.empty_vial"),
|
(1, "common.items.crafting_ing.empty_vial"),
|
||||||
(0.10, "common.items.crafting_ing.shiny_gem"),
|
(0.10, "common.items.crafting_ing.shiny_gem"),
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
(3, "common.items.food.apple"),
|
(3, "common.items.food.apple"),
|
||||||
(3, "common.items.food.mushroom"),
|
(3, "common.items.food.mushroom"),
|
||||||
(3, "common.items.food.coconut"),
|
(3, "common.items.food.coconut"),
|
||||||
(4, "common.items.crafting_ing.cloth_scraps"),
|
(3, "common.items.crafting_ing.cloth_scraps"),
|
||||||
// crafted
|
// crafted
|
||||||
(0.5, "common.items.food.apple_mushroom_curry"),
|
(0.5, "common.items.food.apple_mushroom_curry"),
|
||||||
(0.5, "common.items.food.apple_stick"),
|
(0.5, "common.items.food.apple_stick"),
|
||||||
@ -14,7 +14,7 @@
|
|||||||
(4, "common.items.crafting_ing.empty_vial"),
|
(4, "common.items.crafting_ing.empty_vial"),
|
||||||
(0.25, "common.items.armor.neck.neck_1"),
|
(0.25, "common.items.armor.neck.neck_1"),
|
||||||
(0.001, "common.items.glider.glider_purp"),
|
(0.001, "common.items.glider.glider_purp"),
|
||||||
(0.5, "common.items.glider.glider_blue"),
|
(0.1, "common.items.glider.glider_blue"),
|
||||||
(0.5, "common.items.utility.firework_purple"),
|
(0.5, "common.items.utility.firework_purple"),
|
||||||
(0.5, "common.items.utility.bomb"),
|
(0.5, "common.items.utility.bomb"),
|
||||||
// Heavy Armour
|
// Heavy Armour
|
||||||
|
@ -8,6 +8,4 @@
|
|||||||
(0.05, "common.items.food.apple_mushroom_curry"),
|
(0.05, "common.items.food.apple_mushroom_curry"),
|
||||||
(0.10, "common.items.food.apple_stick"),
|
(0.10, "common.items.food.apple_stick"),
|
||||||
(0.10, "common.items.food.mushroom_stick"),
|
(0.10, "common.items.food.mushroom_stick"),
|
||||||
// misc
|
|
||||||
(3, "common.items.crafting_ing.cloth_scraps"),
|
|
||||||
]
|
]
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Crafting Ingredients
|
// Crafting Ingredients
|
||||||
(1, "common.items.crafting_ing.empty_vial"),
|
(1, "common.items.crafting_ing.empty_vial"),
|
||||||
(0.10, "common.items.crafting_ing.shiny_gem"),
|
(0.10, "common.items.crafting_ing.shiny_gem"),
|
||||||
(5, "common.items.crafting_ing.cloth_scraps"),
|
(1, "common.items.crafting_ing.cloth_scraps"),
|
||||||
// Consumables
|
// Consumables
|
||||||
(0.2, "common.items.consumable.potion_minor"),
|
(0.2, "common.items.consumable.potion_minor"),
|
||||||
// Armour
|
// Armour
|
||||||
|
@ -327,7 +327,10 @@ impl Item {
|
|||||||
chosen.choose()
|
chosen.choose()
|
||||||
},
|
},
|
||||||
SpriteKind::Crate => {
|
SpriteKind::Crate => {
|
||||||
chosen = Lottery::<String>::load_expect("common.loot_tables.loot_table_food");
|
chosen = Lottery::<String>::load_expect(match rng.gen_range(0, 4) {
|
||||||
|
0 => "common.loot_tables.loot_table_crafting",
|
||||||
|
_ => "common.loot_tables.loot_table_food",
|
||||||
|
});
|
||||||
chosen.choose()
|
chosen.choose()
|
||||||
},
|
},
|
||||||
SpriteKind::Beehive => "common.items.crafting_ing.honey",
|
SpriteKind::Beehive => "common.items.crafting_ing.honey",
|
||||||
|
Loading…
Reference in New Issue
Block a user