437 lines
13 KiB
Plaintext
437 lines
13 KiB
Plaintext
[gd_scene load_steps=13 format=3 uid="uid://drhhwv5jh0n7k"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bp2htek76abbm" path="res://Sprites/Backgrounds/Mountain Pack by CaptainSkeleto/Mountain Pack5.png" id="1_b0ksa"]
|
|
[ext_resource type="Script" path="res://Scripts/tavern.gd" id="1_cj78a"]
|
|
[ext_resource type="Texture2D" uid="uid://bek056o101dck" path="res://Sprites/UI/Edinnu_UI_asset_pack/Dialogue_plates/Plate (63).png" id="2_gpcqf"]
|
|
[ext_resource type="Texture2D" uid="uid://fwiid8drhoi" path="res://Sprites/Spells/Ice & Fire Spells Pack by Captainskeleto/Fire Spell Pack by Captainskeleto/Fire Spells/Fire Spell Pack58.png" id="3_yfm8a"]
|
|
[ext_resource type="Theme" uid="uid://bh8kyg4qt8rt7" path="res://Themes/default.tres" id="4_idn88"]
|
|
[ext_resource type="Texture2D" uid="uid://dvmf31ndkhd0r" path="res://Sprites/UI/Edinnu_UI_asset_pack/Dialogue_plates/Plate (27).png" id="4_ktvxa"]
|
|
[ext_resource type="Texture2D" uid="uid://cakcdmbrg18pl" path="res://Sprites/UI/Edinnu_UI_asset_pack/Menu/Menu (10).png" id="6_gib8n"]
|
|
[ext_resource type="Texture2D" uid="uid://nnexhrn82ya1" path="res://Sprites/UI/Edinnu_UI_asset_pack/Menu/Menu (12).png" id="7_aipua"]
|
|
[ext_resource type="PackedScene" uid="uid://c2tdawo5x8o16" path="res://Scenes/UI/ui_particles.tscn" id="8_2ee6o"]
|
|
|
|
[sub_resource type="Curve" id="Curve_mel5c"]
|
|
_data = [Vector2(0, 0), 0.0, 3.2967, 0, 0, Vector2(0.226667, 1), -0.400951, -0.400951, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 3
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_yknv7"]
|
|
curve = SubResource("Curve_mel5c")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_lpmqh"]
|
|
particle_flag_disable_z = true
|
|
emission_shape = 3
|
|
emission_box_extents = Vector3(1, 1, 1)
|
|
gravity = Vector3(0, 0, 0)
|
|
linear_accel_min = 100.0
|
|
linear_accel_max = 100.0
|
|
scale_min = 0.5
|
|
scale_max = 0.75
|
|
scale_curve = SubResource("CurveTexture_yknv7")
|
|
anim_speed_min = 1.0
|
|
anim_speed_max = 1.0
|
|
|
|
[node name="Tavern" 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_cj78a")
|
|
|
|
[node name="Background" type="TextureRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("1_b0ksa")
|
|
expand_mode = 2
|
|
stretch_mode = 6
|
|
|
|
[node name="NinePatchRect" type="NinePatchRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 4
|
|
anchor_top = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_top = -80.0
|
|
offset_right = 144.0
|
|
offset_bottom = 81.0
|
|
grow_vertical = 2
|
|
scale = Vector2(4, 4)
|
|
pivot_offset = Vector2(0, 80.625)
|
|
texture = ExtResource("2_gpcqf")
|
|
patch_margin_left = 8
|
|
patch_margin_top = 12
|
|
patch_margin_right = 8
|
|
patch_margin_bottom = 12
|
|
axis_stretch_horizontal = 2
|
|
axis_stretch_vertical = 2
|
|
|
|
[node name="zone" type="Control" parent="NinePatchRect"]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 7.0
|
|
offset_top = 12.0
|
|
offset_right = -7.0
|
|
offset_bottom = -10.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Icon" type="TextureRect" parent="NinePatchRect/zone"]
|
|
layout_mode = 1
|
|
offset_right = 32.0
|
|
offset_bottom = 32.0
|
|
texture = ExtResource("3_yfm8a")
|
|
stretch_mode = 4
|
|
|
|
[node name="NinePatchRect" type="NinePatchRect" parent="NinePatchRect/zone"]
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
offset_left = 33.0
|
|
offset_right = 1.0
|
|
offset_bottom = 32.0
|
|
grow_horizontal = 2
|
|
texture = ExtResource("4_ktvxa")
|
|
region_rect = Rect2(4, 4, 286, 72)
|
|
patch_margin_left = 1
|
|
patch_margin_top = 1
|
|
patch_margin_right = 1
|
|
patch_margin_bottom = 1
|
|
axis_stretch_horizontal = 1
|
|
axis_stretch_vertical = 1
|
|
|
|
[node name="Name" type="RichTextLabel" parent="NinePatchRect/zone"]
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
offset_left = 33.0
|
|
offset_bottom = 16.0
|
|
grow_horizontal = 2
|
|
theme = ExtResource("4_idn88")
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_outline_color = Color(0.847059, 0.341176, 0.423529, 0.956863)
|
|
theme_override_constants/outline_size = 1
|
|
theme_override_font_sizes/normal_font_size = 15
|
|
bbcode_enabled = true
|
|
text = "[center]Name[/center]"
|
|
|
|
[node name="Rarity" type="RichTextLabel" parent="NinePatchRect/zone"]
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
offset_left = 32.0
|
|
offset_top = 14.0
|
|
offset_bottom = 31.0
|
|
grow_horizontal = 2
|
|
theme = ExtResource("4_idn88")
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_outline_color = Color(0.847059, 0.341176, 0.423529, 0.956863)
|
|
theme_override_constants/outline_size = 1
|
|
theme_override_font_sizes/normal_font_size = 15
|
|
bbcode_enabled = true
|
|
text = "[center]Rarity[/center]"
|
|
|
|
[node name="NinePatchRect2" type="NinePatchRect" parent="NinePatchRect/zone"]
|
|
layout_mode = 1
|
|
anchors_preset = 14
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_top = -35.5
|
|
offset_bottom = -1.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("4_ktvxa")
|
|
region_rect = Rect2(4, 4, 286, 72)
|
|
patch_margin_left = 1
|
|
patch_margin_top = 1
|
|
patch_margin_right = 1
|
|
patch_margin_bottom = 1
|
|
axis_stretch_horizontal = 1
|
|
axis_stretch_vertical = 1
|
|
|
|
[node name="Description" type="RichTextLabel" parent="NinePatchRect/zone"]
|
|
layout_mode = 1
|
|
anchors_preset = 14
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_top = -34.5
|
|
offset_bottom = -2.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("4_idn88")
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_outline_color = Color(0.847059, 0.341176, 0.423529, 0.956863)
|
|
theme_override_constants/outline_size = 0
|
|
theme_override_font_sizes/normal_font_size = 10
|
|
bbcode_enabled = true
|
|
text = "[center]Description[/center]"
|
|
|
|
[node name="NinePatchRect3" type="NinePatchRect" parent="NinePatchRect/zone"]
|
|
layout_mode = 1
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -69.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
texture = ExtResource("4_ktvxa")
|
|
region_rect = Rect2(4, 4, 286, 72)
|
|
patch_margin_left = 1
|
|
patch_margin_top = 1
|
|
patch_margin_right = 1
|
|
patch_margin_bottom = 1
|
|
axis_stretch_horizontal = 1
|
|
axis_stretch_vertical = 1
|
|
|
|
[node name="Damage" type="RichTextLabel" parent="NinePatchRect/zone"]
|
|
layout_mode = 1
|
|
anchors_preset = 14
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_left = 2.0
|
|
offset_top = 1.5
|
|
offset_right = -1.0
|
|
offset_bottom = 68.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("4_idn88")
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_outline_color = Color(0.847059, 0.341176, 0.423529, 0.956863)
|
|
theme_override_constants/outline_size = 0
|
|
theme_override_font_sizes/normal_font_size = 10
|
|
bbcode_enabled = true
|
|
text = "Damage: 1
|
|
Backfire Strength: 1
|
|
Fire Resistance: 60%
|
|
Ice Resistance: 60%
|
|
Poison Resistance: 60%
|
|
Stone Resistance: 60%"
|
|
|
|
[node name="NinePatchRect2" type="NinePatchRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 6
|
|
anchor_left = 1.0
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_left = -144.0
|
|
offset_top = -80.0
|
|
offset_bottom = 18.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 2
|
|
scale = Vector2(4, 4)
|
|
pivot_offset = Vector2(144, 80.5938)
|
|
texture = ExtResource("2_gpcqf")
|
|
patch_margin_left = 8
|
|
patch_margin_top = 12
|
|
patch_margin_right = 8
|
|
patch_margin_bottom = 12
|
|
axis_stretch_horizontal = 2
|
|
axis_stretch_vertical = 2
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="NinePatchRect2"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 7.0
|
|
offset_top = 11.0
|
|
offset_right = -7.0
|
|
offset_bottom = -10.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/h_separation = 3
|
|
columns = 5
|
|
|
|
[node name="NinePatchRect3" type="NinePatchRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -144.0
|
|
offset_top = -19.0
|
|
offset_bottom = 28.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
scale = Vector2(4, 4)
|
|
pivot_offset = Vector2(144, 80.5938)
|
|
texture = ExtResource("2_gpcqf")
|
|
patch_margin_left = 8
|
|
patch_margin_top = 12
|
|
patch_margin_right = 8
|
|
patch_margin_bottom = 12
|
|
axis_stretch_horizontal = 2
|
|
axis_stretch_vertical = 2
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="NinePatchRect3"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 6.0
|
|
offset_top = 12.0
|
|
offset_right = -6.0
|
|
offset_bottom = -10.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/h_separation = 3
|
|
columns = 5
|
|
|
|
[node name="Choice" type="TextureButton" parent="."]
|
|
modulate = Color(1, 0.972549, 0.811765, 0.529412)
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -540.0
|
|
offset_top = -53.0
|
|
offset_right = -438.0
|
|
offset_bottom = -13.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
scale = Vector2(1.5, 1.5)
|
|
pivot_offset = Vector2(51, 20)
|
|
theme = ExtResource("4_idn88")
|
|
disabled = true
|
|
texture_normal = ExtResource("6_gib8n")
|
|
texture_pressed = ExtResource("7_aipua")
|
|
|
|
[node name="RichTextLabel" type="RichTextLabel" parent="Choice"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -33.0
|
|
offset_top = -5.0
|
|
offset_right = 191.0
|
|
offset_bottom = 35.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
scale = Vector2(0.3, 0.3)
|
|
pivot_offset = Vector2(50.8333, 20)
|
|
mouse_filter = 2
|
|
theme = ExtResource("4_idn88")
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 69
|
|
bbcode_enabled = true
|
|
text = "[center]Select[/center]"
|
|
|
|
[node name="UIParticles" parent="Choice" instance=ExtResource("8_2ee6o")]
|
|
position = Vector2(50, 20)
|
|
process_material = SubResource("ParticleProcessMaterial_lpmqh")
|
|
size = Vector3(50, 10, 0.1)
|
|
|
|
[node name="Continue" type="TextureButton" parent="."]
|
|
modulate = Color(1, 0.972549, 0.811765, 1)
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -140.0
|
|
offset_top = -53.0
|
|
offset_right = -38.0
|
|
offset_bottom = -13.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
scale = Vector2(1.5, 1.5)
|
|
pivot_offset = Vector2(51, 20)
|
|
theme = ExtResource("4_idn88")
|
|
texture_normal = ExtResource("6_gib8n")
|
|
texture_pressed = ExtResource("7_aipua")
|
|
|
|
[node name="RichTextLabel" type="RichTextLabel" parent="Continue"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -30.0
|
|
offset_top = -5.0
|
|
offset_right = 173.0
|
|
offset_bottom = 35.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
scale = Vector2(0.3, 0.3)
|
|
pivot_offset = Vector2(50.8333, 20)
|
|
mouse_filter = 2
|
|
theme = ExtResource("4_idn88")
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 69
|
|
bbcode_enabled = true
|
|
text = "[center]Continue[/center]"
|
|
|
|
[node name="UIParticles" parent="Continue" instance=ExtResource("8_2ee6o")]
|
|
position = Vector2(50, 20)
|
|
process_material = SubResource("ParticleProcessMaterial_lpmqh")
|
|
size = Vector3(50, 10, 0.1)
|
|
|
|
[node name="MainMenu" type="TextureButton" parent="."]
|
|
modulate = Color(1, 0.972549, 0.811765, 1)
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -342.0
|
|
offset_top = -53.0
|
|
offset_right = -240.0
|
|
offset_bottom = -13.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
scale = Vector2(1.5, 1.5)
|
|
pivot_offset = Vector2(51, 20)
|
|
theme = ExtResource("4_idn88")
|
|
texture_normal = ExtResource("6_gib8n")
|
|
texture_pressed = ExtResource("7_aipua")
|
|
|
|
[node name="RichTextLabel" type="RichTextLabel" parent="MainMenu"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -30.0
|
|
offset_top = -5.0
|
|
offset_right = 173.0
|
|
offset_bottom = 35.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
scale = Vector2(0.3, 0.3)
|
|
pivot_offset = Vector2(50.8333, 20)
|
|
mouse_filter = 2
|
|
theme = ExtResource("4_idn88")
|
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/normal_font_size = 69
|
|
bbcode_enabled = true
|
|
text = "[center]Main Menu[/center]"
|
|
|
|
[node name="UIParticles" parent="MainMenu" instance=ExtResource("8_2ee6o")]
|
|
position = Vector2(50, 20)
|
|
process_material = SubResource("ParticleProcessMaterial_lpmqh")
|
|
size = Vector3(50, 10, 0.1)
|
|
|
|
[connection signal="mouse_entered" from="Choice" to="Choice/UIParticles" method="_on_mouse_entered"]
|
|
[connection signal="mouse_exited" from="Choice" to="Choice/UIParticles" method="_on_mouse_exited"]
|
|
[connection signal="pressed" from="Choice" to="." method="_on_choice_pressed"]
|
|
[connection signal="mouse_entered" from="Continue" to="Continue/UIParticles" method="_on_mouse_entered"]
|
|
[connection signal="mouse_exited" from="Continue" to="Continue/UIParticles" method="_on_mouse_exited"]
|
|
[connection signal="pressed" from="Continue" to="." method="_on_continue_pressed"]
|
|
[connection signal="mouse_entered" from="MainMenu" to="MainMenu/UIParticles" method="_on_mouse_entered"]
|
|
[connection signal="mouse_exited" from="MainMenu" to="MainMenu/UIParticles" method="_on_mouse_exited"]
|
|
[connection signal="pressed" from="MainMenu" to="." method="_on_main_menu_pressed"]
|