Mindwerks / worldengine

World generator using simulation of plates, rain shadow, erosion, etc.
MIT License
992 stars 127 forks source link

Operation ancient_map load only worlds in Pickle format #66

Closed ftomassetti closed 9 years ago

ftomassetti commented 9 years ago
    elif operation == 'ancient_map':
        # First, some error checking
        if options.sea_color == "blue":
            sea_color = (142, 162, 179, 255)
        elif options.sea_color == "brown":
            sea_color = (212, 198, 169, 255)
        else:
            usage("Unknown sea color: " + args[0] + "  Select from [" + SEA_COLORS + "]")
        if not options.world_file:
            usage("For generating an ancient map is necessary to specify the world to be used (-w option)")
        world = World.from_pickle_file(options.world_file)