Build Bazaar: 4 tabs, sort/filter, art images, USD disabled

- Add Boosters, Decks, Cosmetics, Cards (marketplace) tabs
- Sort per-tab: name, price, card count, type, set (boosters)
- Cards tab: filter by rarity and card type, sort by price/rarity/name
- StoreItemRow gets 72x72 art TextureRect with async HTTP image loading;
  falls back to cdn.aeternalisgames.com/sor-assets/cardart/0_No-Card-Art.jpg
- USD prices shown as greyed "$X.XX (coming soon)" — buy disabled
- "Buy OP" button in header present but disabled (USD flow not yet live)
- setup_listing() on StoreItemRow handles marketplace card listings
  with auction bid count, current bid, and Bid/Buy button labels

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
dingo
2026-03-06 17:46:07 -05:00
co-authored by Claude Happy
parent 9dadeda7c1
commit c4ef720570
4 changed files with 525 additions and 144 deletions
@@ -3,22 +3,31 @@
[ext_resource type="Script" path="res://scenes/bazaar/components/store_item_row.gd" id="1_sir"]
[node name="StoreItemRow" type="PanelContainer"]
custom_minimum_size = Vector2(0, 88)
script = ExtResource("1_sir")
[node name="Margin" type="MarginContainer" parent="."]
layout_mode = 2
theme_override_constants/margin_left = 10
theme_override_constants/margin_right = 10
theme_override_constants/margin_top = 10
theme_override_constants/margin_bottom = 10
theme_override_constants/margin_top = 8
theme_override_constants/margin_bottom = 8
[node name="HBox" type="HBoxContainer" parent="Margin"]
layout_mode = 2
theme_override_constants/separation = 12
[node name="ArtImage" type="TextureRect" parent="Margin/HBox"]
unique_name_in_owner = true
layout_mode = 2
custom_minimum_size = Vector2(72, 72)
expand_mode = 1
stretch_mode = 6
[node name="Info" type="VBoxContainer" parent="Margin/HBox"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
theme_override_constants/separation = 3
[node name="NameLabel" type="Label" parent="Margin/HBox/Info"]
@@ -43,8 +52,17 @@ visible = false
modulate = Color(0.55, 0.55, 0.60, 1.0)
theme_override_font_sizes/font_size = 11
[node name="TagsLabel" type="Label" parent="Margin/HBox/Info"]
unique_name_in_owner = true
layout_mode = 2
text = ""
visible = false
modulate = Color(0.45, 0.65, 0.90, 1.0)
theme_override_font_sizes/font_size = 10
[node name="PriceBox" type="VBoxContainer" parent="Margin/HBox"]
layout_mode = 2
size_flags_vertical = 4
theme_override_constants/separation = 4
[node name="PriceLabel" type="Label" parent="Margin/HBox/PriceBox"]
@@ -60,3 +78,12 @@ layout_mode = 2
custom_minimum_size = Vector2(76, 32)
text = "Buy"
theme_override_font_sizes/font_size = 13
[node name="UsdLabel" type="Label" parent="Margin/HBox/PriceBox"]
unique_name_in_owner = true
layout_mode = 2
horizontal_alignment = 1
text = ""
visible = false
modulate = Color(0.5, 0.5, 0.55, 0.7)
theme_override_font_sizes/font_size = 10