immersive-home/app/content/system/house/room/room.tscn

67 lines
2.4 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=9 format=3 uid="uid://bswgmclohuqui"]
2023-12-20 02:54:22 +02:00
[ext_resource type="Script" path="res://content/system/house/room/room.gd" id="1_fccq0"]
[ext_resource type="Script" path="res://content/functions/clickable.gd" id="1_ugebq"]
[ext_resource type="Material" uid="uid://bbx6fv7jq50tr" path="res://content/system/house/room/wall.tres" id="3_w4vos"]
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"]
[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
[node name="Room" type="Node3D"]
script = ExtResource("1_fccq0")
2023-12-19 00:15:48 +02:00
[node name="Floor" type="StaticBody3D" parent="."]
collision_layer = 24
collision_mask = 0
2023-12-19 00:15:48 +02:00
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"]
shape = SubResource("WorldBoundaryShape3D_08sv0")
2023-12-19 00:15:48 +02:00
[node name="Clickable" type="Node" parent="Floor"]
script = ExtResource("1_ugebq")
[node name="WallMesh" type="MeshInstance3D" parent="."]
material_override = ExtResource("3_w4vos")
[node name="CeilingMesh" type="MeshInstance3D" parent="."]
material_override = ExtResource("3_w4vos")
2024-04-10 17:52:23 +03:00
[node name="WallCollision" type="StaticBody3D" parent="."]
collision_layer = 24
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallCollision"]
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="."]