mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Hotfix for log prices
This commit is contained in:
parent
2f968095c7
commit
61193939fc
@ -50,5 +50,6 @@ good_scaling: [
|
||||
(Armor, 0.025), // common.items.armor.misc.pants.worker_blue
|
||||
(Tools, 0.015487), // common.items.weapons.staff.starter_staff
|
||||
(Ingredients, 0.034626), // common.items.crafting_ing.leather_scraps
|
||||
(Wood, 0.034626), // common.items.log.wood
|
||||
(Recipe, 0.01), // common.items.recipes
|
||||
])
|
||||
|
@ -351,7 +351,7 @@ impl Good {
|
||||
pub fn trade_margin(&self) -> f32 {
|
||||
match self {
|
||||
Good::Tools | Good::Armor => 0.5,
|
||||
Good::Food | Good::Potions | Good::Ingredients => 0.75,
|
||||
Good::Food | Good::Potions | Good::Ingredients | Good::Wood => 0.75,
|
||||
Good::Coin | Good::Recipe => 1.0,
|
||||
// Certain abstract goods (like Territory) shouldn't be attached to concrete items;
|
||||
// give a sale price of 0 if the player is trying to sell a concrete item that somehow
|
||||
|
Loading…
Reference in New Issue
Block a user