[gd_scene load_steps=7 format=3 uid="uid://c0b5w48jk67qd"] [ext_resource type="Script" uid="uid://c0uvlwmkm3r8o" path="res://scripts/game/game_screen.gd" id="1_uwrxv"] [ext_resource type="Script" uid="uid://dcqqr8b42tn0x" path="res://scripts/game/CommandProcessor.gd" id="2_lbhrr"] [ext_resource type="Texture2D" uid="uid://ccxs3ctob15es" path="res://gfx/ui/main_frame.png" id="2_lnu2h"] [ext_resource type="FontFile" uid="uid://1u28cjgctsn7" path="res://fonts/alagard_by_pix3m-d6awiwp.ttf" id="3_lbhrr"] [ext_resource type="Script" uid="uid://b63jt1uexm120" path="res://scripts/game/maps/MapContainer.gd" id="3_p57ef"] [ext_resource type="Script" uid="uid://dv3fd112uj8o1" path="res://scripts/ui/Message Console.gd" id="5_iywne"] [node name="Game" type="Node" node_paths=PackedStringArray("map")] script = ExtResource("1_uwrxv") map = NodePath("MapContainer") [node name="Command Processor" type="Timer" parent="."] wait_time = 3.0 autostart = true script = ExtResource("2_lbhrr") [node name="MapContainer" type="Node" parent="." node_paths=PackedStringArray("entities")] script = ExtResource("3_p57ef") entities = NodePath("Entities") [node name="Entities" type="Node" parent="MapContainer"] [node name="UI" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Background Frame" type="TextureRect" parent="UI"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("2_lnu2h") [node name="Left Display" type="MarginContainer" parent="UI"] layout_mode = 0 offset_left = 13.0 offset_top = 15.0 offset_right = 167.0 offset_bottom = 216.0 [node name="Background" type="ColorRect" parent="UI/Left Display"] layout_mode = 2 color = Color(0, 0, 0, 1) [node name="Contents" type="VBoxContainer" parent="UI/Left Display"] layout_mode = 2 [node name="Command Menu" type="VBoxContainer" parent="UI/Left Display/Contents"] layout_mode = 2 [node name="Pass Button" type="Button" parent="UI/Left Display/Contents/Command Menu"] layout_mode = 2 theme_override_fonts/font = ExtResource("3_lbhrr") text = "Pass" [node name="Message Console" type="MarginContainer" parent="UI" node_paths=PackedStringArray("scrollContainer", "messages")] layout_mode = 0 offset_left = 13.0 offset_top = 231.0 offset_right = 627.0 offset_bottom = 345.0 script = ExtResource("5_iywne") scrollContainer = NodePath("ScrollContainer") messages = NodePath("ScrollContainer/Messages") [node name="Background" type="ColorRect" parent="UI/Message Console"] layout_mode = 2 color = Color(0, 0, 0, 1) [node name="ScrollContainer" type="ScrollContainer" parent="UI/Message Console"] layout_mode = 2 horizontal_scroll_mode = 0 [node name="Messages" type="VBoxContainer" parent="UI/Message Console/ScrollContainer"] layout_mode = 2 size_flags_horizontal = 3 [connection signal="BROADCAST_COMMAND" from="Command Processor" to="UI/Message Console" method="_on_command"] [connection signal="timeout" from="Command Processor" to="Command Processor" method="_on_timeout"] [connection signal="pressed" from="UI/Left Display/Contents/Command Menu/Pass Button" to="." method="_on_pass_button_pressed"]