Minor improvements

This commit is contained in:
2026-03-21 18:32:54 +01:00
parent 471a7b10f7
commit bb1a96b63c
19 changed files with 228 additions and 72 deletions

View File

@@ -152,7 +152,11 @@ func _refresh_generator_ui() -> void:
_buy_max_button.disabled = not can_interact
_owned_value.text = str(_generator.owned)
_next_cost_value.text = _generator.get_next_cost().to_string_suffix(2) if can_interact else "-"
if can_interact:
var purchase_currency_name: String = GameState.get_currency_name(_generator.get_purchase_currency_id())
_next_cost_value.text = "%s %s" % [_generator.get_next_cost().to_string_suffix(2), purchase_currency_name]
else:
_next_cost_value.text = "-"
var production_per_second: float = 0.0
if _generator.data != null and can_interact: