When an island gets placed too close to the edge of the sphere of influence, its side facing the edge will likely be formed by the edge. Looks unnatural, and can give a clue on the location of the other continent. Make place_island() prefer sectors away from the edge: instead of picking one of the admissible sectors with equal probability, reduce the probability as we get closer to the edge. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
55 lines
2.6 KiB
Text
55 lines
2.6 KiB
Text
Creating a planet with:
|
|
|
|
5 continents
|
|
continent size: 30
|
|
number of islands: 5
|
|
average size of islands: 15
|
|
spike: 10%
|
|
0% of land is mountain (each continent will have 0 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(15) 2(15) 3(15) 4(15) 5(15)
|
|
elevating land...
|
|
writing to sectors file...
|
|
|
|
. . . . . . . . . . . . . . . % % % . # # # # # . . . . . . . .
|
|
. . . . . . . . . . . . . . % % % . . # # . . . . . . . . . . %
|
|
% . . . . . . . . . . . . . . % % . . # # . . . . . . . . . % %
|
|
% . . . # # # . . . . . . . . % . . . . . . . . . . . . . . % %
|
|
% . . . # # # # . . . . . . . . . . . . . . . . . . . . . % % %
|
|
% . . # # e e # # . . . . . . . . . . . . . . . . . . . . % % %
|
|
. . . # # # # # # # . . . . . . . . . . . . . . . . . . . . . .
|
|
. . # # . # # # # . . . . . . . . . . . . . . . . . . . . . . .
|
|
. . . # . . # # # . . . . . . . . . . . . . . . . . . . . . . .
|
|
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
|
. . . . . . . . . . . . . . . . . . . # . . . . . . . . . . . .
|
|
. . . . . . . . . . . . . . . . . . # # # . . . . . . . . . . .
|
|
. . . . . . . . . . . . . . . . . . c c # # # . . . . . . . . .
|
|
. . . . . . . . . . . . . . . # # # # # # # # . . . . . . . . .
|
|
. . . . . . . . . . . . . . . . # # # # # # # . . . . . . . . .
|
|
. . . . . . . . . . . . . . . . # # # # # # . . . . . . # # # #
|
|
. . . . . . . . . . . . . . . . . . . . . . . . . . . . # # # #
|
|
. . . . . . . . . . . . . . . . . . % % % % % % . . . . # a a #
|
|
. . . . . . . . . . . . . . . . . . . % % % % % . . . . # # # #
|
|
. . . . . . . . . . # . . . . . . . . % % % % . . . . . # # # #
|
|
. . . . . . . . . . # # . . . . . . . . . . . . . . . . . # # #
|
|
. . . . . . . . # # # # . . . . . . . . . . . . . . . . # # # #
|
|
. . . . . . . . . d d # . . . . . . . . . . . . . . . . . . # #
|
|
. . . . % % % . # # # # . . . . . . . . . . . . . . . . . . # .
|
|
. . . . % % % . # # # # # . . . . . . . . . . . . . . . . . . .
|
|
. . . % % % . # # # # # # . . . . . . . . . . . . . . . % % % .
|
|
. . . . % % % . . # # # # . . . . . . # . . . . . . . . % % % .
|
|
. . . % % % . . . . # . . . . . . . # # # . . . . . . % % % . .
|
|
. . . . . . . . . . . . . . . . . . # # # # . . . . . . % % % .
|
|
. . . . . . . . . . . . . . . % . . # # # # . . . . . . % % % .
|
|
. . . . . . . . . . . . . . . % % % . # b b # . . . . . . . . .
|
|
. . . . . . . . . . . . . . . % % . # # # # # . . . . . . . . .
|
|
|
|
A script for adding all the countries can be found in "sandbox/plain-newcap_script".
|