Added price entries for glass and bone dungeon keys to collection.ron, and listed their good type as default in trade_pricing.rs

This commit is contained in:
JCoxeye 2023-12-25 15:18:56 -05:00
parent 41bec15bc5
commit 0f46eeaa78
2 changed files with 8 additions and 1 deletions

View File

@ -16,9 +16,13 @@
(5.0, Item("common.items.glider.monarch")), (5.0, Item("common.items.glider.monarch")),
(5.0, Item("common.items.glider.moth")), (5.0, Item("common.items.glider.moth")),
/// Lanterns // Lanterns
(5.0, Item("common.items.lantern.geode_purp")), (5.0, Item("common.items.lantern.geode_purp")),
(2.0, Item("common.items.lantern.pumpkin")), (2.0, Item("common.items.lantern.pumpkin")),
(2.0, Item("common.items.boss_drops.lantern")), (2.0, Item("common.items.boss_drops.lantern")),
(2.0, Item("common.items.lantern.blue_0")), (2.0, Item("common.items.lantern.blue_0")),
// Keys
(5.0, Item("common.items.keys.bone_key")),
(5.0, Item("common.items.keys.glass_key")),
] ]

View File

@ -644,6 +644,9 @@ impl TradePricing {
ItemDefinitionIdOwned::Simple(name) if name.starts_with("common.items.lantern.") => { ItemDefinitionIdOwned::Simple(name) if name.starts_with("common.items.lantern.") => {
Good::default() Good::default()
}, },
ItemDefinitionIdOwned::Simple(name) if name.starts_with("common.items.keys.") => {
Good::default()
},
ItemDefinitionIdOwned::Modular { ItemDefinitionIdOwned::Modular {
pseudo_base: _, pseudo_base: _,
components: _, components: _,