1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-25 01:24:23 +00:00
hella-farm/behaviours/tracker_edible.tscn

14 lines
567 B
Text

[gd_scene load_steps=2 format=3 uid="uid://ctpn4hvkhxoi3"]
[ext_resource type="Script" path="res://behaviours/tracker_edible.gd" id="1_vmdw6"]
[node name="TrackerEdible" type="Area2D"]
collision_layer = 0
collision_mask = 56
monitorable = false
script = ExtResource("1_vmdw6")
[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"]