[gd_scene load_steps=12 format=2] [ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=1] [ext_resource path="res://Game.gd" type="Script" id=2] [ext_resource path="res://assets/base_dynamicfont.tres" type="DynamicFont" id=3] [ext_resource path="res://CommandProcessor.gd" type="Script" id=4] [ext_resource path="res://Locale.tscn" type="PackedScene" id=5] [ext_resource path="res://LocaleManager.gd" type="Script" id=6] [ext_resource path="res://But_History.gd" type="Script" id=7] [ext_resource path="res://But_History_Page.gd" type="Script" id=8] [sub_resource type="StyleBoxFlat" id=1] bg_color = Color( 0.117647, 0.117647, 0.117647, 1 ) [sub_resource type="StyleBoxFlat" id=2] bg_color = Color( 0.243137, 0.235294, 0.235294, 1 ) [sub_resource type="StyleBoxFlat" id=3] bg_color = Color( 0.286275, 0.286275, 0.286275, 1 ) [node name="Game" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 script = ExtResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="CommandProcessor" type="Node" parent="."] script = ExtResource( 4 ) [node name="LocaleManager" type="Node" parent="."] script = ExtResource( 6 ) [node name="Loc_Boat" parent="LocaleManager" instance=ExtResource( 5 )] margin_left = 41.38 margin_top = -513.913 margin_right = 291.381 margin_bottom = -313.913 locale_name = "a boat" locale_description = "You have been shipwrecked." option1 = "Go: east off the boat" option2 = "Examine: this boat" option3 = "Wait: a while" [node name="Loc_Shore" parent="LocaleManager" instance=ExtResource( 5 )] margin_left = 509.38 margin_top = -512.913 margin_right = 759.381 margin_bottom = -312.913 locale_name = "the beach outside the wrecked ship" locale_description = "You are standing on a white sand beach beside the crashing waves. You can go west, back onto the boat, or go north into the woods." option1 = "Go: west to boat" option2 = "Go: north to woods" option3 = "Talk: to yourself" [node name="Loc_WoodsA1" parent="LocaleManager" instance=ExtResource( 5 )] margin_left = 510.439 margin_top = -806.384 margin_right = 760.44 margin_bottom = -606.384 locale_name = "the island woods" locale_description = "These woods get thick!" option1 = "Go: south back to the beach" option2 = "Go: north deeper in" option3 = "Scream: for help" [node name="Loc_WoodsA2" parent="LocaleManager" instance=ExtResource( 5 )] margin_left = 509.439 margin_top = -1083.38 margin_right = 759.44 margin_bottom = -883.384 locale_name = "deeper into the woods" locale_description = "The woods are very thick. You feel like someone -- or something, may be watching you." option1 = "Go: south back in the direction of the beach" option2 = "Go: east into the thicket" option3 = "Examine: the woods" [node name="Loc_WoodsA3" parent="LocaleManager" instance=ExtResource( 5 )] margin_left = 882.439 margin_top = -1084.38 margin_right = 1132.44 margin_bottom = -884.38 locale_name = "a clearing" locale_description = "There is a clearing here in the woods. You hear strange sounds, and musics. Something skitters north into the woods" option1 = "Go: north after the creature" option2 = "Go: west back into the thicket" option3 = "Listen: to the sounds" [node name="Loc_WoodsA4" parent="LocaleManager" instance=ExtResource( 5 )] margin_left = 878.439 margin_top = -1361.38 margin_right = 1128.44 margin_bottom = -1161.38 locale_name = "a cliff top" locale_description = "The strange animal darts through and vanishes in front of you. There is a serious drop off here, plunging a long ways to rocks below. A figure moves along the rocks, moaning and cursing, grumpily." option1 = "Go: south back to the clearing " option2 = "Talk: to the grumpy figure" option3 = "Examine: the grumpy figure" [node name="Background" type="PanelContainer" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 custom_styles/panel = SubResource( 1 ) __meta__ = { "_edit_use_anchors_": false } [node name="MarginContainer" type="MarginContainer" parent="Background"] margin_right = 1024.0 margin_bottom = 600.0 custom_constants/margin_right = 20 custom_constants/margin_top = 10 custom_constants/margin_left = 20 custom_constants/margin_bottom = 20 [node name="Rows" type="VBoxContainer" parent="Background/MarginContainer"] margin_left = 20.0 margin_top = 10.0 margin_right = 1004.0 margin_bottom = 580.0 custom_constants/separation = 10 [node name="ItemList" type="ItemList" parent="Background/MarginContainer/Rows"] margin_right = 984.0 margin_bottom = 40.0 rect_min_size = Vector2( 0, 40 ) [node name="But_ChangeScene" parent="Background/MarginContainer/Rows/ItemList" instance=ExtResource( 1 )] margin_right = 82.0 margin_bottom = 30.0 text = "Menu" next_scene_path = "res://Screens/MenuScreen.tscn" [node name="But_History" type="Button" parent="Background/MarginContainer/Rows/ItemList"] margin_left = 96.0 margin_right = 167.0 margin_bottom = 33.0 text = "Toggle History" script = ExtResource( 7 ) __meta__ = { "_edit_use_anchors_": false } [node name="But_History_Page" type="Button" parent="Background/MarginContainer/Rows/ItemList"] anchor_left = 1.0 anchor_right = 1.0 margin_left = -103.0 margin_bottom = 33.0 text = "Next Page" script = ExtResource( 8 ) __meta__ = { "_edit_use_anchors_": false } [node name="GameInfo" type="PanelContainer" parent="Background/MarginContainer/Rows"] margin_top = 50.0 margin_right = 984.0 margin_bottom = 418.0 size_flags_vertical = 3 custom_styles/panel = SubResource( 2 ) [node name="CurrentText" type="VBoxContainer" parent="Background/MarginContainer/Rows/GameInfo"] margin_right = 984.0 margin_bottom = 368.0 size_flags_horizontal = 3 size_flags_vertical = 3 custom_constants/separation = 20 [node name="HistoryRows" type="VBoxContainer" parent="Background/MarginContainer/Rows/GameInfo"] margin_right = 984.0 margin_bottom = 368.0 size_flags_horizontal = 3 size_flags_vertical = 3 custom_constants/separation = 20 [node name="InputArea" type="PanelContainer" parent="Background/MarginContainer/Rows"] margin_top = 428.0 margin_right = 984.0 margin_bottom = 570.0 rect_min_size = Vector2( 0, 120 ) custom_styles/panel = SubResource( 3 ) [node name="VBoxContainer" type="VBoxContainer" parent="Background/MarginContainer/Rows/InputArea"] margin_right = 984.0 margin_bottom = 142.0 custom_constants/separation = 5 [node name="option1" type="Button" parent="Background/MarginContainer/Rows/InputArea/VBoxContainer"] margin_right = 984.0 margin_bottom = 44.0 custom_fonts/font = ExtResource( 3 ) text = "Option 1" align = 0 [node name="option2" type="Button" parent="Background/MarginContainer/Rows/InputArea/VBoxContainer"] margin_top = 49.0 margin_right = 984.0 margin_bottom = 93.0 custom_fonts/font = ExtResource( 3 ) text = "Option 2" align = 0 [node name="option3" type="Button" parent="Background/MarginContainer/Rows/InputArea/VBoxContainer"] margin_top = 98.0 margin_right = 984.0 margin_bottom = 142.0 custom_fonts/font = ExtResource( 3 ) text = "Option 3" align = 0 [connection signal="button_up" from="Background/MarginContainer/Rows/ItemList/But_History" to="Background/MarginContainer/Rows/ItemList/But_History" method="_on_But_History_button_up"] [connection signal="button_up" from="Background/MarginContainer/Rows/ItemList/But_History_Page" to="Background/MarginContainer/Rows/ItemList/But_History_Page" method="_on_But_History_Page_button_up"] [connection signal="button_down" from="Background/MarginContainer/Rows/InputArea/VBoxContainer/option1" to="." method="_on_option1_button_down"] [connection signal="button_down" from="Background/MarginContainer/Rows/InputArea/VBoxContainer/option2" to="." method="_on_option2_button_down"] [connection signal="button_down" from="Background/MarginContainer/Rows/InputArea/VBoxContainer/option3" to="." method="_on_option3_button_down"]