9 lines
153 B
GDScript
9 lines
153 B
GDScript
class_name ItemStack
|
|
|
|
var type:Item.Type;
|
|
var quantity:int;
|
|
|
|
func _init(type:Item.Type, quantity:int = 1):
|
|
self.type = type;
|
|
self.quantity = quantity;
|