added i18n keys for ingame item descriptions and button prompts

This commit is contained in:
2025-08-20 19:30:30 +10:00
parent 198177bbae
commit 2859b6dd43
50 changed files with 297 additions and 114 deletions

View File

@@ -1,5 +1,6 @@
class_name CardPrinter extends StaticBody3D
@export var button: InteractButton
@export var button_collider: CollisionShape3D
@export var card_selection_menu: PackedScene
@@ -10,6 +11,10 @@ var reply_player: Hero
var spawned_cards: Array[CardItem] = []
func _ready() -> void:
button.hover_text = tr("BUTTON_RADIO_INTERACT")
func get_faction_cards(faction: Card.Faction) -> Array[Card]:
var valid_cards: Array[Card] = []
for card: Card in Data.cards: