[gd_scene load_steps=11 format=3 uid="uid://2wem3a0y4agb"] [ext_resource type="PackedScene" uid="uid://c37oos73shmdm" path="res://Objects/Meshes/safe.glb" id="1_1djbc"] [ext_resource type="Script" path="res://Scripts/Safe.gd" id="2_mnk2b"] [ext_resource type="AudioStream" uid="uid://mi8fox007pdr" path="res://Audio/button.wav" id="3_hu2uh"] [ext_resource type="AudioStream" uid="uid://c403ltk7lrae0" path="res://Audio/reset.wav" id="4_npf4a"] [ext_resource type="AudioStream" uid="uid://d0bincgxhycg" path="res://Audio/doosje.wav" id="4_qd12a"] [sub_resource type="BoxShape3D" id="BoxShape3D_aljli"] size = Vector3(2, 2, 2) [sub_resource type="SphereShape3D" id="SphereShape3D_md1id"] radius = 1.75 [sub_resource type="SphereShape3D" id="SphereShape3D_1tx7e"] radius = 1.75 [sub_resource type="SphereShape3D" id="SphereShape3D_f7rki"] radius = 1.75 [sub_resource type="SphereShape3D" id="SphereShape3D_h6ph4"] radius = 1.75 [node name="safe" instance=ExtResource("1_1djbc")] script = ExtResource("2_mnk2b") [node name="Button" type="AudioStreamPlayer" parent="." index="0"] stream = ExtResource("3_hu2uh") volume_db = -6.19 [node name="Open" type="AudioStreamPlayer" parent="." index="1"] stream = ExtResource("4_qd12a") [node name="Reset" type="AudioStreamPlayer" parent="." index="2"] stream = ExtResource("4_npf4a") volume_db = -6.19 [node name="StaticBody3D" type="StaticBody3D" parent="Box" index="0"] input_ray_pickable = false [node name="CollisionShape3D" type="CollisionShape3D" parent="Box/StaticBody3D" index="0"] shape = SubResource("BoxShape3D_aljli") [node name="Down" type="StaticBody3D" parent="Door/ButtonDown" index="0"] collision_layer = 2 [node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonDown/Down" index="0"] shape = SubResource("SphereShape3D_md1id") [node name="Left" type="StaticBody3D" parent="Door/ButtonLeft" index="0"] collision_layer = 2 [node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonLeft/Left" index="0"] shape = SubResource("SphereShape3D_1tx7e") [node name="Right" type="StaticBody3D" parent="Door/ButtonRight" index="0"] collision_layer = 2 [node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonRight/Right" index="0"] shape = SubResource("SphereShape3D_f7rki") [node name="Up" type="StaticBody3D" parent="Door/ButtonUp" index="0"] collision_layer = 2 [node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonUp/Up" index="0"] shape = SubResource("SphereShape3D_h6ph4") [connection signal="input_event" from="Door/ButtonDown/Down" to="." method="_on_down_input_event"] [connection signal="input_event" from="Door/ButtonLeft/Left" to="." method="_on_left_input_event"] [connection signal="input_event" from="Door/ButtonRight/Right" to="." method="_on_right_input_event"] [connection signal="input_event" from="Door/ButtonUp/Up" to="." method="_on_up_input_event"]