1 2 3 4 5 6 7 8 9 10
class_name Item extends Node2D func _ready() -> void: $Sprite2D.modulate = Color(max(0.1, randf()), max(0.1, randf()), max(0.1, randf())) func apply(_player: Player): pass