concepts.benchmark.gridworld.crafting_world.crafting_world_gen.cw_20230913_mixed.gen_locations_and_objects#

gen_locations_and_objects(n, inventory_size, station_agnostic=True)[source]#

Sample a linear map by randomly placing mining locations and tools on the map.

Parameters:
  • n (int) –

  • inventory_size (int) –

  • station_agnostic (bool) –

Return type:

Tuple[str, str, int, list, list]