134 lines
3.8 KiB
Plaintext
134 lines
3.8 KiB
Plaintext
[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(146, 204)
|
||
script = ExtResource("1_cw")
|
||
|
||
[node name="Margin" type="MarginContainer" parent="."]
|
||
layout_mode = 2
|
||
theme_override_constants/margin_left = 5
|
||
theme_override_constants/margin_top = 5
|
||
theme_override_constants/margin_right = 5
|
||
theme_override_constants/margin_bottom = 5
|
||
|
||
[node name="VBox" type="VBoxContainer" parent="Margin"]
|
||
layout_mode = 2
|
||
theme_override_constants/separation = 3
|
||
|
||
[node name="TopRow" type="HBoxContainer" parent="Margin/VBox"]
|
||
custom_minimum_size = Vector2(0, 20)
|
||
layout_mode = 2
|
||
theme_override_constants/separation = 2
|
||
|
||
[node name="SpLabel" type="Label" parent="Margin/VBox/TopRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
theme_override_font_sizes/font_size = 12
|
||
text = "◆?"
|
||
|
||
[node name="TopFill" type="Control" parent="Margin/VBox/TopRow"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
|
||
[node name="FoilLabel" type="Label" parent="Margin/VBox/TopRow"]
|
||
unique_name_in_owner = true
|
||
visible = false
|
||
modulate = Color(0.95, 0.85, 0.3, 1)
|
||
layout_mode = 2
|
||
theme_override_font_sizes/font_size = 12
|
||
text = "✦"
|
||
|
||
[node name="StLabel" type="Label" parent="Margin/VBox/TopRow"]
|
||
unique_name_in_owner = true
|
||
visible = false
|
||
layout_mode = 2
|
||
theme_override_font_sizes/font_size = 12
|
||
|
||
[node name="ArtArea" type="Panel" parent="Margin/VBox"]
|
||
custom_minimum_size = Vector2(0, 80)
|
||
layout_mode = 2
|
||
size_flags_vertical = 3
|
||
|
||
[node name="ArtRect" type="ColorRect" 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
|
||
color = Color(0.18, 0.18, 0.24, 1)
|
||
|
||
[node name="ArtSymbol" type="TextureRect" parent="Margin/VBox/ArtArea"]
|
||
unique_name_in_owner = true
|
||
modulate = Color(1, 1, 1, 0.85)
|
||
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 = 5
|
||
|
||
[node name="NameLabel" type="Label" parent="Margin/VBox"]
|
||
unique_name_in_owner = true
|
||
custom_minimum_size = Vector2(0, 18)
|
||
layout_mode = 2
|
||
theme_override_font_sizes/font_size = 13
|
||
text = "Card Name"
|
||
text_overrun_behavior = 3
|
||
|
||
[node name="TypeRarityRow" type="HBoxContainer" parent="Margin/VBox"]
|
||
custom_minimum_size = Vector2(0, 14)
|
||
layout_mode = 2
|
||
theme_override_constants/separation = 2
|
||
|
||
[node name="TypeLabel" type="Label" parent="Margin/VBox/TypeRarityRow"]
|
||
unique_name_in_owner = true
|
||
modulate = Color(0.7, 0.7, 0.75, 1)
|
||
layout_mode = 2
|
||
theme_override_font_sizes/font_size = 10
|
||
|
||
[node name="TypeFill" type="Control" parent="Margin/VBox/TypeRarityRow"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
|
||
[node name="RarityLabel" type="Label" parent="Margin/VBox/TypeRarityRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
theme_override_font_sizes/font_size = 10
|
||
|
||
[node name="StatsRow" type="HBoxContainer" parent="Margin/VBox"]
|
||
custom_minimum_size = Vector2(0, 18)
|
||
layout_mode = 2
|
||
theme_override_constants/separation = 2
|
||
|
||
[node name="DmgLabel" type="Label" parent="Margin/VBox/StatsRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
theme_override_font_sizes/font_size = 11
|
||
text = "⚔ –"
|
||
|
||
[node name="StatsFill" type="Control" parent="Margin/VBox/StatsRow"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
|
||
[node name="HpLabel" type="Label" parent="Margin/VBox/StatsRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
theme_override_font_sizes/font_size = 11
|
||
text = "♥ –"
|
||
|
||
[node name="StatsFill2" type="Control" parent="Margin/VBox/StatsRow"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
|
||
[node name="DefLabel" type="Label" parent="Margin/VBox/StatsRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
theme_override_font_sizes/font_size = 11
|
||
text = "▲ –"
|