diff --git a/src/simulator/crates/mc-core/src/collectibles.rs b/src/simulator/crates/mc-core/src/collectibles.rs index a4a99297..e0388ccb 100644 --- a/src/simulator/crates/mc-core/src/collectibles.rs +++ b/src/simulator/crates/mc-core/src/collectibles.rs @@ -24,7 +24,7 @@ const MIN_ROLL_THRESHOLD: f32 = 0.0; const MAX_QUANTITY_PER_ROLL: u32 = 12; /// One resolved collectible drop from a tile. -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize, serde::Deserialize)] pub struct CollectibleRoll { pub resource_id: String, /// Units of the resource yielded on this roll.