Mise à jour des ressources des plantes (auto par Godot)

This commit is contained in:
2026-03-21 16:59:41 +01:00
parent 97748e7e09
commit 63a909496f
45 changed files with 305 additions and 37 deletions

View File

@@ -24,7 +24,7 @@ func mutate_score(plant_data: PlantData, score: int) -> int:
if not plant_data.is_mature():
return score
return score + level
return score + get_score_increase()
func mutate_lifetime(_plant_data: PlantData, lifetime: int) -> int:
return max(1, lifetime+get_lifetime_change())