This commit is contained in:
2026-07-31 18:18:18 +02:00
commit a061aff066
137 changed files with 3491 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
extends Node
var is_in_menu : bool = false
var language = "fr"
var trad
func _ready() -> void:
var file = FileAccess.open("res://lang.json", FileAccess.READ)
var json_text = file.get_as_text()
var json = JSON.new()
var error = json.parse(json_text)
trad = json.data
func get_text(key):
return trad[language][key]