added english pictures and fixed text translations
This commit is contained in:
1 parent
21c73df3eb
commit
563b4800ee
50 files changed
+280
-1787
No files matched your search
@@ -8,6 +8,7 @@ var PlayerSelection := 0
|
||||
var batteries := 0
|
||||
const mesh_resource_player := "user://player_anim.tres"
|
||||
var player_name = "Spieler1"
|
||||
const DEFAULT_PLAYER_NAMES: Array[String] = ["Spieler1", "Player1"]
|
||||
var chatbot_opened = false
|
||||
var balloon_collected = false
|
||||
var resource_balloon = ""
|
||||
@@ -22,5 +23,8 @@ func _ready() -> void:
|
||||
|
||||
|
||||
func apply_locale(new_locale: String) -> void:
|
||||
var using_default_name := player_name.is_empty() or player_name in DEFAULT_PLAYER_NAMES or player_name == tr("Spieler1")
|
||||
locale = new_locale
|
||||
TranslationServer.set_locale(locale)
|
||||
if using_default_name:
|
||||
player_name = tr("Spieler1")
|
||||
Reference in new issue
Block a user