Files
dungeon-divers/scenes/hub/dungeon_browser.tscn
2026-01-16 15:53:55 -05:00

113 lines
3.4 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://ctsfevsx6nnv2"]
[ext_resource type="Script" uid="uid://bgepph7eq4pfl" path="res://scripts/ui/dungeon_browser.gd" id="1"]
[ext_resource type="FontFile" uid="uid://bckbv8viuh6lm" path="res://assets/fonts/Berry Rotunda.ttf" id="3_lmk4a"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wt68x"]
bg_color = Color(0.40784314, 0.40784314, 0.32156864, 1)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0, 0, 0, 1)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_wt68x"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_oawpy"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8ybmu"]
[node name="DungeonBrowser" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1")
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -430.0
offset_top = -381.0
offset_right = 170.0
offset_bottom = 119.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(1.5200019, 1.5200019)
theme_override_styles/panel = SubResource("StyleBoxFlat_wt68x")
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 42.105213
offset_top = 28.947334
offset_right = 42.105225
offset_bottom = 28.947327
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.863487, 0.863487)
alignment = 1
[node name="TitleLabel" type="Label" parent="Panel/VBoxContainer"]
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("3_lmk4a")
theme_override_font_sizes/font_size = 27
theme_override_styles/normal = SubResource("StyleBoxEmpty_wt68x")
text = "Dungeon Browser"
horizontal_alignment = 1
[node name="HSeparator2" type="HSeparator" parent="Panel/VBoxContainer"]
layout_mode = 2
theme_override_styles/separator = SubResource("StyleBoxLine_oawpy")
[node name="TopBar" type="HBoxContainer" parent="Panel/VBoxContainer"]
layout_mode = 2
[node name="BracketLabel" type="Label" parent="Panel/VBoxContainer/TopBar"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("3_lmk4a")
theme_override_styles/normal = SubResource("StyleBoxEmpty_8ybmu")
text = "Level 1 (Bracket 1-10)"
[node name="TierSelector" type="OptionButton" parent="Panel/VBoxContainer/TopBar"]
layout_mode = 2
[node name="BracketSelector" type="OptionButton" parent="Panel/VBoxContainer/TopBar"]
layout_mode = 2
tooltip_text = "Select mob difficulty bracket"
[node name="CreateButton" type="Button" parent="Panel/VBoxContainer/TopBar"]
layout_mode = 2
text = "Create"
[node name="RefreshButton" type="Button" parent="Panel/VBoxContainer/TopBar"]
layout_mode = 2
text = "Refresh"
[node name="CloseButton" type="Button" parent="Panel/VBoxContainer/TopBar"]
layout_mode = 2
text = "X"
[node name="HSeparator" type="HSeparator" parent="Panel/VBoxContainer"]
layout_mode = 2
theme_override_styles/separator = SubResource("StyleBoxLine_oawpy")
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="DungeonList" type="VBoxContainer" parent="Panel/VBoxContainer/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3