1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-25 17:44:24 +00:00

Create marker scene Edible to allow an entity to detect what other entities it can eat

This commit is contained in:
Steffo 2024-04-13 23:43:19 +02:00
parent 91d1ba50fc
commit 32c9345bfb
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 8 additions and 0 deletions

5
behaviours/edible.gd Normal file
View file

@ -0,0 +1,5 @@
extends Node
class_name Edible
@export var tag: StringName

3
behaviours/edible.tscn Normal file
View file

@ -0,0 +1,3 @@
[gd_scene format=3 uid="uid://dfdr3e32lohq"]
[node name="Edible" type="Node"]