226 lines
6.6 KiB
Plaintext
226 lines
6.6 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://wnk2cbwr6rhj"]
|
|
|
|
[ext_resource type="Script" uid="uid://cq4fff6k71rpe" path="res://scenes/bazaar/bazaar_screen.gd" id="1_bs"]
|
|
|
|
[node name="BazaarScreen" type="VBoxContainer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 0
|
|
script = ExtResource("1_bs")
|
|
|
|
[node name="TopBarMargin" type="MarginContainer" parent="."]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 12
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 12
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="TopBar" type="HBoxContainer" parent="TopBarMargin"]
|
|
custom_minimum_size = Vector2(0, 40)
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="BackBtn" type="Button" parent="TopBarMargin/TopBar"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(40, 40)
|
|
layout_mode = 2
|
|
tooltip_text = "Back"
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "←"
|
|
|
|
[node name="TitleLabel" type="Label" parent="TopBarMargin/TopBar"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "Bazaar"
|
|
vertical_alignment = 1
|
|
|
|
[node name="BalanceLabel" type="Label" parent="TopBarMargin/TopBar"]
|
|
unique_name_in_owner = true
|
|
modulate = Color(0.95, 0.85, 0.3, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 14
|
|
text = "◆ — OP"
|
|
vertical_alignment = 1
|
|
|
|
[node name="BuyOpBtn" type="Button" parent="TopBarMargin/TopBar"]
|
|
unique_name_in_owner = true
|
|
modulate = Color(0.95, 0.85, 0.3, 0.5)
|
|
custom_minimum_size = Vector2(100, 32)
|
|
layout_mode = 2
|
|
tooltip_text = "Purchase Origin Points with real money — coming soon"
|
|
theme_override_font_sizes/font_size = 12
|
|
disabled = true
|
|
text = "+ Buy OP"
|
|
|
|
[node name="HSep1" type="HSeparator" parent="."]
|
|
layout_mode = 2
|
|
|
|
[node name="TabBarMargin" type="MarginContainer" parent="."]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 12
|
|
theme_override_constants/margin_top = 4
|
|
theme_override_constants/margin_right = 12
|
|
theme_override_constants/margin_bottom = 4
|
|
|
|
[node name="TabBar" type="HBoxContainer" parent="TabBarMargin"]
|
|
custom_minimum_size = Vector2(0, 34)
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 6
|
|
|
|
[node name="BoostersTabBtn" type="Button" parent="TabBarMargin/TabBar"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 34)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 13
|
|
text = "Boosters"
|
|
|
|
[node name="DecksTabBtn" type="Button" parent="TabBarMargin/TabBar"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 34)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 13
|
|
text = "Decks"
|
|
|
|
[node name="CosmeticsTabBtn" type="Button" parent="TabBarMargin/TabBar"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 34)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 13
|
|
text = "Cosmetics"
|
|
|
|
[node name="CardsTabBtn" type="Button" parent="TabBarMargin/TabBar"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 34)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 13
|
|
text = "Cards"
|
|
|
|
[node name="HSep2" type="HSeparator" parent="."]
|
|
layout_mode = 2
|
|
|
|
[node name="FilterBarMargin" type="MarginContainer" parent="."]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 12
|
|
theme_override_constants/margin_top = 4
|
|
theme_override_constants/margin_right = 12
|
|
theme_override_constants/margin_bottom = 4
|
|
|
|
[node name="FilterBar" type="HBoxContainer" parent="FilterBarMargin"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 30)
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="SortLabel" type="Label" parent="FilterBarMargin/FilterBar"]
|
|
modulate = Color(0.7, 0.7, 0.75, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 12
|
|
text = "Sort:"
|
|
vertical_alignment = 1
|
|
|
|
[node name="SortOption" type="OptionButton" parent="FilterBarMargin/FilterBar"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(130, 28)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 12
|
|
|
|
[node name="FilterSep" type="VSeparator" parent="FilterBarMargin/FilterBar"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 2
|
|
|
|
[node name="RarityLabel" type="Label" parent="FilterBarMargin/FilterBar"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
modulate = Color(0.7, 0.7, 0.75, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 12
|
|
text = "Rarity:"
|
|
vertical_alignment = 1
|
|
|
|
[node name="RarityOption" type="OptionButton" parent="FilterBarMargin/FilterBar"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
custom_minimum_size = Vector2(110, 28)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 12
|
|
|
|
[node name="TypeLabel" type="Label" parent="FilterBarMargin/FilterBar"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
modulate = Color(0.7, 0.7, 0.75, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 12
|
|
text = "Type:"
|
|
vertical_alignment = 1
|
|
|
|
[node name="TypeOption" type="OptionButton" parent="FilterBarMargin/FilterBar"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
custom_minimum_size = Vector2(110, 28)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 12
|
|
|
|
[node name="FilterSpacer" type="Control" parent="FilterBarMargin/FilterBar"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="HSep3" type="HSeparator" parent="."]
|
|
layout_mode = 2
|
|
|
|
[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 = 10
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 10
|
|
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="."]
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="LoadingLabel" type="Label" parent="StatusRow"]
|
|
unique_name_in_owner = true
|
|
modulate = Color(0.75, 0.75, 0.8, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 14
|
|
text = "Loading…"
|
|
|
|
[node name="EmptyLabel" type="Label" parent="StatusRow"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
modulate = Color(0.6, 0.6, 0.65, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 14
|
|
text = "Nothing available right now."
|
|
|
|
[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"
|