onion test 0
This commit is contained in:
13
scripts/Item/Ingredient/Onion.gd
Normal file
13
scripts/Item/Ingredient/Onion.gd
Normal file
@@ -0,0 +1,13 @@
|
||||
class_name Onion extends "res://scripts/Item/Item.gd"
|
||||
|
||||
func getName() -> String:
|
||||
return "Onion"
|
||||
|
||||
func getCategory() -> ItemCategory:
|
||||
return ItemCategory.MEDICINE;
|
||||
|
||||
func isConsumable() -> bool:
|
||||
return true;
|
||||
|
||||
func consume() -> void:
|
||||
print("Consuming Potion");
|
1
scripts/Item/Ingredient/Onion.gd.uid
Normal file
1
scripts/Item/Ingredient/Onion.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bmfaw3kid1pqx
|
Reference in New Issue
Block a user