[gd_scene load_steps=2 format=3 uid="uid://qvv1n31fsf8k"] [ext_resource type="Script" uid="uid://cqrcq3lrws6qm" path="res://scenes/collection/components/card_widget.gd" id="1_cw"] [node name="CardWidget" type="PanelContainer"] custom_minimum_size = Vector2(152, 238) offset_right = 160.0 offset_bottom = 257.0 script = ExtResource("1_cw") [node name="Margin" type="MarginContainer" parent="."] layout_mode = 2 theme_override_constants/margin_left = 6 theme_override_constants/margin_top = 6 theme_override_constants/margin_right = 6 theme_override_constants/margin_bottom = 6 [node name="VBox" type="VBoxContainer" parent="Margin"] layout_mode = 2 theme_override_constants/separation = 5 [node name="HeaderRow" type="HBoxContainer" parent="Margin/VBox"] custom_minimum_size = Vector2(0, 28) layout_mode = 2 theme_override_constants/separation = 6 [node name="AffinityIcon" type="TextureRect" parent="Margin/VBox/HeaderRow"] unique_name_in_owner = true custom_minimum_size = Vector2(24, 24) layout_mode = 2 expand_mode = 1 stretch_mode = 5 [node name="NameLabel" type="Label" parent="Margin/VBox/HeaderRow"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 13 text = "Card Name" horizontal_alignment = 1 vertical_alignment = 1 text_overrun_behavior = 3 [node name="CostColumn" type="VBoxContainer" parent="Margin/VBox/HeaderRow"] layout_mode = 2 theme_override_constants/separation = 2 [node name="SpRow" type="HBoxContainer" parent="Margin/VBox/HeaderRow/CostColumn"] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 3 [node name="SpIcon" type="TextureRect" parent="Margin/VBox/HeaderRow/CostColumn/SpRow"] unique_name_in_owner = true custom_minimum_size = Vector2(12, 12) layout_mode = 2 expand_mode = 1 [node name="SpLabel" type="Label" parent="Margin/VBox/HeaderRow/CostColumn/SpRow"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 11 text = "?" [node name="StRow" type="HBoxContainer" parent="Margin/VBox/HeaderRow/CostColumn"] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 3 [node name="StIcon" type="TextureRect" parent="Margin/VBox/HeaderRow/CostColumn/StRow"] unique_name_in_owner = true custom_minimum_size = Vector2(12, 12) layout_mode = 2 expand_mode = 1 stretch_mode = 5 [node name="StLabel" type="Label" parent="Margin/VBox/HeaderRow/CostColumn/StRow"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 11 text = "0" [node name="ArtArea" type="Panel" parent="Margin/VBox"] custom_minimum_size = Vector2(0, 122) layout_mode = 2 size_flags_vertical = 3 [node name="ArtTexture" type="TextureRect" parent="Margin/VBox/ArtArea"] unique_name_in_owner = true layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 expand_mode = 1 stretch_mode = 6 [node name="MetaRow" type="HBoxContainer" parent="Margin/VBox"] custom_minimum_size = Vector2(0, 18) layout_mode = 2 theme_override_constants/separation = 4 [node name="SetIcon" type="TextureRect" parent="Margin/VBox/MetaRow"] unique_name_in_owner = true custom_minimum_size = Vector2(14, 14) layout_mode = 2 expand_mode = 1 stretch_mode = 5 [node name="GenusLabel" type="Label" parent="Margin/VBox/MetaRow"] unique_name_in_owner = true modulate = Color(0.82, 0.82, 0.86, 1) layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 10 text = "Genus" vertical_alignment = 1 text_overrun_behavior = 3 [node name="TypeLabel" type="Label" parent="Margin/VBox/MetaRow"] unique_name_in_owner = true modulate = Color(0.65, 0.65, 0.72, 1) layout_mode = 2 theme_override_font_sizes/font_size = 10 text = "Type" vertical_alignment = 1 [node name="StatsGrid" type="GridContainer" parent="Margin/VBox"] layout_mode = 2 theme_override_constants/h_separation = 4 theme_override_constants/v_separation = 4 columns = 2 [node name="AttackBadge" type="HBoxContainer" parent="Margin/VBox/StatsGrid"] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 4 [node name="AttackIconLabel" type="Label" parent="Margin/VBox/StatsGrid/AttackBadge"] layout_mode = 2 theme_override_font_sizes/font_size = 9 text = "ATK" [node name="AttackValue" type="Label" parent="Margin/VBox/StatsGrid/AttackBadge"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 11 text = "-" [node name="MoveBadge" type="HBoxContainer" parent="Margin/VBox/StatsGrid"] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 4 [node name="MoveIcon" type="TextureRect" parent="Margin/VBox/StatsGrid/MoveBadge"] unique_name_in_owner = true custom_minimum_size = Vector2(12, 12) layout_mode = 2 expand_mode = 1 stretch_mode = 5 [node name="MoveValue" type="Label" parent="Margin/VBox/StatsGrid/MoveBadge"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 11 text = "-" [node name="RangeBadge" type="HBoxContainer" parent="Margin/VBox/StatsGrid"] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 4 [node name="RangeIconLabel" type="Label" parent="Margin/VBox/StatsGrid/RangeBadge"] layout_mode = 2 theme_override_font_sizes/font_size = 9 text = "RNG" [node name="RangeValue" type="Label" parent="Margin/VBox/StatsGrid/RangeBadge"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 11 text = "-" [node name="HpBadge" type="HBoxContainer" parent="Margin/VBox/StatsGrid"] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 4 [node name="HpIcon" type="TextureRect" parent="Margin/VBox/StatsGrid/HpBadge"] unique_name_in_owner = true custom_minimum_size = Vector2(12, 12) layout_mode = 2 expand_mode = 1 stretch_mode = 5 [node name="HpValue" type="Label" parent="Margin/VBox/StatsGrid/HpBadge"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 11 text = "-" [node name="DefBadge" type="HBoxContainer" parent="Margin/VBox/StatsGrid"] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 4 [node name="DefIcon" type="TextureRect" parent="Margin/VBox/StatsGrid/DefBadge"] unique_name_in_owner = true custom_minimum_size = Vector2(12, 12) layout_mode = 2 expand_mode = 1 stretch_mode = 5 [node name="DefValue" type="Label" parent="Margin/VBox/StatsGrid/DefBadge"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 11 text = "-" [node name="AbilityBadge" type="HBoxContainer" parent="Margin/VBox/StatsGrid"] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 4 [node name="AbilityIcon" type="TextureRect" parent="Margin/VBox/StatsGrid/AbilityBadge"] unique_name_in_owner = true custom_minimum_size = Vector2(12, 12) layout_mode = 2 expand_mode = 1 stretch_mode = 5 [node name="AbilityValue" type="Label" parent="Margin/VBox/StatsGrid/AbilityBadge"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 11 text = "0"