2024-04-15 22:20:21 +00:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://ctpn4hvkhxoi3"]
|
|
|
|
|
2024-04-16 23:10:03 +00:00
|
|
|
[ext_resource type="Script" path="res://behaviours/tracker_edible.gd" id="1_vmdw6"]
|
2024-04-15 22:20:21 +00:00
|
|
|
|
2024-04-16 23:10:03 +00:00
|
|
|
[node name="TrackerEdible" type="Area2D"]
|
2024-04-16 00:47:31 +00:00
|
|
|
collision_layer = 0
|
|
|
|
collision_mask = 56
|
|
|
|
monitorable = false
|
2024-04-16 23:10:03 +00:00
|
|
|
script = ExtResource("1_vmdw6")
|
2024-04-15 22:20:21 +00:00
|
|
|
|
2024-04-16 00:47:31 +00:00
|
|
|
[connection signal="body_entered" from="." to="." method="check_diet_then_track"]
|
|
|
|
[connection signal="body_exited" from="." to="." method="untrack"]
|
|
|
|
[connection signal="tracked" from="." to="." method="log_tracked"]
|
|
|
|
[connection signal="untracked" from="." to="." method="log_untracked"]
|