ajout de la traduction #70

* Fix de l'inspection de l'inventaire
* Suppression des assets d'objectifs
This commit is contained in:
2025-11-07 17:36:18 +01:00
parent ed675ed532
commit a8bb09407e
91 changed files with 485 additions and 872 deletions

View File

@@ -1,17 +1,19 @@
extends Control
const PLANET_RUN_SCENE = preload("res://stages/planet_run/planet_run.tscn")
func _ready():
visible = false
func win(planet : Planet):
visible = true
get_tree().paused = true
%WinTitle.text = "Score : " + str(roundi(planet.garden.get_score()))
%WinTitle.text = tr("SCORE_%d") % str(roundi(planet.garden.get_score()))
func _on_restart_pressed():
GameInfo.game_data.reset_all()
get_tree().paused = false
get_tree().reload_current_scene()
get_tree().change_scene_to_packed(PLANET_RUN_SCENE)
func _on_quit_pressed():
get_tree().quit()