The_Dark_Side_of_Earth/items/active_item.gd

15 lines
219 B
GDScript3
Raw Normal View History

class_name ActiveItem extends Item
2025-09-17 15:59:14 +02:00
@export var sprite : Texture2D
func collect() -> bool:
if (player.active_item == null):
player.active_item = self
return true
return false
2025-09-17 15:59:14 +02:00
func activate():
assert(false)