Doing some more quest stuff
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
class_name Item
|
||||
|
||||
enum ItemType {
|
||||
enum Type {
|
||||
POTION,
|
||||
ONION
|
||||
};
|
||||
|
||||
enum ItemCategory {
|
||||
enum Category {
|
||||
MEDICINE,
|
||||
KEY_ITEM,
|
||||
INGREDIENT
|
||||
};
|
||||
|
||||
static func isStackable(itemType:ItemType) -> bool:
|
||||
static func isStackable(itemType:Type) -> bool:
|
||||
match itemType:
|
||||
_:
|
||||
return true
|
||||
|
Reference in New Issue
Block a user