class_name ItemStack var type:Item.Type; var quantity:int; func _init(type:Item.Type, quantity:int = 1): self.type = type; self.quantity = quantity;