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

[ext_resource type="Theme" uid="uid://bb70ndriofbgw" path="res://assets/main_theme.tres" id="1_dgjj4"]
[ext_resource type="Script" path="res://main.gd" id="2_nq2na"]
[ext_resource type="Shader" path="res://main.gdshader" id="3_47xry"]
[ext_resource type="Texture2D" uid="uid://bncu7afkocxyl" path="res://assets/textures/noise_texture.png" id="3_etk30"]
[ext_resource type="AudioStream" uid="uid://cgnhypgrdcfwo" path="res://assets/audio/sfx/computerNoise_001.ogg" id="4_6mppb"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_k1yq1"]
shader = ExtResource("3_47xry")

[node name="Main" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_dgjj4")
script = ExtResource("2_nq2na")

[node name="TextureRect" type="TextureRect" parent="."]
modulate = Color(1, 1, 1, 0.392157)
texture_repeat = 2
material = SubResource("ShaderMaterial_k1yq1")
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_etk30")

[node name="ScrollContainer" type="ScrollContainer" parent="."]
layout_mode = 0
offset_right = 1152.0
offset_bottom = 590.0

[node name="RichTextLabel" type="RichTextLabel" parent="ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Welcome to [NULL] Protocol v0.1...
> Initializing core system... [OK]
> Waking up consciousness module..."
scroll_following = true

[node name="LineEdit" type="LineEdit" parent="."]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -51.0
offset_bottom = -3.0
grow_horizontal = 2
grow_vertical = 0
placeholder_text = "> Enter command..."

[node name="SoundPlayer" type="AudioStreamPlayer" parent="."]

[node name="AmbiencePlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_6mppb")
volume_db = -20.0

[connection signal="text_changed" from="LineEdit" to="." method="_on_line_edit_text_changed"]
[connection signal="text_submitted" from="LineEdit" to="." method="_on_line_edit_text_submitted"]