2024-04-05 20:29:18 +03:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://bswgmclohuqui"]
|
2023-12-09 22:45:18 +02:00
|
|
|
|
2023-12-20 02:54:22 +02:00
|
|
|
[ext_resource type="Script" path="res://content/system/house/room/room.gd" id="1_fccq0"]
|
2023-12-09 22:45:18 +02:00
|
|
|
[ext_resource type="Script" path="res://content/functions/clickable.gd" id="1_ugebq"]
|
2023-12-19 00:15:48 +02:00
|
|
|
[ext_resource type="Script" path="res://lib/utils/state_machine/state_machine.gd" id="4_nbbo6"]
|
2023-12-20 02:54:22 +02:00
|
|
|
[ext_resource type="Script" path="res://content/system/house/room/states/view.gd" id="6_g066t"]
|
|
|
|
[ext_resource type="Script" path="res://content/system/house/room/states/edit.gd" id="7_ap14h"]
|
2023-12-09 22:45:18 +02:00
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_08sv0"]
|
|
|
|
|
2023-12-11 16:24:10 +02:00
|
|
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_ap613"]
|
2023-12-19 00:15:48 +02:00
|
|
|
plane = Plane(0, -1, 0, 0)
|
2023-12-11 16:24:10 +02:00
|
|
|
|
2023-12-09 22:45:18 +02:00
|
|
|
[node name="Room" type="Node3D"]
|
|
|
|
script = ExtResource("1_fccq0")
|
|
|
|
|
2023-12-19 00:15:48 +02:00
|
|
|
[node name="Floor" type="StaticBody3D" parent="."]
|
2023-12-09 22:45:18 +02:00
|
|
|
collision_layer = 24
|
|
|
|
collision_mask = 0
|
|
|
|
|
2023-12-19 00:15:48 +02:00
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"]
|
2023-12-09 22:45:18 +02:00
|
|
|
shape = SubResource("WorldBoundaryShape3D_08sv0")
|
|
|
|
|
2023-12-19 00:15:48 +02:00
|
|
|
[node name="Clickable" type="Node" parent="Floor"]
|
2023-12-09 22:45:18 +02:00
|
|
|
script = ExtResource("1_ugebq")
|
|
|
|
|
|
|
|
[node name="WallMesh" type="MeshInstance3D" parent="."]
|
|
|
|
|
2023-12-20 23:19:43 +02:00
|
|
|
[node name="CeilingMesh" type="MeshInstance3D" parent="."]
|
|
|
|
|
2023-12-09 22:45:18 +02:00
|
|
|
[node name="WallCollisions" type="Node3D" parent="."]
|
2023-12-11 16:24:10 +02:00
|
|
|
|
2023-12-19 00:15:48 +02:00
|
|
|
[node name="Ceiling" type="StaticBody3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
|
|
|
|
collision_layer = 24
|
2023-12-11 16:24:10 +02:00
|
|
|
collision_mask = 0
|
|
|
|
|
2023-12-19 00:15:48 +02:00
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ceiling"]
|
2023-12-11 16:24:10 +02:00
|
|
|
shape = SubResource("WorldBoundaryShape3D_ap613")
|
2023-12-19 00:15:48 +02:00
|
|
|
disabled = true
|
|
|
|
|
|
|
|
[node name="Clickable" type="Node" parent="Ceiling"]
|
|
|
|
script = ExtResource("1_ugebq")
|
|
|
|
|
|
|
|
[node name="WallCorners" type="Node3D" parent="Ceiling"]
|
|
|
|
|
|
|
|
[node name="WallEdges" type="Node3D" parent="Ceiling"]
|
|
|
|
|
|
|
|
[node name="StateMachine" type="Node" parent="." node_paths=PackedStringArray("current_state")]
|
|
|
|
script = ExtResource("4_nbbo6")
|
|
|
|
current_state = NodePath("View")
|
|
|
|
|
|
|
|
[node name="View" type="Node" parent="StateMachine"]
|
|
|
|
script = ExtResource("6_g066t")
|
|
|
|
|
|
|
|
[node name="Edit" type="Node" parent="StateMachine"]
|
|
|
|
script = ExtResource("7_ap14h")
|
2024-01-16 16:00:30 +02:00
|
|
|
|
2024-01-25 17:29:33 +02:00
|
|
|
[node name="Entities" type="Node3D" parent="."]
|