feat: Add berries_per_focus_minute option in GameConfig (#63)
This commit is contained in:
@@ -27,5 +27,6 @@
|
|||||||
"growth_stages": 6
|
"growth_stages": 6
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"wonder_event_url": "wss://pomomon.farm/ws"
|
"wonder_event_url": "wss://pomomon.farm/ws",
|
||||||
|
"berries_per_focus_minute": 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ pub struct GameConfig {
|
|||||||
pub shovel_rate: f32,
|
pub shovel_rate: f32,
|
||||||
pub berry_seeds: Vec<BerrySeedConfig>,
|
pub berry_seeds: Vec<BerrySeedConfig>,
|
||||||
pub wonder_event_url: String,
|
pub wonder_event_url: String,
|
||||||
|
pub berries_per_focus_minute: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize, Debug, Clone)]
|
#[derive(Deserialize, Debug, Clone)]
|
||||||
@@ -54,6 +55,7 @@ impl Default for GameConfig {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
wonder_event_url: "wss://pomomon.farm/ws".into(),
|
wonder_event_url: "wss://pomomon.farm/ws".into(),
|
||||||
|
berries_per_focus_minute: 1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user