xrjamfeb2025/assets/target_love_potion.tscn

26 lines
1.1 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://5yw5sbkwj0qk"]
[ext_resource type="Script" path="res://scenes/target.gd" id="1_kdcb3"]
[ext_resource type="AudioStream" uid="uid://dnwh2iqwi86ku" path="res://assets/Sounds/04 bass.ogg" id="2_xtxs5"]
[ext_resource type="PackedScene" uid="uid://cp2i64bioqppu" path="res://assets/love_potion.tscn" id="3_l1kad"]
[ext_resource type="Script" path="res://assets/love_potion_target.gd" id="4_6owuw"]
[sub_resource type="BoxShape3D" id="BoxShape3D_2pv4i"]
size = Vector3(0.8, 0.8, 0.8)
[node name="Target1" type="StaticBody3D" groups=["targets"]]
script = ExtResource("1_kdcb3")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_2pv4i")
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource("2_xtxs5")
volume_db = -80.0
autoplay = true
[node name="Love Potion" parent="." instance=ExtResource("3_l1kad")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.330896, 0)
script = ExtResource("4_6owuw")
[connection signal="occupancy_changed" from="." to="Love Potion" method="_on_target_1_occupancy_changed"]