[gd_scene load_steps=10 format=3 uid="uid://bipsmw4v7oegd"] [ext_resource type="Script" path="res://objects/chest.gd" id="1_1ny2o"] [ext_resource type="PackedScene" uid="uid://bpaw0o7c50ufp" path="res://assets/3rdparty/KayKit_DungeonRemastered_1.1_SOURCE/Assets/Chest.glb" id="3_alm75"] [ext_resource type="PackedScene" uid="uid://br6po50kfianv" path="res://objects/item_spawner.tscn" id="3_uswke"] [ext_resource type="AnimationLibrary" uid="uid://bubtqojiosc7e" path="res://assets/items/ChestAnimations.res" id="4_qlsk6"] [ext_resource type="PackedScene" uid="uid://dhpc2xvlfln7o" path="res://objects/actionable.tscn" id="5_a38x3"] [ext_resource type="Script" path="res://objects/open_actionable.gd" id="6_3yjfm"] [sub_resource type="BoxShape3D" id="BoxShape3D_tlg3p"] size = Vector3(0.431885, 0.357361, 0.377075) [sub_resource type="BoxShape3D" id="BoxShape3D_4etwi"] size = Vector3(0.5625, 0.483398, 0.5) [sub_resource type="SphereShape3D" id="SphereShape3D_w1i07"] [node name="Chest" type="StaticBody3D"] script = ExtResource("1_1ny2o") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0179443, 0.147614, -0.0165405) shape = SubResource("BoxShape3D_tlg3p") [node name="Hitbox" type="Area3D" parent="."] collision_layer = 0 collision_mask = 8 monitorable = false [node name="CollisionShape3D" type="CollisionShape3D" parent="Hitbox"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00961299, 0.244228, 0) shape = SubResource("BoxShape3D_4etwi") [node name="GrowTimer" type="Timer" parent="."] unique_name_in_owner = true wait_time = 2.08359 [node name="ItemSpawner" parent="." instance=ExtResource("3_uswke")] unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.337356) item = null spawn_chance = 1.0 [node name="Geometry" parent="." instance=ExtResource("3_alm75")] transform = Transform3D(0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0, 0) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] unique_name_in_owner = true active = false root_node = NodePath("../Geometry") libraries = { "ChestAnimations": ExtResource("4_qlsk6") } [node name="OpenActionable" parent="." instance=ExtResource("5_a38x3")] transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0) monitoring = false script = ExtResource("6_3yjfm") [node name="CollisionShape3D" type="CollisionShape3D" parent="OpenActionable"] shape = SubResource("SphereShape3D_w1i07")