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

14 lines
567 B
Text

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