13 lines
264 B
GDScript
13 lines
264 B
GDScript
class_name Potion extends "res://scripts/Items/Item.gd"
|
|
|
|
func getName() -> String:
|
|
return "Potion"
|
|
|
|
func getCategory() -> ItemCategory:
|
|
return ItemCategory.MEDICINE;
|
|
|
|
func isConsumable() -> bool:
|
|
return true;
|
|
|
|
func consume() -> void:
|
|
print("Consuming Potion"); |