

def world_gen(name, width, height, seed, temps=[0.874, 0.765, 0.594, 0.439, 0.366, 0.124], humids=[0.941, 0.778, 0.507, 0.236, 0.073, 0.014, 0.002], num_plates=10, ocean_level=1.0, step=Step.full(), gamma_curve=1.25, curve_offset=0.2, fade_borders=True, verbose=get_verbose()):
    if verbose:
        start_time = time.time()
    world = _plates_simulation(name, width, height, seed, temps, humids, gamma_curve, curve_offset, num_plates, ocean_level, step, verbose)
    center_land(world)
    if verbose:
        elapsed_time = (time.time() - start_time)
        print(((('...plates.world_gen: set_elevation, set_plates, center_land ' + 'complete. Elapsed time ') + str(elapsed_time)) + ' seconds.'))
    if verbose:
        start_time = time.time()
    add_noise_to_elevation(world, numpy.random.randint(0, 4096))
    if verbose:
        elapsed_time = (time.time() - start_time)
        print((('...plates.world_gen: elevation noise added. Elapsed time ' + str(elapsed_time)) + ' seconds.'))
    if ocean_level:
        start_time = time.time()
    if fade_borders:
        place_oceans_at_map_borders(world)
    initialize_ocean_and_thresholds(world)
    if verbose:
        elapsed_time = (time.time() - start_time)
        print((('...plates.world_gen: oceans initialized. Elapsed time ' + str(elapsed_time)) + ' seconds.'))
    return generate_world(world, step)

dataset/ETHPy150Open Mindwerks/worldengine/worldengine/plates.py world_gen/VarMisuse@235/374 `verbose`->`ocean_level`