Files
imnotsick/patient_room_1.tscn
T
2025-06-04 20:07:02 +02:00

94 lines
2.3 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://beybtmx1t3gy2"]
[ext_resource type="Texture2D" uid="uid://c3je4gir1qlot" path="res://Art/BlackScreen.png" id="1_8gyxv"]
[ext_resource type="Texture2D" uid="uid://c7vyp0s2ci7qf" path="res://Art/PatientRoom.jpg" id="2_qrcs6"]
[sub_resource type="GDScript" id="GDScript_ek6ji"]
script/source = "extends Control
signal leave_pressed
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_leave_pressed():
emit_signal(\"leave_pressed\")
print(\"Leaving Patient Room 1...\")
"
[node name="PatientRoom1" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = SubResource("GDScript_ek6ji")
[node name="Background" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="UpperBorder" type="TextureRect" parent="Background"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 0.25
texture = ExtResource("1_8gyxv")
expand_mode = 1
[node name="Background" type="TextureRect" parent="Background"]
layout_mode = 2
size_flags_vertical = 3
texture = ExtResource("2_qrcs6")
expand_mode = 1
[node name="LowerBorder" type="TextureRect" parent="Background"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 0.25
texture = ExtResource("1_8gyxv")
expand_mode = 1
[node name="Choices" type="GridContainer" parent="."]
layout_mode = 0
offset_left = 659.0
offset_top = 788.0
offset_right = 1288.0
offset_bottom = 893.0
columns = 3
[node name="Talk" type="Button" parent="Choices"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_font_sizes/font_size = 25
text = "Talk"
[node name="Observe" type="Button" parent="Choices"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_font_sizes/font_size = 25
text = "Observe
"
[node name="Leave" type="Button" parent="Choices"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_font_sizes/font_size = 25
text = "Leave"
[connection signal="pressed" from="Choices/Leave" to="." method="_on_leave_pressed"]