[gd_scene load_steps=12 format=3 uid="uid://cjcf0u7x52y1g"]

[ext_resource type="Texture2D" uid="uid://dqf36vgpolfwp" path="res://scenes/quiz/assets/img/bg_valve.jpg" id="1_1cyln"]
[ext_resource type="Theme" uid="uid://yd1uwltn3go" path="res://scenes/global/assets/themes/dialogButton.tres" id="2_1mnp5"]
[ext_resource type="Texture2D" uid="uid://osremlye7c4g" path="res://scenes/quiz/assets/img/spr_gaben.png" id="2_teunp"]
[ext_resource type="Script" path="res://scenes/quiz/assets/scripts/dialog.gd" id="2_yei7c"]
[ext_resource type="Script" path="res://scenes/quiz/assets/scripts/gabeSlide.gd" id="3_j3iw5"]
[ext_resource type="Texture2D" uid="uid://b0eqsc8687qvi" path="res://scenes/global/assets/img/spr_sho.webp" id="4_2ctld"]
[ext_resource type="Script" path="res://scenes/global/assets/scripts/fadetoblack.gd" id="4_asb44"]
[ext_resource type="Script" path="res://scenes/global/assets/scripts/shounicSlide.gd" id="5_073wf"]
[ext_resource type="AudioStream" uid="uid://dtd5bdeqy4m0r" path="res://scenes/global/assets/wav/snd_shounic_byte.wav" id="6_jccdi"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jkt8c"]
bg_color = Color(0.184314, 0.184314, 0.184314, 0.898039)
border_width_left = 5
border_width_right = 5
border_color = Color(0.184314, 0.184314, 0.184314, 0.898039)

[sub_resource type="Theme" id="Theme_1ajjm"]
Label/styles/normal = SubResource("StyleBoxFlat_jkt8c")

[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[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_1cyln")
expand_mode = 3
stretch_mode = 6

[node name="GabeN" type="TextureRect" 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 = -500.0
offset_top = -500.0
grow_horizontal = 0
grow_vertical = 0
texture = ExtResource("2_teunp")
expand_mode = 1
stretch_mode = 6
script = ExtResource("3_j3iw5")

[node name="Shounic" type="TextureRect" 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 = -500.0
offset_top = -500.0
grow_horizontal = 0
grow_vertical = 0
texture = ExtResource("4_2ctld")
expand_mode = 1
stretch_mode = 6
script = ExtResource("5_073wf")

[node name="FadeToBlack" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0, 0, 0, 1)
script = ExtResource("4_asb44")

[node name="Continue" type="Button" parent="."]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -60.0
grow_horizontal = 2
grow_vertical = 0
theme = ExtResource("2_1mnp5")
text = "Continue
"

[node name="YesNo" type="HFlowContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -60.0
grow_horizontal = 2
grow_vertical = 0

[node name="No" type="Button" parent="YesNo"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("2_1mnp5")
text = "No"

[node name="Yes" type="Button" parent="YesNo"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("2_1mnp5")
text = "Yes"

[node name="QuizAnswers" type="HFlowContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -60.0
grow_horizontal = 2
grow_vertical = 0

[node name="threeYears" type="Button" parent="QuizAnswers"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("2_1mnp5")
text = "Self Made Short Circuit"

[node name="fiveYears" type="Button" parent="QuizAnswers"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("2_1mnp5")
text = "Unusual Golden Frying Pan"

[node name="nineYears" type="Button" parent="QuizAnswers"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("2_1mnp5")
text = "Community Jarate"

[node name="DContainer" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -260.0
offset_bottom = -60.0
grow_horizontal = 2
grow_vertical = 0
color = Color(0.184314, 0.184314, 0.184314, 0.560784)

[node name="Dialog" type="RichTextLabel" parent="DContainer"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 25.0
offset_top = -175.0
offset_right = -52.0
offset_bottom = -25.0
grow_horizontal = 2
grow_vertical = 0
theme_override_colors/default_color = Color(1, 1, 1, 1)
theme_override_font_sizes/normal_font_size = 30
script = ExtResource("2_yei7c")

[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="DContainer/Dialog"]
stream = ExtResource("6_jccdi")

[node name="Label" type="Label" parent="DContainer"]
visible = false
layout_mode = 0
offset_top = -40.0
offset_right = 176.0
theme = SubResource("Theme_1ajjm")
theme_override_font_sizes/font_size = 29
text = "Placeholder"

[connection signal="pressed" from="Continue" to="DContainer/Dialog" method="_on_continue_pressed"]
[connection signal="pressed" from="YesNo/No" to="DContainer/Dialog" method="_on_no_pressed"]
[connection signal="pressed" from="YesNo/Yes" to="DContainer/Dialog" method="_on_yes_pressed"]
[connection signal="pressed" from="QuizAnswers/threeYears" to="DContainer/Dialog" method="_on_three_years_pressed"]
[connection signal="pressed" from="QuizAnswers/fiveYears" to="DContainer/Dialog" method="_on_five_years_pressed"]
[connection signal="pressed" from="QuizAnswers/nineYears" to="DContainer/Dialog" method="_on_nine_years_pressed"]
[connection signal="fadeToBlack" from="DContainer/Dialog" to="FadeToBlack" method="_on_dialog_fade_to_black"]
[connection signal="gabeExit" from="DContainer/Dialog" to="GabeN" method="_on_dialog_gabe_exit"]
[connection signal="gabeTrigger" from="DContainer/Dialog" to="GabeN" method="_on_dialog_gabe_trigger"]
[connection signal="shounicExit" from="DContainer/Dialog" to="Shounic" method="_on_dialog_shounic_exit"]
[connection signal="shounicTrigger" from="DContainer/Dialog" to="Shounic" method="_on_dialog_shounic_trigger"]
[connection signal="unfade" from="DContainer/Dialog" to="FadeToBlack" method="_on_dialog_unfade"]
