135 lines
3.9 KiB
Plaintext
135 lines
3.9 KiB
Plaintext
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scenes/bazaar/bazaar_screen.gd" id="1_bs"]
|
|
|
|
[node name="BazaarScreen" type="VBoxContainer"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_bs")
|
|
|
|
[node name="TopBarMargin" type="MarginContainer" parent="."]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 12
|
|
theme_override_constants/margin_right = 12
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="TopBar" type="HBoxContainer" parent="TopBarMargin"]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 40)
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="BackBtn" type="Button" parent="TopBarMargin/TopBar"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(40, 40)
|
|
text = "←"
|
|
tooltip_text = "Back"
|
|
theme_override_font_sizes/font_size = 18
|
|
|
|
[node name="TitleLabel" type="Label" parent="TopBarMargin/TopBar"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Bazaar"
|
|
vertical_alignment = 1
|
|
theme_override_font_sizes/font_size = 18
|
|
|
|
[node name="BalanceLabel" type="Label" parent="TopBarMargin/TopBar"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "◆ — OP"
|
|
vertical_alignment = 1
|
|
modulate = Color(0.95, 0.85, 0.30, 1.0)
|
|
theme_override_font_sizes/font_size = 14
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="."]
|
|
layout_mode = 2
|
|
|
|
[node name="TabBarMargin" type="MarginContainer" parent="."]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 16
|
|
theme_override_constants/margin_right = 16
|
|
theme_override_constants/margin_top = 6
|
|
theme_override_constants/margin_bottom = 6
|
|
|
|
[node name="TabBar" type="HBoxContainer" parent="TabBarMargin"]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 36)
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="PacksTabBtn" type="Button" parent="TabBarMargin/TabBar"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
custom_minimum_size = Vector2(0, 36)
|
|
text = "Packs"
|
|
theme_override_font_sizes/font_size = 14
|
|
|
|
[node name="DecksTabBtn" type="Button" parent="TabBarMargin/TabBar"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
custom_minimum_size = Vector2(0, 36)
|
|
text = "Decks"
|
|
theme_override_font_sizes/font_size = 14
|
|
|
|
[node name="CosmeticsTabBtn" type="Button" parent="TabBarMargin/TabBar"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
custom_minimum_size = Vector2(0, 36)
|
|
text = "Cosmetics"
|
|
theme_override_font_sizes/font_size = 14
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="."]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="ItemListMargin" type="MarginContainer" parent="Scroll"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="ItemList" type="VBoxContainer" parent="Scroll/ItemListMargin"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 6
|
|
|
|
[node name="StatusRow" type="HBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 44)
|
|
alignment = 1
|
|
|
|
[node name="LoadingLabel" type="Label" parent="StatusRow"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Loading…"
|
|
modulate = Color(0.75, 0.75, 0.8, 1.0)
|
|
theme_override_font_sizes/font_size = 14
|
|
|
|
[node name="EmptyLabel" type="Label" parent="StatusRow"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Nothing available right now."
|
|
visible = false
|
|
modulate = Color(0.6, 0.6, 0.65, 1.0)
|
|
theme_override_font_sizes/font_size = 14
|
|
|
|
[node name="ConfirmDialog" type="ConfirmationDialog" parent="."]
|
|
unique_name_in_owner = true
|
|
title = "Confirm Purchase"
|
|
ok_button_text = "Buy"
|
|
|
|
[node name="ResultDialog" type="AcceptDialog" parent="."]
|
|
unique_name_in_owner = true
|
|
title = "Result"
|