fix: Add growth_stages for seeds (#51)

This commit is contained in:
demenik
2025-11-30 17:11:00 +01:00
parent 710f7beb5a
commit d250d67b33
3 changed files with 23 additions and 6 deletions

View File

@@ -16,6 +16,7 @@ pub struct BerrySeedConfig {
pub cost: u32,
pub grants: u32,
pub slice: String,
pub growth_stages: u32,
}
impl Default for GameConfig {
@@ -30,18 +31,21 @@ impl Default for GameConfig {
cost: 1,
grants: 2,
slice: "Seed1".to_string(),
growth_stages: 2,
},
BerrySeedConfig {
name: "Super-Samen".to_string(),
cost: 3,
grants: 9,
slice: "Seed2".to_string(),
growth_stages: 4,
},
BerrySeedConfig {
name: "Zauber-Samen".to_string(),
cost: 5,
grants: 20,
slice: "Seed3".to_string(),
growth_stages: 6,
},
],
}