mirror of
https://port.numenaute.org/aleajactaest/khanat-client.git
synced 2024-11-10 01:10:05 +00:00
12 lines
280 B
GDScript
12 lines
280 B
GDScript
extends "res://ressources/scripts/creatures/creature.gd"
|
|
class_name Ra
|
|
|
|
var inventory = null
|
|
|
|
|
|
|
|
func from_dict( datas ):
|
|
.from_dict( datas )
|
|
var new_inventory = Inventory.new()
|
|
new_inventory.from_dict( datas.get( "inventory", [] ) )
|
|
self.inventory = new_inventory
|