[gd_scene load_steps=7 format=3 uid="uid://6aaxpvoepqrm"]

[ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://import/interface-elements/frame.png" id="1_wpq8h"]
[ext_resource type="Texture2D" uid="uid://bwicl5q0lw06q" path="res://import/interface-elements/bottom.png" id="2_bktn7"]
[ext_resource type="FontFile" uid="uid://cb66e4mqysgf8" path="res://import/fonts/title_handwriting.tres" id="2_rmsdo"]

[sub_resource type="GDScript" id="GDScript_nkjm2"]
script/source = "extends Panel

signal on_read

func _ready():
	$childhood/PanelContainer/VBoxContainer/Start.grab_focus()

func _on_start_pressed():
	emit_signal(\"on_read\")
	hide()
"

[sub_resource type="GDScript" id="GDScript_tb2ju"]
script/source = "extends Button


func _pressed():
    OS.shell_open(\"https://gitlab.com/betalars/frame-of-mind/-/wikis/home\")
"

[sub_resource type="GDScript" id="GDScript_m3ofj"]
script/source = "extends Button


func _pressed():
    OS.shell_open(\"https://gitlab.com/betalars/frame-of-mind/-/blob/main/design/contributions.md\")
"

[node name="Disclaimer" type="Panel"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = SubResource("GDScript_nkjm2")

[node name="childhood" type="CenterContainer" parent="."]
self_modulate = Color(1, 1, 1, 0.923078)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="PanelContainer" type="PanelContainer" parent="childhood"]
layout_mode = 2
mouse_filter = 1

[node name="StartFrame" type="TextureRect" parent="childhood/PanelContainer"]
custom_minimum_size = Vector2(0, 900)
layout_mode = 2
size_flags_vertical = 0
texture = ExtResource("1_wpq8h")
expand_mode = 2
stretch_mode = 4

[node name="Panel" type="PanelContainer" parent="childhood/PanelContainer/StartFrame"]
show_behind_parent = true
layout_mode = 2
offset_left = 199.0
offset_top = -112.0
offset_right = 1039.0
offset_bottom = 697.0
rotation = 0.459022
mouse_filter = 1

[node name="VBoxContainer" type="VBoxContainer" parent="childhood/PanelContainer"]
layout_mode = 2

[node name="Label" type="Label" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
theme_type_variation = &"HeaderLarge"
text = "Welcome to frame of mind development"

[node name="Label2" type="Label" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
text = "Thank you for being interested in our game. Here are some disclaimers.

Right now and acessibility settings and internationalisation do not fully work.
They will be worked on in the upcoming months.
You will also not be able to help Lisa find a better frame of mind, as the second chapter is not yet implemented. Please know that many disruptive thoughts Lisa has in the first chapter were designed to be resolved later in the game.
The game also does not support save games yet.

Frame of Mind uses a Creative Commons Non Commercial Share Alike 4.0 license. You can use the game and it's assets freely, as long as you also contribute back to the creative Commons Community. Feel free to reach out if you need a commercial License.
Twokinds is created by Thomas J. Fischbach, who granted us permission to use it in a Creative Commons Project."
autowrap_mode = 3
justification_flags = 131
visible_characters_behavior = 1

[node name="Start" type="Button" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_fonts/font = ExtResource("2_rmsdo")
theme_override_font_sizes/font_size = 50
text = "I understand, please start the alpha"

[node name="Label3" type="Label" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "The following links will take you to gilab.com"
horizontal_alignment = 1
autowrap_mode = 3
visible_characters_behavior = 1

[node name="Button3" type="Button" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "Show me the Wiki"
script = SubResource("GDScript_tb2ju")

[node name="Button2" type="Button" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "Show me Creative Commons Projects,
that are used by the game."
script = SubResource("GDScript_m3ofj")

[node name="StartBottom" type="TextureRect" parent="childhood/PanelContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 64)
layout_mode = 2
size_flags_vertical = 8
texture = ExtResource("2_bktn7")
expand_mode = 2
stretch_mode = 4

[connection signal="pressed" from="childhood/PanelContainer/VBoxContainer/Start" to="." method="_on_start_pressed"]
