khanat-client/ressources/scripts/items/item.gd

10 lines
127 B
GDScript3
Raw Normal View History

extends Node
class_name Item
var label = ""
func from_dict( datas ):
self.label = datas.get( "label", self.label )