106 lines
3.1 KiB
Plaintext
106 lines
3.1 KiB
Plaintext
[gd_scene format=3 uid="uid://bbhpa50ef6702"]
|
|
|
|
[ext_resource type="Script" uid="uid://dw5y2tp34fxys" path="res://scripts/perk_card.gd" id="1_t8gqh"]
|
|
[ext_resource type="Texture2D" uid="uid://duo145bmwho8d" path="res://assets/UI assets pack 2/UI books & more.png" id="2_nlhlf"]
|
|
[ext_resource type="FontFile" uid="uid://cq0jx2aapggkg" path="res://assets/fonts/slkscrb.ttf" id="3_n4umd"]
|
|
[ext_resource type="FontFile" uid="uid://brooj0hba7650" path="res://assets/fonts/slkscr.ttf" id="4_40ty6"]
|
|
[ext_resource type="Texture2D" uid="uid://cdktimg5axaxj" path="res://assets/Fire Pixel Bullet 16x16/All_Fire_Bullet_Pixel_16x16_01.png" id="4_nlhlf"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fgk3h"]
|
|
atlas = ExtResource("2_nlhlf")
|
|
region = Rect2(561, 17, 46, 62)
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_qag4p"]
|
|
line_spacing = 5.0
|
|
font = ExtResource("3_n4umd")
|
|
font_size = 16
|
|
outline_size = 2
|
|
outline_color = Color(0, 0, 0, 1)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_n4umd"]
|
|
atlas = ExtResource("4_nlhlf")
|
|
region = Rect2(258, 241, 25, 14)
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_ni87r"]
|
|
line_spacing = 6.0
|
|
font = ExtResource("3_n4umd")
|
|
font_size = 17
|
|
outline_size = 2
|
|
outline_color = Color(0, 0, 0, 1)
|
|
|
|
[node name="PerkCard" type="Control" unique_id=1471811151]
|
|
custom_minimum_size = Vector2(240, 360)
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
script = ExtResource("1_t8gqh")
|
|
|
|
[node name="Card" type="TextureRect" parent="." unique_id=1832247473]
|
|
texture_filter = 1
|
|
custom_minimum_size = Vector2(240, 360)
|
|
layout_mode = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
texture = SubResource("AtlasTexture_fgk3h")
|
|
|
|
[node name="Name" type="Label" parent="Card" unique_id=2006873472]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -65.0
|
|
offset_top = 43.0
|
|
offset_right = 65.0
|
|
offset_bottom = 100.0
|
|
grow_horizontal = 2
|
|
text = "Zweizeilige
|
|
Überschrift
|
|
"
|
|
label_settings = SubResource("LabelSettings_qag4p")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Card/Name" unique_id=2128840891]
|
|
texture_filter = 1
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -24.5
|
|
offset_top = -10.0
|
|
offset_right = 24.5
|
|
offset_bottom = 19.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
texture = SubResource("AtlasTexture_n4umd")
|
|
stretch_mode = 5
|
|
|
|
[node name="Description" type="RichTextLabel" parent="Card" unique_id=859816848]
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -100.0
|
|
offset_top = -215.0
|
|
offset_right = 100.0
|
|
offset_bottom = -36.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_fonts/normal_font = ExtResource("3_n4umd")
|
|
theme_override_font_sizes/normal_font_size = 17
|
|
theme_override_constants/outline_size = 2
|
|
theme_override_colors/default_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
bbcode_enabled = true
|
|
scroll_active = false
|
|
text = ""
|
|
|
|
[node name="Button" type="Button" parent="." unique_id=1274377333]
|
|
layout_mode = 0
|
|
offset_right = 240.0
|
|
offset_bottom = 360.0
|
|
|
|
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|