fairland places islands of random size in random places, subject to minimum distances. Results are often less than fair, in particular when the number of islands per continent is low: some continents have more land nearby than others. Increasing distances between islands doesn't help much. Deities commonly run fairland until they find the result acceptable. The next few commits will tackle this issue. As a first step, this one places islands closest to continents in turn, so that each continent is closest to the same number of islands. A continent is closest to an island when it is closest to each of its sectors. The number of islands must be a multiple of the number of continents now. Since fairland may be unable to place all islands, a continent may still get fewer islands than it should. The next commit will address that. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
56 lines
2.6 KiB
Text
56 lines
2.6 KiB
Text
Creating a planet with:
|
|
|
|
8 continents
|
|
continent size: 30
|
|
number of islands: 8
|
|
average size of islands: 20
|
|
spike: 50%
|
|
10% of land is mountain (each continent will have 3 mountains)
|
|
minimum distance between continents: 2
|
|
minimum distance from islands to continents: 1
|
|
World dimensions: 64x32
|
|
|
|
#*# ...fairland rips open a rift in the datumplane... #*#
|
|
|
|
seed is 1
|
|
placing capitals...
|
|
growing continents...
|
|
growing islands: 1(14) 2(21) 3(38) 4(26) 5(21) 6(18) 7(3) 8(13)
|
|
4 stunted islands
|
|
elevating land...
|
|
writing to sectors file...
|
|
|
|
# b b # # . % % . . . . . . . . . . . . . . . . . . . . . . . .
|
|
^ # # # . % . . . . . . . . . . . . . . . . . % . . . . . ^ # #
|
|
# # # # . % . . . . . . . . . . . . . . % % % % . . . . . . # #
|
|
# # . . % . . . . . . . . . . . . . . . . % % % % . . . . . . #
|
|
. # . . . . . . # . . . . . . . . . . . . ^ % % % % . . . . . .
|
|
. . . % . . . # # . . . . . . . . # # . . . % % % % . . . . . .
|
|
. . . % . ^ # # ^ ^ . . . ^ . . # # # # # # . . . . . . . . . #
|
|
. % % . # # # # # . . . . # # # # f f . . # # . . . . . . . # .
|
|
# . % % . # # e e # # . . . . # ^ ^ # . . . # . . . . . . . # #
|
|
. % . % . . # # # # # # . . # # # # . . . . # . . . . . . # # #
|
|
. % % ^ % % . # # . # # . . # # # . . . . . . . . . . . . # # #
|
|
. % % % ^ % . # . . . . . . . . . . . . . . . . . . . . h h # ^
|
|
. . % . % % % . . % % % % . . . . . % % % . . . . . # ^ # # # ^
|
|
. % % . . . % % % . . . . . . . ^ % . . % % % . . # # # . . # .
|
|
. % % . % % % % % % % % % . . % % . . # . . . . . # . # . . # #
|
|
^ . . % ^ % . . . . . % % . % % . # # # ^ # # . . . . # . . . .
|
|
. . . % % ^ . # . # # . % % . % % . . # ^ # ^ # . . . . . . . .
|
|
. . % % . . # # # # . ^ % % % % % . # # d d # # . . . . . . . .
|
|
. . % % . # # # # . . . . % % ^ % . # # # # # # # . . % % . . .
|
|
. % % . . # # # . . . . . % % % . # . # . . . # . . % . . # . .
|
|
. . % . # # c c . . . . . . % % . # . . . . . . # . . . # # ^ .
|
|
. % % . . # ^ ^ . . . . % % . % . . . . . . . . . . . # # # . .
|
|
. . % % . # ^ # . . . . % % % % . . . . . . . . . . . # g g # .
|
|
. . . % . . # # . . . % % % . . . . . . . . . . . # # # # # # .
|
|
. . . % % . . # # . . . % ^ . # # . . . . . . . . . # ^ # # # .
|
|
. . . % . . . # # . . % . . . # . # # . . . . . . . # # . . # ^
|
|
. . . % . . . . . . . % . # # # # # # . . . . . . . . . . . # #
|
|
. % % % . . . . . . . % . . . # # # # # . . . . . . . . # # . .
|
|
. . . % % % . . . . . . . . . # a a ^ ^ # . . . . . . . . . . .
|
|
. # . % % % . . . . . . . . # # # ^ # # . . . . . . . . . . . .
|
|
# # # . . % % ^ . . . . . . . . . # # . . . . . . . . . . . . .
|
|
# ^ # # . % ^ % . . . . . . . . . . . . . . . . . . . . . . . .
|
|
|
|
A script for adding all the countries can be found in "sandbox/spike-newcap_script".
|