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:
parent
91d1ba50fc
commit
32c9345bfb
2 changed files with 8 additions and 0 deletions
5
behaviours/edible.gd
Normal file
5
behaviours/edible.gd
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
extends Node
|
||||||
|
class_name Edible
|
||||||
|
|
||||||
|
|
||||||
|
@export var tag: StringName
|
3
behaviours/edible.tscn
Normal file
3
behaviours/edible.tscn
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[gd_scene format=3 uid="uid://dfdr3e32lohq"]
|
||||||
|
|
||||||
|
[node name="Edible" type="Node"]
|
Loading…
Reference in a new issue