Tłumaczenie
This commit is contained in:
parent
03f8d1a68b
commit
e01ec565e6
@ -6,3 +6,10 @@ menu_exit,Zamknij,Exit,Beenden
|
||||
menu_load,Wczytaj,Load,Laden
|
||||
language,Język,Language,Sprache
|
||||
time_display,Data,Date,Datum
|
||||
time_display,Data,Date,Datum
|
||||
res_iron,Żelazo,Iron,Eisen
|
||||
res_alu,Aluminium,Aluminum,Aluminium
|
||||
res_titan,Tytan,Titan,Titan
|
||||
res_uran,Uran,Uran,Uran
|
||||
res_anti,Antymateria,Antimatter,Antimaterie
|
||||
|
||||
|
||||
|
@ -4,6 +4,7 @@ var player_data = []
|
||||
var sectors: Array = []
|
||||
|
||||
func new_game():
|
||||
TranslationServer.set_locale("pl")
|
||||
print("🔹 Tworzenie nowej gry...")
|
||||
sectors.clear()
|
||||
player_data.clear()
|
||||
@ -23,7 +24,7 @@ func print_game_state(): #fucnkja do testów
|
||||
"Biosfere:", round(p.biosfere*100)/100, "Resource Rich:", round(p.resource_rich*100)/100)
|
||||
for r in p.resources:
|
||||
if r.exist:
|
||||
print(" Surowiec:", r.name)
|
||||
print(" Surowiec:", tr(r.name))
|
||||
for p in player_data[0].owned_planets:
|
||||
print("Gracz posiada planetę:", p.name, player_data[0].name)
|
||||
|
||||
@ -39,7 +40,6 @@ func print_game_state(): #fucnkja do testów
|
||||
print(" -", planet.name)
|
||||
else:
|
||||
print(" Brak planet")
|
||||
print(player_data[0].credits)
|
||||
|
||||
func _ready():
|
||||
new_game()
|
||||
|
||||
@ -2,7 +2,7 @@ extends Node
|
||||
class_name Constants
|
||||
|
||||
# Lista surowców
|
||||
var resources: Array = ["Iron", "Aluminium", "Titan", "Uran", "Antymateria"]
|
||||
var resources: Array = ["res_iron", "res_alu", "res_titan", "res_uran", "res_anti"]
|
||||
|
||||
# Możliwe nazwy planet
|
||||
var planet_names: Array = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user