[gd_scene load_steps=8 format=3 uid="uid://bil6eip7uwqvs"] [ext_resource type="Script" uid="uid://evb48gqf08js" path="res://map/tiles/oven_model.gd" id="1_3v43w"] [ext_resource type="ArrayMesh" uid="uid://blc1q50d5ky86" path="res://map/tiles/oven_base.res" id="1_d1hwl"] [ext_resource type="ArrayMesh" uid="uid://blb5oew3sh7ek" path="res://map/tiles/oven_door.res" id="2_i5vso"] [ext_resource type="Script" uid="uid://de61uqoinwcyk" path="res://map/auto_setup/light_setup.gd" id="4_hjc80"] [sub_resource type="Animation" id="Animation_yo2v1"] length = 0.001 tracks/0/type = "rotation_3d" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Base/Door") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = PackedFloat32Array(0, 1, 0, 0, 0, 1) [sub_resource type="Animation" id="Animation_yb3ht"] resource_name = "open" length = 0.5 tracks/0/type = "rotation_3d" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Base/Door") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = PackedFloat32Array(0, 1, 0, 0, 0, 1, 0.1, 1, 0.766044, 0, 0, 0.642788, 0.2, 1, 0.707107, 0, 0, 0.707107, 0.4, 1, 0, 0, 0, 1) tracks/1/type = "scale_3d" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("Base/Door") tracks/1/interp = 2 tracks/1/loop_wrap = true tracks/1/keys = PackedFloat32Array(0, 1, 1, 1, 1, 0.1, 1, 1, 1, 1, 0.2, 1, 1, 1, 1, 0.4, 1, 1, 1, 1) [sub_resource type="AnimationLibrary" id="AnimationLibrary_io5nw"] _data = { &"RESET": SubResource("Animation_yo2v1"), &"open": SubResource("Animation_yb3ht") } [node name="Oven" type="Node3D"] script = ExtResource("1_3v43w") [node name="Base" type="MeshInstance3D" parent="."] transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0) mesh = ExtResource("1_d1hwl") skeleton = NodePath("") [node name="Door" type="MeshInstance3D" parent="Base"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.25, 0.43, 0.9) mesh = ExtResource("2_i5vso") skeleton = NodePath("") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_io5nw") } [node name="OmniLight3D" type="OmniLight3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.7, 0) visible = false light_color = Color(0.944743, 0.70243, 0.38641, 1) light_energy = 2.0 shadow_enabled = true omni_range = 3.0 script = ExtResource("4_hjc80") completely_disable_light_if_shadows_disabled = true [connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_animation_player_animation_finished"]