[gd_scene load_steps=6 format=3 uid="uid://c4s6y758n77lw"] [ext_resource type="PackedScene" uid="uid://dmtmign72vtlm" path="res://slime_shared.tscn" id="1_qm1jp"] [ext_resource type="Script" path="res://Villager.gd" id="2_uf6mh"] [ext_resource type="AudioStream" uid="uid://djbuw33cr12i" path="res://Sounds/happyslime.ogg" id="3_v720k"] [sub_resource type="SphereShape3D" id="SphereShape3D_k5rhc"] radius = 0.055 [sub_resource type="SphereShape3D" id="SphereShape3D_wx128"] radius = 0.1 [node name="villager" instance=ExtResource("1_qm1jp")] script = ExtResource("2_uf6mh") [node name="CollisionDetection" type="Area3D" parent="." index="2"] [node name="slime_collision" type="CollisionShape3D" parent="CollisionDetection" index="0"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0408143, 0) shape = SubResource("SphereShape3D_k5rhc") [node name="Area3D" type="Area3D" parent="." index="3"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" index="0"] shape = SubResource("SphereShape3D_wx128") [node name="SoundTimer" type="Timer" parent="." index="5"] wait_time = 45.0 [node name="happyslime" type="AudioStreamPlayer3D" parent="." index="6"] stream = ExtResource("3_v720k") volume_db = -15.0 [connection signal="body_entered" from="Area3D" to="." method="_on_area_3d_body_entered"] [connection signal="timeout" from="SoundTimer" to="." method="_on_sound_timer_timeout"]