new mutations wip

This commit is contained in:
Altaezio
2026-05-28 17:05:04 +02:00
parent 4c4b051f3f
commit e03bfc580e
132 changed files with 321 additions and 135 deletions

View File

@@ -26,6 +26,9 @@ func get_mutation_name() -> String:
func mutate_plant_data(_plant_data: PlantData):
pass
func has_score(_plant_data: PlantData) -> bool:
return true
func mutate_score(_plant_data: PlantData, score: int) -> int:
return score
@@ -38,6 +41,9 @@ func mutate_lifetime(_plant_data: PlantData, lifetime: int) -> int:
func mutate_growing_time(_plant_data: PlantData, growing_time: int) -> int:
return growing_time
func produce_seeds() -> bool:
return true
func mutate_seed_number(_plant_data: PlantData, seed_number: int) -> int:
return seed_number