Improve prestige and add ascension as currency
This commit is contained in:
@@ -33,11 +33,10 @@ func _on_reset_button_pressed() -> void:
|
||||
return
|
||||
|
||||
var pending: BigNumber = manager.call("calculate_pending_gain")
|
||||
var source_currency_id: StringName = manager.call("get_source_currency_id")
|
||||
var source_currency_name: String = game_state.get_currency_name(source_currency_id) if game_state else ""
|
||||
var basis_label: String = String(manager.call("get_basis_label"))
|
||||
var basis_value: BigNumber = manager.call("get_basis_value_for_display")
|
||||
var confirm_message: String = "Reset this run for +%s prestige?\n\nThis resets currencies, owned generators, and buff levels. Lifetime totals and prestige are kept." % pending.to_string_suffix(2)
|
||||
if not source_currency_name.is_empty():
|
||||
confirm_message = "%s\n\nBased on %s progression." % [confirm_message, source_currency_name]
|
||||
confirm_message = "%s\n\nBased on %s: %s" % [confirm_message, basis_label, basis_value.to_string_suffix(2)]
|
||||
|
||||
_confirm_dialog.dialog_text = confirm_message
|
||||
_is_waiting_for_confirm = true
|
||||
|
||||
Reference in New Issue
Block a user