summaryrefslogtreecommitdiff
path: root/Scenes/Game.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Scenes/Game.tscn')
-rw-r--r--Scenes/Game.tscn35
1 files changed, 22 insertions, 13 deletions
diff --git a/Scenes/Game.tscn b/Scenes/Game.tscn
index c5c22e0..772fed0 100644
--- a/Scenes/Game.tscn
+++ b/Scenes/Game.tscn
@@ -1,4 +1,6 @@
-[gd_scene format=2]
+[gd_scene load_steps=2 format=2]
+
+[ext_resource path="res://Scripts/Game/StatusLine.cs" type="Script" id=1]
[node name="Game" type="VBoxContainer"]
anchor_right = 1.0
@@ -7,48 +9,53 @@ custom_constants/separation = 0
[node name="StatusLine" type="PanelContainer" parent="."]
margin_right = 640.0
-margin_bottom = 29.0
+margin_bottom = 31.0
theme_type_variation = "InvertedPanelContainer"
+script = ExtResource( 1 )
+Title = "Adventure Title"
[node name="Container" type="HBoxContainer" parent="StatusLine"]
margin_left = 8.0
margin_top = 2.0
margin_right = 632.0
-margin_bottom = 27.0
+margin_bottom = 29.0
size_flags_horizontal = 3
-[node name="Title" type="Label" parent="StatusLine/Container"]
+[node name="TitleLabel" type="RichTextLabel" parent="StatusLine/Container"]
+unique_name_in_owner = true
margin_right = 624.0
-margin_bottom = 25.0
+margin_bottom = 27.0
size_flags_horizontal = 3
size_flags_vertical = 6
-theme_type_variation = "InvertedLabel"
-text = "Adventure Title"
-max_lines_visible = 1
+theme_type_variation = "InvertedRichTextLabel"
+bbcode_enabled = true
+fit_content_height = true
+scroll_active = false
[node name="Output" type="PanelContainer" parent="."]
-margin_top = 29.0
+margin_top = 31.0
margin_right = 640.0
margin_bottom = 451.0
size_flags_horizontal = 3
size_flags_vertical = 3
-[node name="Container" type="ScrollContainer" parent="Output"]
+[node name="ScrollContainer" type="ScrollContainer" parent="Output"]
margin_left = 8.0
margin_top = 2.0
margin_right = 632.0
-margin_bottom = 420.0
+margin_bottom = 418.0
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 3
scroll_horizontal_enabled = false
-[node name="Lines" type="VBoxContainer" parent="Output/Container"]
+[node name="LineContainer" type="VBoxContainer" parent="Output/ScrollContainer"]
+unique_name_in_owner = true
margin_right = 624.0
margin_bottom = 27.0
size_flags_horizontal = 3
-[node name="RichTextLabel" type="RichTextLabel" parent="Output/Container/Lines"]
+[node name="RichTextLabel" type="RichTextLabel" parent="Output/ScrollContainer/LineContainer"]
margin_right = 624.0
margin_bottom = 27.0
text = "This is where the output goes"
@@ -68,12 +75,14 @@ margin_right = 632.0
margin_bottom = 27.0
[node name="Prompt" type="Label" parent="Input/Container"]
+unique_name_in_owner = true
margin_right = 20.0
margin_bottom = 25.0
theme_type_variation = "InvertedLabel"
text = "?>"
[node name="Text" type="LineEdit" parent="Input/Container"]
+unique_name_in_owner = true
margin_left = 28.0
margin_right = 624.0
margin_bottom = 25.0