item can be stored, added poses to shelf

This commit is contained in:
Nikolai Fesenko
2025-08-20 13:38:48 +02:00
parent 88007d247a
commit b5d5d4a818
10 changed files with 72 additions and 10 deletions

View File

@@ -1,11 +1,15 @@
extends Item
@export var mesh: MeshInstance3D
func _init() -> void:
item_name = "food"
is_being_used = false
func _ready() -> void:
outline_material = mesh.get_surface_override_material(0).next_pass
set_outline_shader()
func use():
print("Object eaten")