added translations

This commit is contained in:
fschade
2026-07-29 11:34:28 +02:00
parent d370249649
commit 2a6f2b0e52
33 changed files with 1540 additions and 205 deletions
+3 -3
View File
@@ -22,7 +22,7 @@ func _process(delta: float) -> void:
if collider is Grabbable_Object:
if collider is Battery:
prompt.text = collider.battery_label
prompt.text = tr(collider.battery_label)
if collider.grabbable == true and Input.is_action_just_pressed("grab"):
grab(collider)
bob.play_sound('pickup')
@@ -40,7 +40,7 @@ func _process(delta: float) -> void:
elif collider is Interactable_Object or collider is NPC_interactable:
prompt.text = collider.prompt_message
prompt.text = tr(collider.prompt_message)
var thisTime = Time.get_unix_time_from_system()
var deltaTime = thisTime - DialogueState.time_since_dialoge_open
if collider.talkable == true and Input.is_action_just_pressed("talk") and (deltaTime > 0.5):
@@ -51,7 +51,7 @@ func _process(delta: float) -> void:
env.quiet_down_music()
prompt.hide()
elif bob.grabbed_item and bob.grabbed_item is Battery:
prompt.text = bob.grabbed_item.battery_label
prompt.text = tr(bob.grabbed_item.battery_label)
else:
prompt.text = ""