This commit is contained in:
2026-05-16 11:51:19 +02:00
commit 80c1b6a4e4
229 changed files with 5191 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
class_name ActionPickup
extends ClickAction
@export var item_id: String = ""
@export var destroy_path: NodePath
func execute(clickable: Node, hit_position: Vector3) -> void:
clickable.get_node(destroy_path).queue_free()
print("Picked up: " + item_id)