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

@@ -133,7 +133,7 @@ func update_inspector():
%ActionEnergyImage.visible = current_inspect.interaction_cost(player) != 0
elif current_selected_item and current_selected_item.use_text() != "":
%Action.visible = true
%ActionText.text = current_selected_item.use_text() + (" (no energy left)" if not have_energy_to_use_item else "")
%ActionText.text = current_selected_item.use_text() + (tr("NO_ENERGY_LEFT") if not have_energy_to_use_item else "")
if can_use_item:
%Action.modulate = DEFAULT_ACTION_COLOR if current_selected_item.energy_usage == 0 else ENERGY_ACTION_COLOR
else :