mlpcardgame/Scenes/Draft/CardListItem.tscn

107 lines
2.8 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://Scenes/Draft/CardListItem.gd" type="Script" id=1]
[ext_resource path="res://UIAssets/Fonts/Catamaran-Bold.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://UIAssets/Fonts/Catamaran-Light.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://MLPAssets/Icons/flat-cost.png" type="Texture" id=4]
[sub_resource type="DynamicFont" id=1]
size = 12
use_mipmaps = true
use_filter = true
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=2]
size = 12
font_data = ExtResource( 3 )
[sub_resource type="DynamicFont" id=3]
size = 14
font_data = ExtResource( 2 )
[node name="CardLabel" type="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -1080.0
margin_bottom = -777.0
rect_min_size = Vector2( 200, 23 )
script = ExtResource( 1 )
barColors = {
"blue": Color( 0.192157, 0.960784, 1, 1 ),
"none": Color( 0.129412, 0.372549, 0.25098, 1 ),
"orange": Color( 0.956863, 0.419608, 0.12549, 1 ),
"pink": Color( 0.972549, 0.270588, 0.603922, 1 ),
"purple": Color( 0.611765, 0.258824, 0.878431, 1 ),
"white": Color( 0.858824, 0.858824, 0.858824, 1 ),
"yellow": Color( 0.921569, 0.929412, 0.196078, 1 )
}
[node name="TextBlock" type="HBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 2.0
margin_right = -4.0
[node name="NameBlock" type="HBoxContainer" parent="TextBlock"]
margin_right = 188.0
margin_bottom = 21.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Name" type="Label" parent="TextBlock/NameBlock"]
margin_right = 85.0
margin_bottom = 21.0
custom_fonts/font = SubResource( 1 )
text = "Twilight Sparkle"
valign = 1
[node name="Subname" type="Label" parent="TextBlock/NameBlock"]
modulate = Color( 1, 1, 1, 0.666667 )
margin_left = 89.0
margin_right = 188.0
margin_bottom = 21.0
size_flags_horizontal = 3
custom_fonts/font = SubResource( 2 )
text = "Princess of friendship"
valign = 1
clip_text = true
[node name="CostIndicator" type="TextureRect" parent="TextBlock"]
visible = false
self_modulate = Color( 0.396078, 0.396078, 0.396078, 1 )
margin_left = 172.0
margin_right = 188.0
margin_bottom = 21.0
rect_min_size = Vector2( 16, 20 )
texture = ExtResource( 4 )
expand = true
stretch_mode = 6
[node name="CostLabel" type="Label" parent="TextBlock/CostIndicator"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 1.0
margin_top = -5.0
margin_right = 1.0
margin_bottom = 5.0
rect_min_size = Vector2( 16, 0 )
size_flags_horizontal = 3
custom_fonts/font = SubResource( 3 )
text = "2"
align = 1
valign = 1
[node name="ColorIndicator" type="ColorRect" parent="."]
anchor_bottom = 1.0
margin_right = 2.0
rect_min_size = Vector2( 3, 0 )
[node name="TextureRect" type="TextureRect" parent="ColorIndicator"]
visible = false
margin_left = 3.0
margin_right = 26.0
margin_bottom = 3.0
rect_rotation = 89.9999
expand = true