broken_seals/game/scripts/items/ItemTemplateGD.gd
2019-11-20 14:19:41 +01:00

14 lines
363 B
GDScript

extends ItemTemplate
class_name ItemTemplateGD
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
func _create_item_instance():
var ii : ItemInstance = ItemInstance.new()
ii.item_template = self
return ii