Wider consumable tiles overflowed the command bar, shoving END TURN under the dock column. Trim the vitals min-width (230->120) and END TURN (150->140) and separation so the row fits — END TURN lands cleanly at the bottom-right, below the dock. Move the dock handle to the outer (right) side per mock 2a: the menu now sits left of the handle and slides right off-screen to hide, the handle staying at the world's right edge. Dock sits flush to that edge. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
87 lines
2.2 KiB
Plaintext
87 lines
2.2 KiB
Plaintext
[gd_scene load_steps=3 format=3]
|
||
|
||
[ext_resource type="Script" path="res://scripts/ui/shell/system_dock.gd" id="1"]
|
||
[ext_resource type="Theme" path="res://assets/theme/game_theme.tres" id="2"]
|
||
|
||
[node name="SystemDock" type="Control"]
|
||
layout_mode = 3
|
||
anchors_preset = 0
|
||
offset_right = 220.0
|
||
offset_bottom = 420.0
|
||
theme = ExtResource("2")
|
||
script = ExtResource("1")
|
||
|
||
[node name="Menu" type="VBoxContainer" parent="."]
|
||
layout_mode = 1
|
||
anchor_left = 1.0
|
||
anchor_right = 1.0
|
||
offset_left = -216.0
|
||
offset_right = -36.0
|
||
offset_bottom = 316.0
|
||
grow_horizontal = 0
|
||
theme_override_constants/separation = 10
|
||
|
||
[node name="Inventory" type="Button" parent="Menu"]
|
||
custom_minimum_size = Vector2(0, 42)
|
||
layout_mode = 2
|
||
theme_type_variation = &"DockButton"
|
||
text = "I Inventory"
|
||
alignment = 0
|
||
metadata/screen_id = &"inventory"
|
||
|
||
[node name="Character" type="Button" parent="Menu"]
|
||
custom_minimum_size = Vector2(0, 42)
|
||
layout_mode = 2
|
||
theme_type_variation = &"DockButton"
|
||
text = "C Character"
|
||
alignment = 0
|
||
metadata/screen_id = &"character"
|
||
|
||
[node name="QuestLog" type="Button" parent="Menu"]
|
||
custom_minimum_size = Vector2(0, 42)
|
||
layout_mode = 2
|
||
theme_type_variation = &"DockButton"
|
||
text = "J Quest Log"
|
||
alignment = 0
|
||
metadata/screen_id = &"quest_log"
|
||
|
||
[node name="Spellbook" type="Button" parent="Menu"]
|
||
custom_minimum_size = Vector2(0, 42)
|
||
layout_mode = 2
|
||
theme_type_variation = &"DockButton"
|
||
text = "K Spellbook"
|
||
alignment = 0
|
||
metadata/screen_id = &"spellbook"
|
||
|
||
[node name="WorldMap" type="Button" parent="Menu"]
|
||
custom_minimum_size = Vector2(0, 42)
|
||
layout_mode = 2
|
||
theme_type_variation = &"DockButton"
|
||
text = "M World Map"
|
||
alignment = 0
|
||
metadata/screen_id = &"world_map"
|
||
|
||
[node name="Party" type="Button" parent="Menu"]
|
||
custom_minimum_size = Vector2(0, 42)
|
||
layout_mode = 2
|
||
theme_type_variation = &"DockButton"
|
||
text = "P Party"
|
||
alignment = 0
|
||
metadata/screen_id = &"party"
|
||
|
||
[node name="Handle" type="Button" parent="."]
|
||
custom_minimum_size = Vector2(26, 104)
|
||
layout_mode = 1
|
||
anchor_left = 1.0
|
||
anchor_top = 0.5
|
||
anchor_right = 1.0
|
||
anchor_bottom = 0.5
|
||
offset_left = -26.0
|
||
offset_top = -52.0
|
||
offset_right = 0.0
|
||
offset_bottom = 52.0
|
||
grow_horizontal = 0
|
||
grow_vertical = 2
|
||
theme_type_variation = &"TabActive"
|
||
text = "›"
|