@icon("res://addons/at-icons/node3d/hand.svg") class_name EquippableItem extends RigidBody3D # The @export_file tag creates a folder icon in the Inspector # that only lets you select saved .tscn files! @export_file("*.tscn") var scene_path: String @export var mesh: MeshInstance3D @export var collision: CollisionShape3D var weight: float = 10.0 func _ready() -> void: self.add_to_group("equippable") for x in get_children(): x.add_to_group("equippable") collision_layer = 17