[gd_scene format=3 uid="uid://cwwsolupah1s3"] [ext_resource type="PackedScene" uid="uid://cpog4xqme7wqj" path="res://Scenes/Player.tscn" id="1_pbw6q"] [ext_resource type="PackedScene" uid="uid://hmpweoahtner" path="res://Scenes/Door.tscn" id="2_v1gob"] [ext_resource type="PackedScene" uid="uid://dgre5brxnbps0" path="res://Scenes/MedievalDoor.tscn" id="3_jw32o"] [ext_resource type="Script" uid="uid://cvg1f1wtahy0t" path="res://TestScripts/BlockMover.gd" id="4_50glp"] [ext_resource type="PackedScene" uid="uid://cfheqck1xs2bs" path="res://Scenes/SimpleButton.tscn" id="5_vy5pj"] [ext_resource type="PackedScene" uid="uid://b0fqh430x23kp" path="res://Scenes/SimpleLever.tscn" id="6_v1gob"] [ext_resource type="PackedScene" uid="uid://cjqsmugd22cdh" path="res://Scenes/SimplePickupable.tscn" id="7_jw32o"] [ext_resource type="PackedScene" uid="uid://cyn6cmirqiiya" path="res://Scenes/SpatialAudioPlayer.tscn" id="8_bmxlf"] [ext_resource type="AudioStream" uid="uid://dkc00xclmtkbo" path="res://Scenes/Buy Something!.mp3" id="8_vy5pj"] [ext_resource type="PackedScene" uid="uid://dknge5384ijcx" path="res://Scenes/SimpleKey.tscn" id="10_bmxlf"] [sub_resource type="BoxMesh" id="BoxMesh_1blfk"] size = Vector3(50, 0.1, 50) [sub_resource type="BoxShape3D" id="BoxShape3D_va8t4"] size = Vector3(50, 0.1, 50) [sub_resource type="Environment" id="Environment_1blfk"] [sub_resource type="BoxMesh" id="BoxMesh_fos0i"] [node name="Main" type="Node3D" unique_id=856459222] [node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=268564877] collision_layer = 17 [node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D" unique_id=427946866] layers = 17 mesh = SubResource("BoxMesh_1blfk") [node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=2109163521] shape = SubResource("BoxShape3D_va8t4") [node name="Player" parent="." unique_id=1270645855 instance=ExtResource("1_pbw6q")] [node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1880837933] environment = SubResource("Environment_1blfk") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=2091686084] transform = Transform3D(1, 0, 0, 0, 0.326888, 0.9450631, 0, -0.9450631, 0.326888, 0, 28.631863, 43.110176) [node name="Door" parent="." unique_id=2086051002 instance=ExtResource("2_v1gob")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5746174, 0.05000019, -7.507909) snapAngleThreshold = 0.5 snapVelocityThreshold = 5.0 [node name="MedievalDoor" parent="." unique_id=1143822269 instance=ExtResource("3_jw32o")] transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 7.1977696, -0.02157104, -1.6521502) [node name="Block" type="Node3D" parent="." unique_id=1216126902] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.362265, 2.041253, 0) script = ExtResource("4_50glp") [node name="MeshInstance3D" type="MeshInstance3D" parent="Block" unique_id=492958743] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.53257275, 0) layers = 16385 mesh = SubResource("BoxMesh_fos0i") [node name="SimplePressButton" parent="." unique_id=1810741910 instance=ExtResource("5_vy5pj")] transform = Transform3D(0.5576158, 0, 0.83009917, 0, 1, 0, -0.83009917, 0, 0.5576158, -5.3408794, 1.7139747, -1.4288577) [node name="SimpleHoldButton" parent="." unique_id=506197337 instance=ExtResource("5_vy5pj")] transform = Transform3D(-0.10736252, 0, 0.99421996, 0, 1, 0, -0.99421996, 0, -0.10736252, -6.9503546, 1.7799978, 2.37957) holdMode = true [node name="SimpleLever" parent="." unique_id=2031608942 instance=ExtResource("6_v1gob")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5557852, 1.6475947, -1.1587057) angleOff = 45.0 [node name="SimplePickupable" parent="." unique_id=650555678 instance=ExtResource("7_jw32o")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.011193, 10.622059) [node name="SimplePickupable2" parent="." unique_id=2110903933 instance=ExtResource("7_jw32o")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.798231, 3.3262725, 10.622059) [node name="SimplePickupable3" parent="." unique_id=2062232606 instance=ExtResource("7_jw32o")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.9931345, 3.3262725, 10.622059) bodyMass = 50.0 [node name="CSGBox3D" type="CSGBox3D" parent="." unique_id=475794547] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.204157, 2.9997559, -20.283545) layers = 17 size = Vector3(0.5214844, 6.9995117, 7.3129883) [node name="CSGBox3D4" type="CSGBox3D" parent="." unique_id=963438638] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.204157, 2.9997559, -11.079284) layers = 17 size = Vector3(0.5214844, 6.9995117, 7.3129883) [node name="CSGBox3D5" type="CSGBox3D" parent="." unique_id=82836301] transform = Transform3D(0.5832621, 0, -0.81228405, 0, 1, 0, 0.81228405, 0, 0.5832621, 13.224218, 2.9997559, -5.482582) layers = 17 size = Vector3(0.5214844, 6.9995117, 7.3129883) [node name="CSGBox3D2" type="CSGBox3D" parent="." unique_id=1489453991] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.8968315, 2.9997559, -13.600012) layers = 17 size = Vector3(0.5214844, 6.9995117, 20.680054) [node name="CSGBox3D6" type="CSGBox3D" parent="." unique_id=166399348] transform = Transform3D(-0.013710948, 0.999906, 0, -0.999906, -0.013710948, 0, 0, 0, 1, 13.479281, 6.294318, -13.600012) layers = 17 size = Vector3(0.5214844, 6.9995117, 20.680054) [node name="CSGBox3D3" type="CSGBox3D" parent="." unique_id=2101564635] transform = Transform3D(0.03308868, 0, -0.9994524, 0, 1, 0, 0.9994524, 0, 0.03308868, 13.939653, 2.9997559, -23.496096) layers = 17 size = Vector3(0.5214844, 6.9995117, 7.3129883) [node name="SpatialAudioPlayer" parent="." unique_id=708850804 instance=ExtResource("8_bmxlf")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 13.358648, 2.9025939, -13.239832) stream = ExtResource("8_vy5pj") volume_db = -35.0 maxRaycastDistance = 10.0 [node name="SimplePickupable4" parent="." unique_id=1419866814 instance=ExtResource("10_bmxlf")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0351448, 3.2192059) bodyMass = 5.0 [connection signal="pressed" from="SimplePressButton" to="Block" method="toggleMove"] [connection signal="held" from="SimpleHoldButton" to="Block" method="holdMove"] [connection signal="released" from="SimpleHoldButton" to="Block" method="releaseMove"]