Complete lab, quest, garrison, and energy tickets

This commit is contained in:
Loïc Wisniewski 2026-09-03 00:12:08 +02:00
commit 0f7edff15a
20 changed files with 238 additions and 45 deletions

View file

@ -22,6 +22,7 @@ const VESSEL_MARGIN := 24.0
@onready var vessel_heading: Label = $VesselLabel
@onready var detail: Label = $DetailLabel
@onready var status: Label = $StatusLabel
@onready var research_progress: ProgressBar = $ResearchProgress
@onready var resource_bar: Control = $Bar
var building_id: int = 0
@ -96,6 +97,16 @@ func set_status(message: String) -> void:
status.text = message
func show_research_progress(message: String, ratio: float) -> void:
status.text = message
research_progress.value = clampf(ratio, 0.0, 1.0)
research_progress.visible = true
func hide_research_progress() -> void:
research_progress.visible = false
func _build_price_tags() -> void:
for i in range(upgrade_labels.size()):
var label: Control = upgrade_labels[i]