mirror of
https://port.numenaute.org/aleajactaest/khanat-client.git
synced 2024-12-22 01:18:44 +00:00
12 lines
285 B
GDScript
12 lines
285 B
GDScript
extends Node
|
|
class_name Item_old
|
|
|
|
var label = ""
|
|
var icon = null
|
|
|
|
func from_dict( datas ):
|
|
|
|
self.label = datas.get( "label", self.label )
|
|
# var icon_filename = datas.get( "icon", null )
|
|
# if icon_filename:
|
|
# self.icon = load( "res://assets/items/"+icon_filename )
|