nsomva/cards/card.tscn
2026-02-19 10:21:55 +05:00

68 lines
2 KiB
Text

[gd_scene format=3 uid="uid://dl3ve6prnn2m6"]
[ext_resource type="Texture2D" uid="uid://c6akwwb58fidc" path="res://cards/templates/card-background.png" id="1_ivai2"]
[ext_resource type="Script" uid="uid://o4ebkeu2kt8v" path="res://cards/card.gd" id="2_jsqqk"]
[ext_resource type="Texture2D" uid="uid://du3h8ou2sxh6s" path="res://units/fosma/fosma.png" id="2_nwofj"]
[ext_resource type="Texture2D" uid="uid://c3p3hl0epd5rg" path="res://cards/templates/cost-bubble.png" id="3_4k7q8"]
[ext_resource type="Texture2D" uid="uid://b5vvxpoic7glj" path="res://cards/templates/experimental.png" id="4_f61jr"]
[node name="Card" type="TextureRect" unique_id=267582807]
anchors_preset = -1
anchor_right = 0.098000005
anchor_bottom = 0.261
offset_right = -72.896
offset_bottom = -129.128
pivot_offset_ratio = Vector2(0.5, 0.5)
texture = ExtResource("1_ivai2")
script = ExtResource("2_jsqqk")
[node name="UnitPreview" type="TextureRect" parent="." unique_id=696212558]
layout_mode = 0
offset_left = 12.0
offset_top = 17.0
offset_right = 103.0
offset_bottom = 80.0
mouse_filter = 2
texture = ExtResource("2_nwofj")
expand_mode = 2
stretch_mode = 5
[node name="CostBubble" type="TextureRect" parent="." unique_id=1170497941]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -32.0
offset_top = -34.0
offset_right = 8.0
offset_bottom = 6.0
grow_horizontal = 0
grow_vertical = 0
mouse_filter = 2
texture = ExtResource("3_4k7q8")
[node name="Cost" type="Label" parent="CostBubble" unique_id=1845152885]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
horizontal_alignment = 1
vertical_alignment = 1
[node name="ExperimentalBadge" type="TextureRect" parent="." unique_id=1894619027]
visible = false
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -26.0
offset_top = -7.0
offset_right = 14.0
offset_bottom = 33.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("4_f61jr")