[gd_scene load_steps=19 format=3 uid="uid://dcpuaq3fcwyxs"] [ext_resource type="Script" uid="uid://dkrxdaq8d6q55" path="res://scripts/guild_card_scene.gd" id="1_hj0e5"] [ext_resource type="Texture2D" uid="uid://c5hcva1k5qee0" path="res://external/guildcard-portrait-placeholder.png" id="1_mmvi8"] [ext_resource type="Shader" uid="uid://uxrvcuhjnjgl" path="res://shaders/animated_gradient.gdshader" id="3_3vymb"] [ext_resource type="PackedScene" uid="uid://drshemnag35re" path="res://templates/hero_portrait.tscn" id="3_tnttg"] [ext_resource type="Texture2D" uid="uid://hdjte1ipyyio" path="res://external/signature.png" id="4_ht11g"] [ext_resource type="AudioStream" uid="uid://bmm8jhojdt31a" path="res://sounds/Writing in paper 19.wav" id="5_ht11g"] [ext_resource type="PackedScene" uid="uid://dno0a4457twd4" path="res://templates/portrait_customizer.tscn" id="7_q4kfw"] [sub_resource type="Gradient" id="Gradient_hj0e5"] colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1) [sub_resource type="GradientTexture1D" id="GradientTexture1D_5cpdt"] gradient = SubResource("Gradient_hj0e5") [sub_resource type="StyleBoxLine" id="StyleBoxLine_3vymb"] content_margin_left = 4.0 content_margin_top = 0.0 content_margin_right = 4.0 content_margin_bottom = 0.0 thickness = 8 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ht11g"] content_margin_left = 0.0 content_margin_top = 0.0 content_margin_right = 0.0 content_margin_bottom = 0.0 bg_color = Color(0.89, 0.75472, 0.5518, 1) corner_radius_top_left = 3 corner_radius_top_right = 3 corner_radius_bottom_right = 3 corner_radius_bottom_left = 3 corner_detail = 5 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3rhvj"] content_margin_left = 4.0 content_margin_top = 4.0 content_margin_right = 4.0 content_margin_bottom = 4.0 bg_color = Color(0.75686276, 0.62352943, 0.4, 1) border_width_bottom = 2 border_color = Color(0, 0, 0, 0.6) corner_radius_top_left = 3 corner_radius_top_right = 3 corner_radius_bottom_right = 3 corner_radius_bottom_left = 3 corner_detail = 5 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tnttg"] content_margin_left = 4.0 content_margin_top = 4.0 content_margin_right = 4.0 content_margin_bottom = 4.0 bg_color = Color(0.75686276, 0.62352943, 0.4, 1) border_width_bottom = 2 border_color = Color(0, 0, 0, 0.6) corner_radius_top_left = 3 corner_radius_top_right = 3 corner_radius_bottom_right = 3 corner_radius_bottom_left = 3 corner_detail = 5 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_q4kfw"] content_margin_left = 4.0 content_margin_top = 4.0 content_margin_right = 4.0 content_margin_bottom = 4.0 bg_color = Color(0.67, 0.5348834, 0.3015, 0.6) corner_radius_top_left = 3 corner_radius_top_right = 3 corner_radius_bottom_right = 3 corner_radius_bottom_left = 3 corner_detail = 5 [sub_resource type="StyleBoxLine" id="StyleBoxLine_7irbt"] content_margin_left = 4.0 content_margin_top = 0.0 content_margin_right = 4.0 content_margin_bottom = 0.0 color = Color(1, 1, 1, 1) thickness = 4 [sub_resource type="Gradient" id="Gradient_3vymb"] offsets = PackedFloat32Array(0.0026385225, 0.047493402, 0.081794195, 1) colors = PackedColorArray(1, 0, 0, 1, 0, 0.1333332, 1, 1, 0, 0.02513448, 0.18850878, 1, 0, 0, 0, 1) [sub_resource type="GradientTexture1D" id="GradientTexture1D_ht11g"] gradient = SubResource("Gradient_3vymb") [sub_resource type="ShaderMaterial" id="ShaderMaterial_3rhvj"] resource_local_to_scene = true shader = ExtResource("3_3vymb") shader_parameter/gradient = SubResource("GradientTexture1D_ht11g") shader_parameter/fringe = 0.00800000000162981 [node name="Guild Card Scene" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_hj0e5") [node name="ColorRect2" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.007298478, 0, 0.13471341, 1) [node name="TextureRect" type="TextureRect" parent="."] modulate = Color(1, 0.776, 0.52, 1) layout_mode = 0 offset_left = 353.0 offset_top = 88.99999 offset_right = 1359.965 offset_bottom = 1313.5608 rotation = -0.19356708 texture = SubResource("GradientTexture1D_5cpdt") [node name="Label" type="Label" parent="TextureRect"] layout_mode = 0 offset_left = 34.2516 offset_top = 33.20886 offset_right = 930.2516 offset_bottom = 143.20885 theme_override_colors/font_color = Color(0, 0, 0, 1) theme_override_font_sizes/font_size = 72 text = "GUILD CHAPTER CHARTER" [node name="Label2" type="Label" parent="TextureRect"] layout_mode = 0 offset_left = 265.34796 offset_top = 127.92432 offset_right = 718.34796 offset_bottom = 210.92432 theme_override_colors/font_color = Color(0, 0, 0, 1) theme_override_font_sizes/font_size = 60 text = "Nestor's Woods" [node name="HSeparator" type="HSeparator" parent="TextureRect"] layout_mode = 0 offset_left = 97.12344 offset_top = 190.73767 offset_right = 892.07495 offset_bottom = 214.61972 theme_override_styles/separator = SubResource("StyleBoxLine_3vymb") [node name="HSeparator2" type="HSeparator" parent="TextureRect"] layout_mode = 0 offset_left = 94.76892 offset_top = 1138.492 offset_right = 889.72046 offset_bottom = 1162.374 theme_override_styles/separator = SubResource("StyleBoxLine_3vymb") [node name="ColorRect" type="ColorRect" parent="."] layout_mode = 0 offset_left = 525.0 offset_top = 352.0 offset_right = 1452.0 offset_bottom = 788.0 color = Color(0, 0, 0, 0.45882353) [node name="GuildCard" type="Panel" parent="."] layout_mode = 1 anchors_preset = -1 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -458.0 offset_top = -216.0 offset_right = 458.0 offset_bottom = 216.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_ht11g") [node name="PortraitButton" type="TextureButton" parent="GuildCard"] unique_name_in_owner = true custom_minimum_size = Vector2(200, 200) layout_mode = 0 offset_left = 15.0 offset_top = 63.0 offset_right = 55.0 offset_bottom = 103.0 [node name="ColorRect" type="ColorRect" parent="GuildCard/PortraitButton"] custom_minimum_size = Vector2(200, 200) layout_mode = 0 offset_right = 200.0 offset_bottom = 200.0 mouse_filter = 2 color = Color(0.75686276, 0.62352943, 0.4, 1) [node name="TextureRect" type="TextureRect" parent="GuildCard/PortraitButton"] modulate = Color(0.6024934, 0.46840662, 0.2634572, 1) layout_mode = 0 offset_right = 200.0 offset_bottom = 200.0 mouse_filter = 2 texture = ExtResource("1_mmvi8") expand_mode = 1 [node name="PortraitContainer" type="Control" parent="GuildCard"] unique_name_in_owner = true visible = false anchors_preset = 0 offset_left = 9.0 offset_top = 58.0 offset_right = 213.0 offset_bottom = 263.0 mouse_filter = 2 [node name="ColorRect" type="ColorRect" parent="GuildCard/PortraitContainer"] layout_mode = 0 offset_right = 204.8 offset_bottom = 205.0 mouse_filter = 2 [node name="ColorRect2" type="ColorRect" parent="GuildCard/PortraitContainer"] clip_contents = true layout_mode = 0 offset_left = 14.0 offset_top = 14.0 offset_right = 189.0 offset_bottom = 189.0 mouse_filter = 2 color = Color(0.48570347, 0.48570353, 0.48570347, 1) [node name="HeroPortrait" parent="GuildCard/PortraitContainer/ColorRect2" instance=ExtResource("3_tnttg")] unique_name_in_owner = true layout_mode = 0 offset_left = -2.0 offset_right = 510.0 offset_bottom = 512.0 scale = Vector2(0.35, 0.35) mouse_filter = 1 [node name="Label" type="Label" parent="GuildCard"] layout_mode = 0 offset_left = 187.0 offset_right = 736.0 offset_bottom = 67.0 theme_override_colors/font_color = Color(0, 0, 0, 1) theme_override_font_sizes/font_size = 48 text = "Guild Membership Card" [node name="FirstNameEdit" type="TextEdit" parent="GuildCard"] unique_name_in_owner = true custom_minimum_size = Vector2(300, 60) layout_mode = 0 offset_left = 255.0 offset_top = 65.0 offset_right = 555.0 offset_bottom = 125.0 theme_override_colors/caret_background_color = Color(0, 0, 0, 0) theme_override_colors/font_color = Color(0, 0, 0, 1) theme_override_colors/font_readonly_color = Color(1, 1, 1, 1) theme_override_colors/font_placeholder_color = Color(0.3403393, 0.34033933, 0.3403393, 1) theme_override_colors/background_color = Color(0, 0, 0, 0) theme_override_colors/current_line_color = Color(0, 0, 0, 0) theme_override_font_sizes/font_size = 40 theme_override_styles/normal = SubResource("StyleBoxFlat_3rhvj") placeholder_text = "(First Name)" [node name="LastNameEdit" type="TextEdit" parent="GuildCard"] unique_name_in_owner = true custom_minimum_size = Vector2(300, 60) layout_mode = 0 offset_left = 569.0 offset_top = 65.0 offset_right = 869.0 offset_bottom = 125.0 theme_override_colors/caret_background_color = Color(0, 0, 0, 0) theme_override_colors/font_color = Color(0, 0, 0, 1) theme_override_colors/font_readonly_color = Color(1, 1, 1, 1) theme_override_colors/font_placeholder_color = Color(0.3403393, 0.34033933, 0.3403393, 1) theme_override_colors/background_color = Color(0, 0, 0, 0) theme_override_colors/current_line_color = Color(0, 0, 0, 0) theme_override_font_sizes/font_size = 40 theme_override_styles/normal = SubResource("StyleBoxFlat_tnttg") placeholder_text = "(Last Name)" [node name="Label2" type="Label" parent="GuildCard"] layout_mode = 0 offset_left = 228.0 offset_top = 74.0 offset_right = 281.0 offset_bottom = 129.0 theme_override_colors/font_color = Color(0, 0, 0, 1) theme_override_font_sizes/font_size = 40 text = "I, , Do solemnly swear to be an adventurer and crap." [node name="SignButton" type="Button" parent="GuildCard"] unique_name_in_owner = true layout_mode = 0 offset_left = 89.0 offset_top = 284.0 offset_right = 839.0 offset_bottom = 380.0 theme_override_colors/font_color = Color(0.2775273, 0.27752793, 0.27752748, 1) theme_override_font_sizes/font_size = 48 theme_override_styles/normal = SubResource("StyleBoxFlat_q4kfw") disabled = true text = "(Sign Here)" [node name="HSeparator" type="HSeparator" parent="GuildCard"] modulate = Color(0, 0, 0, 1) layout_mode = 0 offset_left = 258.0 offset_top = 65.0 offset_right = 552.0 offset_bottom = 181.0 mouse_filter = 2 theme_override_styles/separator = SubResource("StyleBoxLine_7irbt") [node name="HSeparator3" type="HSeparator" parent="GuildCard"] modulate = Color(0, 0, 0, 1) layout_mode = 0 offset_left = 51.0 offset_top = 329.0 offset_right = 877.0 offset_bottom = 445.0 mouse_filter = 2 theme_override_styles/separator = SubResource("StyleBoxLine_7irbt") [node name="HSeparator2" type="HSeparator" parent="GuildCard"] modulate = Color(0, 0, 0, 1) layout_mode = 0 offset_left = 573.0 offset_top = 65.0 offset_right = 867.0 offset_bottom = 181.0 mouse_filter = 2 theme_override_styles/separator = SubResource("StyleBoxLine_7irbt") [node name="Signature" type="TextureRect" parent="."] unique_name_in_owner = true material = SubResource("ShaderMaterial_3rhvj") layout_mode = 0 offset_left = 873.0 offset_top = 557.0 offset_right = 1064.0 offset_bottom = 765.0 texture = ExtResource("4_ht11g") [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] stream = ExtResource("5_ht11g") [node name="PortraitCustomizer" parent="." instance=ExtResource("7_q4kfw")] visible = false z_index = 10 layout_mode = 1 [connection signal="pressed" from="GuildCard/PortraitButton" to="." method="_on_portrait_button_pressed"] [connection signal="text_changed" from="GuildCard/FirstNameEdit" to="." method="_on_first_name_edit_text_changed"] [connection signal="text_changed" from="GuildCard/LastNameEdit" to="." method="_on_last_name_edit_text_changed"] [connection signal="pressed" from="GuildCard/SignButton" to="." method="_on_sign_button_pressed"] [connection signal="portrait_customized" from="PortraitCustomizer" to="." method="_on_portrait_customized"]