Finished basic PickupableItem
This commit is contained in:
parent
63e87e86d5
commit
88c56f8aed
21 changed files with 163 additions and 35 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue