[gd_scene load_steps=11 format=3 uid="uid://cds50kwwhlgam"] [ext_resource type="Script" path="res://ui/card_template/card_base.gd" id="1_d22a5"] [ext_resource type="Texture2D" uid="uid://l2nxxhh0pvh8" path="res://assets/card_base/Frame.png" id="1_x5ex0"] [ext_resource type="Texture2D" uid="uid://ip7xjs20pd3d" path="res://assets/card_base/R-OuterFill.png" id="2_xjg8y"] [ext_resource type="Texture2D" uid="uid://crgrple0uik7x" path="res://assets/card_base/Stroke.png" id="3_q71h0"] [ext_resource type="Texture2D" uid="uid://blejyda8mendg" path="res://assets/card_base/InnerFill.png" id="4_2fw8n"] [ext_resource type="Texture2D" uid="uid://by7ws88pn4tvb" path="res://assets/card_base/Separator.png" id="5_n3v14"] [ext_resource type="Texture2D" uid="uid://0gxplli5krq2" path="res://assets/card_base/Pill.png" id="6_wrd2a"] [ext_resource type="Theme" uid="uid://is34t82g4jg" path="res://cards.tres" id="7_fp6ys"] [ext_resource type="FontFile" uid="uid://08q3kkwmd4u6" path="res://assets/Inter-Regular.otf" id="9_vilw6"] [ext_resource type="Texture2D" uid="uid://rh3aswb0p7ri" path="res://assets/energy.png" id="10_2t0ey"] [node name="CardBase" type="Control" node_paths=PackedStringArray("card_name_label", "card_desc_label", "icon_rect")] custom_minimum_size = Vector2(220, 320) layout_mode = 3 anchors_preset = 0 offset_right = 220.0 offset_bottom = 320.0 scale = Vector2(0.7, 0.7) pivot_offset = Vector2(110, 160) size_flags_vertical = 8 script = ExtResource("1_d22a5") card_name_label = NodePath("MarginContainer/Title") card_desc_label = NodePath("MarginContainer/DescriptionLabel") icon_rect = NodePath("MarginContainer/Icon") [node name="Frame" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("1_x5ex0") expand_mode = 1 [node name="MarginContainer" type="Control" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 4.0 offset_top = 3.0 offset_right = -5.0 offset_bottom = -4.0 grow_horizontal = 2 grow_vertical = 2 [node name="TextureRect" type="TextureRect" parent="MarginContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("2_xjg8y") expand_mode = 1 [node name="OuterStroke" type="NinePatchRect" parent="MarginContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("3_q71h0") [node name="TextureRect2" type="TextureRect" parent="MarginContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = 62.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("4_2fw8n") expand_mode = 1 [node name="InnerStroke" type="NinePatchRect" parent="MarginContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = 62.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("3_q71h0") [node name="TextureRect3" type="TextureRect" parent="MarginContainer"] layout_mode = 1 anchors_preset = -1 anchor_left = 0.01 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -0.0100002 offset_top = -112.0 offset_right = -1.0 offset_bottom = -110.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("5_n3v14") expand_mode = 1 metadata/_edit_use_anchors_ = true [node name="TextureRect4" type="NinePatchRect" parent="MarginContainer"] modulate = Color(0.54902, 0.243137, 0.243137, 1) layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 4.5 offset_top = 30.5 offset_right = 90.5 offset_bottom = 60.5 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("6_wrd2a") [node name="Title" type="Label" parent="MarginContainer"] layout_mode = 1 anchors_preset = 10 anchor_right = 1.0 offset_left = 2.0 offset_top = 16.0 offset_right = -3.0 offset_bottom = 50.0 grow_horizontal = 2 theme = ExtResource("7_fp6ys") theme_override_colors/font_color = Color(0.819608, 0.576471, 0.576471, 1) theme_override_font_sizes/font_size = 24 text = "red card" horizontal_alignment = 1 vertical_alignment = 1 [node name="PillLabel" type="Label" parent="MarginContainer"] layout_mode = 0 offset_left = 118.0 offset_top = 190.0 offset_right = 188.0 offset_bottom = 213.0 theme = ExtResource("7_fp6ys") text = "Red card" horizontal_alignment = 1 vertical_alignment = 1 [node name="DescriptionLabel" type="Label" parent="MarginContainer"] layout_mode = 0 offset_left = 11.0 offset_top = 224.0 offset_right = 200.0 offset_bottom = 302.0 theme = ExtResource("7_fp6ys") theme_override_fonts/font = ExtResource("9_vilw6") theme_override_font_sizes/font_size = 12 text = "If your monster is supposed to be dead, keep it alive at 10 HP" horizontal_alignment = 1 autowrap_mode = 3 [node name="Icon" type="TextureRect" parent="MarginContainer"] layout_mode = 0 offset_left = 30.0 offset_top = 77.0 offset_right = 173.0 offset_bottom = 182.0 texture = ExtResource("10_2t0ey") expand_mode = 1 stretch_mode = 6