3-level atlas navigation as an implant/map/atlas FULLSCREEN app (D-170 z=20): system picker (◄ ► cycle, Enter opens orbital) → orbital diagram (star centre, bodies grouped by orbit_index with moons sub-orbiting parents, stations as markers, click-to-open body or mini station panel) → body entry (data sheet, Enter stub for #835 heightmap viewer, Esc back). Composed from the ImplantPanel component library (D-169). Wires the panel into hud.tscn, adds an A-key toggle in main.gd, propagates insert_state via snapshot_consumers. Extends generate-star-map-data.py to emit per-system orbit_bodies + stations arrays (with currency_zone, atmosphere, population, terrain_reference, etc.) from systems.db; star_map_data.json regenerated deterministically. Per D-191 §6, Phase 3.
34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://cq1y5w3hmxr8b"]
|
|
|
|
[ext_resource type="Script" path="res://ui/hud.gd" id="1_hud"]
|
|
[ext_resource type="PackedScene" path="res://ui/star_map.tscn" id="2_starmap"]
|
|
[ext_resource type="PackedScene" path="res://ui/implant/economics_panel.tscn" id="3_econ"]
|
|
[ext_resource type="PackedScene" path="res://ui/implant/atlas_panel.tscn" id="4_atlas"]
|
|
|
|
[node name="HUD" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
script = ExtResource("1_hud")
|
|
|
|
; #674: Star map — full-screen insert overlay, hidden until player activates (M key / insert UI).
|
|
; Toggled via star_map.toggle_visible() from main.gd.
|
|
; TODO: migrate to HudGroups.open_app("implant/map/starchart") per D-170.
|
|
[node name="StarMap" parent="." instance=ExtResource("2_starmap")]
|
|
visible = false
|
|
|
|
; #824: Economics Monitor — implant/economics INSERT panel. Toggled via E key from main.gd.
|
|
; Composes ImplantPanel from the D-169 component library. Placeholder data until #822 ships.
|
|
[node name="EconomicsPanel" parent="." instance=ExtResource("3_econ")]
|
|
visible = false
|
|
|
|
; #834: Atlas implant panel — FULLSCREEN app at implant/map/atlas per D-170.
|
|
; 3-level navigation: system picker → orbital diagram → body entry. Toggled via A key.
|
|
[node name="AtlasPanel" parent="." instance=ExtResource("4_atlas")]
|
|
visible = false
|
|
|