plant tester + shado assets

This commit is contained in:
Altaezio
2026-02-21 18:40:00 +01:00
parent 35004684f4
commit 4ca102966b
74 changed files with 1203 additions and 308 deletions

View File

@@ -16,5 +16,8 @@ func get_mutation_name() -> String:
func get_mutation_description() -> String:
return tr("QUICK_EFFECT_TEXT_LEVEL_%d") % level
func mutate_score(_plant_data : PlantData, score : int) -> int:
return score + level
func mutate_growing_time(_data : PlantData, grow_time : int) -> int:
return max(grow_time - level, 0)
return max(grow_time - level, 1)