def initialise_level_generators(self, context):
        config = new_dungeon()
 
        configurators = self.get_configurators(context.config_package,
                                               'init_level')

        for configurator in configurators:
            for level in configurator(self.rng,
                                      self.item_generator,
                                      self.creature_generator,
                                      self.level_size,
                                      context):
                merge_level(config, level)

        gfx_configurators = self.get_configurators(context.config_package, 
                                                   'init_graphics')
        for item in gfx_configurators:
            item(context)

        portal_config = []
        for key in config.keys():
            portal_config.extend(list(portals(config, key)))

        portal_adder_factory = PortalAdderFactory(
            portal_config,
            self.rng)

        self.level_generator_factory = LevelGeneratorFactory(
            portal_adder_factory,
            self.trap_generator,
            config,
            self.rng)
Initialise level generators
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/config/config.py/Configuration.initialise_level_generators