Polish world, shop, and artwork presentation

This commit is contained in:
Alexander Sellite 2026-08-13 14:53:39 -04:00
parent 7d38bc962b
commit 117fdbfdaa
94 changed files with 1771 additions and 579 deletions

View file

@ -464,7 +464,7 @@ func _build_authoritative_result(
current_state, product_id
)
if rejection.is_empty() and (cost < 0 or wallet_balance < cost):
rejection = "Not enough fish coin."
rejection = "Insufficient funds."
if not rejection.is_empty():
return _rejected_result(request, rejection)
return {
@ -633,7 +633,7 @@ func _validate_local_result(data: Dictionary) -> String:
):
return "Purchase could not be completed."
if not _wallet.can_afford(cost):
return "Not enough fish coin."
return "Insufficient funds."
match category:
NetworkShopProtocol.ProductCategory.SUPPLY:
var item: ItemDataType = (

View file

@ -344,7 +344,7 @@ func arm_guide_action(action: int) -> bool:
_selected_canvas_id = ""
_update_aim()
_refresh_stencil_visibility()
_emit_hud_state("click a grid to %s it" % _guide_action_verb(action))
_emit_hud_state(_guide_action_status(action))
return true
@ -1874,8 +1874,10 @@ func _execute_armed_guide_action() -> void:
_restore_selected_guide()
GuideAction.FINALIZE:
_finalize_selected_guide()
_clear_armed_guide_action(true)
_emit_hud_state("")
# Guide actions are persistent modes. Keep the selected action armed so
# multiple grids can be handled without returning to the toolbar after
# every click; selecting the active toggle again explicitly exits it.
_emit_hud_state(_guide_action_status(action))
func _cancel_armed_guide_action() -> void:
@ -1904,12 +1906,18 @@ func _guide_action_verb(action: int) -> String:
GuideAction.HIDE:
return "hide"
GuideAction.RESTORE:
return "restore"
return "show"
GuideAction.FINALIZE:
return "finish"
return "use"
func _guide_action_status(action: int) -> String:
return "%s grid mode • click grids • toggle again to exit" % (
_guide_action_verb(action).capitalize()
)
func _remove_selected_guide() -> void:
if _selected_canvas_id.is_empty():
_emit_hud_state("aim at a placed grid before removing its guide")