ajout d'un indicateur de la base lors de l'exploration et changements divers

* suppression des deux dernières étapes du tutoriel
* fix des particules de score
* ajout du loop dans l'import de la dernière musique
This commit is contained in:
2025-11-09 16:53:57 +01:00
parent b9a0a33ac7
commit fb5a692cf4
8 changed files with 47 additions and 12 deletions

View File

@@ -66,6 +66,7 @@ func plant(
)
plants.append(new_plant)
planet_data.score_by_plant.append(0)
new_plant.harvested.connect(_on_plant_harvested)
new_plant.state_changed.connect(_on_plant_state_changed)
return new_plant
@@ -80,6 +81,7 @@ func remove_plant(p: Plant):
var id = plants.find(p)
if id >= 0:
plants.remove_at(id)
planet_data.score_by_plant.remove_at(id)
update_garden_score()