Locale testing
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class_name Recipe extends Node
|
||||
|
||||
@export var recipeName:String = ""
|
||||
@export var recipe_text:String = ""
|
||||
@export var ingredients:Array[ItemResource] = []
|
||||
@export var outputs:Array[ItemResource] = []
|
||||
|
||||
@@ -26,5 +26,4 @@ func make(inventory:Inventory = null) -> void:
|
||||
for output in outputs:
|
||||
inventory.addItem(output.type, output.quantity)
|
||||
|
||||
|
||||
timesMade += 1
|
@@ -1,5 +1,7 @@
|
||||
class_name DebugMenu extends VBoxContainer
|
||||
|
||||
var whatever:String = tr("SOME_STRING_TRANSLATED")
|
||||
|
||||
func _ready() -> void:
|
||||
show()
|
||||
|
||||
@@ -53,9 +55,12 @@ func _on_Quests_pressed():
|
||||
|
||||
func _on_Custscene_pressed():
|
||||
print("Cutscene pressed")
|
||||
print(whatever)
|
||||
|
||||
func _on_Cooking_pressed():
|
||||
print("Cooking pressed")
|
||||
TranslatssionServer.change
|
||||
TranslationServer.set_locale("en_US")
|
||||
|
||||
func _on_Battle_pressed():
|
||||
print("Battle pressed")
|
||||
|
Reference in New Issue
Block a user