breadwinner/classes/equippable_item.gd
Hellie-xd 0a764354ba did a shitton of refactoring.
still has bugs, but almost works like the original, but has much better
structure. still might have to change around a bit, but closing in to
the final form.
2026-08-09 03:24:28 +02:00

9 lines
208 B
GDScript

class_name EquippableItem extends RigidBody3D
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