Finished basic PickupableItem

This commit is contained in:
Alexey 2025-08-01 13:11:26 +03:00
commit 88c56f8aed
21 changed files with 163 additions and 35 deletions

View file

@ -9,5 +9,8 @@ func _ready() -> void:
texture = content.texture
func _interact(_player: Player) -> void:
if content._apply(_player):
content = content._apply(_player)
if content == null:
queue_free()
return
_ready()