rework l'ui et équilibrage général

This commit is contained in:
2025-11-09 15:56:09 +01:00
parent a8bb09407e
commit 1179e04956
24 changed files with 405 additions and 364 deletions

View File

@@ -5,7 +5,7 @@
[resource]
script = ExtResource("1_ctita")
name = "Solar Pannel"
name = "SOLAR_PANNEL"
scene = ExtResource("1_naexs")
description = "Charge every 2 days. When charged, can be used to recharge player energy."
description = "SOLAR_PANNEL_DESCRIPTION_TEXT"
metadata/_custom_type_script = "uid://bepx311a3f0o"

View File

@@ -14,7 +14,7 @@ func reward(p: Player):
p.pick_item(item)
func desc() -> String:
return tr("GIVE_THE_FOLLOWING_ITEM_%s") % item.name + ". " + item.description
return tr("GIVE_THE_FOLLOWING_ITEM_%s") % tr(item.name) + ". " + tr(item.description)
func icon() -> Texture:
return item.icon