Implement default best-yield resource and long-press resource selection for city slots

This commit is contained in:
bart
2026-11-08 21:43:11 +01:00
parent 4b237872eb
commit 43b8b1556d
9 changed files with 492 additions and 52 deletions
+25 -1
View File
@@ -55,6 +55,11 @@ ui:
farm_completed: "Farm completed!"
farm_completed_consumed: "Farm completed! (Builder consumed)"
farm_completed_charges: "Farm completed! (%1 %2 remaining)"
road_queued: "Build Road queued on arrival"
road_started: "Constructing %1... (%2 ticks)"
road_completed: "%1 completed!"
road_already_here: "Tile already has a road!"
cannot_build_road_water: "Roads cannot be built on water!"
city_queued: "Found City queued on arrival"
city_founded: "%1 founded!"
already_building: "Already busy building!"
@@ -88,12 +93,18 @@ ui:
btn_build_farm: "Farm [F]"
btn_farm_queued: "Farm (Queued)"
btn_farm_building: "Building %1%"
btn_build_road: "Road [R]"
btn_road_queued: "Road (Queued)"
btn_road_building: "Road %1%"
tip_move: "Move (M)"
tip_attack: "Attack (A) [Range: %1]"
tip_build_city: "Found City (B)"
tip_build_farm: "Build Farm (F)"
tip_farm_building: "Busy building... %1%"
tip_farm_queued: "Build Farm (Queued on arrival - click to cancel)"
tip_build_road: "Build Road (R) [2 ticks]"
tip_road_building: "Constructing road... %1%"
tip_road_queued: "Build Road (Queued on arrival - click to cancel)"
city:
center: "City Center"
@@ -104,7 +115,7 @@ ui:
close_btn: "[X] Close"
local_info: "Local: Population: %L1 (%2 Pop: %3 working, %4 free) | Labor: %L5"
national_info: "National: Culture: %L1 | Science: %L2 | Gold: %L3 | Faith: %L4"
help_text: "Click a tile to assign 1 Pop | Click an unowned tile to buy with Culture."
help_text: "Click a slot to assign/free Pop | Hold a slot to choose resource | Buy tile with Culture."
current_production: "CURRENT PRODUCTION"
no_project: "No active project"
select_prompt: "Select a unit or building to construct"
@@ -132,3 +143,16 @@ ui:
no_free_pop: "No free Pop!"
buy_tile: "BUY"
occupied: "OCCUPIED"
select_resource: "SELECT RESOURCE"
best_yield: "BEST"
resource_switched: "Producing %1 (+%2)"
worker_assigned_res: "+1 Pop: %1 (+%2)"
resource_preferred: "Slot set to %1 (+%2)"
resources:
voedsel: "Food"
arbeid: "Production"
goud: "Gold"
kennis: "Science"
cultuur: "Culture"
geloof: "Faith"