class_name Ra extends "res://ressources/scripts/creatures/creature.gd" # Class for creature Ra with all param only use for Ra func _init( p_pseudonym = "Creature" ): ._init( p_pseudonym, "Ra" ) pass func from_dict( datas ): .from_dict( datas ) var new_inventory = Inventory.new() new_inventory.from_dict( datas.get( "inventory", [] ) ) self.inventory = new_inventory