165 lines
4.9 KiB
Text
165 lines
4.9 KiB
Text
[gd_scene load_steps=11 format=3 uid="uid://dg5amjm1gqi06"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://l2nxxhh0pvh8" path="res://assets/card_base/Frame.png" id="1_4ivbl"]
|
|
[ext_resource type="Script" path="res://ui/card_template/card_base.gd" id="1_rpopv"]
|
|
[ext_resource type="Texture2D" uid="uid://liitr32ap646" path="res://assets/card_base/G-OuterFill.png" id="2_c6lcl"]
|
|
[ext_resource type="Texture2D" uid="uid://crgrple0uik7x" path="res://assets/card_base/Stroke.png" id="3_qajq3"]
|
|
[ext_resource type="Texture2D" uid="uid://blejyda8mendg" path="res://assets/card_base/InnerFill.png" id="4_pgomu"]
|
|
[ext_resource type="Texture2D" uid="uid://by7ws88pn4tvb" path="res://assets/card_base/Separator.png" id="5_501uu"]
|
|
[ext_resource type="Texture2D" uid="uid://0gxplli5krq2" path="res://assets/card_base/Pill.png" id="6_ce7hm"]
|
|
[ext_resource type="Theme" uid="uid://cj3vs5hq2mcbp" path="res://cards.tres" id="7_va1d7"]
|
|
[ext_resource type="Texture2D" uid="uid://rh3aswb0p7ri" path="res://assets/energy.png" id="8_4yq42"]
|
|
[ext_resource type="FontFile" uid="uid://08q3kkwmd4u6" path="res://assets/Inter-Regular.otf" id="10_c2ugn"]
|
|
|
|
[node name="CardBase" type="Control" node_paths=PackedStringArray("card_name_label", "card_desc_label", "icon_rect")]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_right = 220.0
|
|
offset_bottom = 320.0
|
|
script = ExtResource("1_rpopv")
|
|
card_name_label = NodePath("MarginContainer/Label")
|
|
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_4ivbl")
|
|
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_c6lcl")
|
|
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_qajq3")
|
|
|
|
[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_pgomu")
|
|
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_qajq3")
|
|
|
|
[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_501uu")
|
|
expand_mode = 1
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="TextureRect4" type="NinePatchRect" parent="MarginContainer"]
|
|
modulate = Color(0.356863, 0.54902, 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_ce7hm")
|
|
|
|
[node name="Label" 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_va1d7")
|
|
theme_override_colors/font_color = Color(0.576471, 0.788235, 0.819608, 1)
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "green card"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Label2" 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_va1d7")
|
|
text = "Green card"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Icon" type="TextureRect" parent="MarginContainer"]
|
|
offset_left = 26.0
|
|
offset_top = 74.0
|
|
offset_right = 169.0
|
|
offset_bottom = 179.0
|
|
texture = ExtResource("8_4yq42")
|
|
expand_mode = 1
|
|
stretch_mode = 6
|
|
|
|
[node name="DescriptionLabel" type="Label" parent="MarginContainer"]
|
|
offset_left = 11.0
|
|
offset_top = 224.0
|
|
offset_right = 200.0
|
|
offset_bottom = 302.0
|
|
theme = ExtResource("7_va1d7")
|
|
theme_override_fonts/font = ExtResource("10_c2ugn")
|
|
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
|