mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Reclassify Glowing Remains as Armor for econsim.
This commit is contained in:
parent
05e93c3518
commit
40f2c59401
@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Permission to build is no longer tied to being an admin
|
||||
- Separated character randomization buttons into appearance and name.
|
||||
- Reworked mindflayer to have unique attacks
|
||||
- Glowing remains are now `Armor` instead of `Ingredients`.
|
||||
|
||||
### Removed
|
||||
|
||||
|
@ -104,6 +104,7 @@ impl TradePricing {
|
||||
|
||||
fn get_list_by_path(&self, name: &str) -> &Entries {
|
||||
match name {
|
||||
"common.items.crafting_ing.mindflayer_bag_damaged" => &self.armor,
|
||||
_ if name.starts_with("common.items.crafting_ing.") => &self.ingredients,
|
||||
_ if name.starts_with("common.items.armor.") => &self.armor,
|
||||
_ if name.starts_with("common.items.glider.") => &self.other,
|
||||
@ -126,6 +127,7 @@ impl TradePricing {
|
||||
|
||||
fn get_list_by_path_mut(&mut self, name: &str) -> &mut Entries {
|
||||
match name {
|
||||
"common.items.crafting_ing.mindflayer_bag_damaged" => &mut self.armor,
|
||||
_ if name.starts_with("common.items.crafting_ing.") => &mut self.ingredients,
|
||||
_ if name.starts_with("common.items.armor.") => &mut self.armor,
|
||||
_ if name.starts_with("common.items.glider.") => &mut self.other,
|
||||
|
Loading…
Reference in New Issue
Block a user