fix: Add growth_stages for seeds (#51)
This commit is contained in:
@@ -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,
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user