feat: Implement crop withering mechanics (#28)
This commit is contained in:
@@ -86,6 +86,8 @@ fn test_crop_growth_logic() {
|
||||
seed: seed_type.clone(),
|
||||
watered: true,
|
||||
growth_stage: 0,
|
||||
withered: false,
|
||||
dry_counter: 0,
|
||||
},
|
||||
),
|
||||
(
|
||||
@@ -95,6 +97,8 @@ fn test_crop_growth_logic() {
|
||||
seed: seed_type.clone(),
|
||||
watered: false,
|
||||
growth_stage: 0,
|
||||
withered: false,
|
||||
dry_counter: 0,
|
||||
},
|
||||
),
|
||||
(
|
||||
@@ -104,6 +108,8 @@ fn test_crop_growth_logic() {
|
||||
seed: seed_type.clone(),
|
||||
watered: true,
|
||||
growth_stage: 2, // Max
|
||||
withered: false,
|
||||
dry_counter: 0,
|
||||
},
|
||||
),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user