khanat-client/ressources/scripts/items/equippable.gd
2020-03-29 13:29:57 +02:00

12 lines
273 B
GDScript

extends "res://ressources/scripts/items/item.gd"
class_name Equippable
var scene = ""
var attachment = ""
func from_dict( datas ):
.item( datas )
self.scene = datas.get( "scene", self.scene )
self.attachment = datas.get( "attachment", self.attachment )