empserver/tests/fairland/stunted.out
Markus Armbruster 56c014806e fairland: Try harder to deliver the requested amount of land
Planned island sizes are random with an expected value that matches
the average size requested by the user.  Can be off quite a bit when
the number of islands is small.  Also, actual island size can be
smaller than planned size when space is tight.

Instead of picking random island sizes independently, pick a random
split of their requested total size.

To reduce the probability of islands not growing to their planned
size, grow large islands before smaller ones.

To compensate for inability to grow, carry the difference over to the
next island size.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2021-01-19 08:27:34 +01:00

67 lines
3 KiB
Text

Creating a planet with:
8 continents
continent size: 35
number of islands: 24
average size of islands: 20
spike: 0%
0% of land is mountain (each continent will have 0 mountains)
minimum distance between continents: 5
minimum distance from islands to continents: 2
World dimensions: 64x32
#*# ...fairland rips open a rift in the datumplane... #*#
seed is 1
placing capitals...
growing continents...
growing islands: 1(2) 2(2) 3(2) 4(2) 5(2) 6(2) 7(2) 8(2) 9(1) 10(1) 11(1) 12(1) 13(1) 14(1) 15(1) 16(1)
No room for island #24
try #2 (out of 10)...
placing capitals...
growing continents...
Only managed to grow 34 out of 35 sectors.
try #3 (out of 10)...
placing capitals...
growing continents...
growing islands: 1(1) 2(1) 3(1) 4(1) 5(1) 6(1) 7(1) 8(1) 9(1) 10(1) 11(1) 12(1) 13(1) 14(1) 15(1) 16(1) 17(1) 18(1) 19(1) 20(1) 21(1) 22(1) 23(1) 24(1)
Only managed to grow 24 out of 480 island sectors.
elevating land...
writing to sectors file...
. . . . . # # c c # . . . % . . . . . . . . . % . . . . . . . .
. . . . # # # # # . . . . . . . . % . . . . . . . # # # . . . .
. . % . . # # # # . . . . . . . . . . . . . . . . # # # # # # .
. . . . . . . . . . . . . . . . . . . . . . . . . # # # # # # .
. . . . . . . . . . . . . . # # # # . . % . . . . # h h # # # .
. % . . . . . . % . . . # # # # # # . . . . % . . # # # # # . .
. . . . . . . . . . . . # # # # # # . . . . . . . # # # # # . .
. . . . . . . . . . . . # # f f # # . . . . . . . # # # # . . .
. . # # # # # . . . . . # # # # # # # . . . . . . . . . . . . .
. # # # # # # . . . . . # # # # # # . . . . . . . . . . . . . .
. # # # # # # # . . . . . . . . . . . . % . . % . . . . . . . .
# # # # # # # . . . . . . . . . . . . . . . . . . . . . . . . .
. # # e e # . . . . . . . . . . . . . . . . . . . . . . . . . .
. # # # # . . . . . . . . . . % . . . . . . # # # # # # . . . .
. . . . # . . . . . . . . . . . . . . . . . # # # # # # . . . .
. . . . . . . . . . # # # # . . . . . . . . # # # # # . . . . %
. . . . . . . . . . # # # # # . . . . % . . # # d d # # . . . .
. . . . % . . . # # # # # # . . . . . . . . # # # # # # . . . .
. . . . . . . . . # # # # # . . . . . . . . . # # # # . . . . .
# . . . . . . . # # b b # . . . % . . . % . . # . # . . . . . .
# # . . . . . . . # # # # . . . . . . . . . . . . . . . . . . .
# # . . . . . . . # # # . . . . . . . . . . . . . . . . . . . #
# # . . . . % . . # # # . . . . . # . . . . . . . . . . . . . #
g # . . . . . . . . . . . . . . # # # . . . . % . . % . . # # g
# # # . . . . . . . . . . . . . # # # # . . . . . . . . . # # #
# # # . . . . . . . . . % . . . # # # # # # . . . . . . # # # #
# # # . . . . . . . . . . . . . . # # # # # # . . . % . . # # #
. . . . . . . . . . . . . . . . . # a a # # # . . . . . . . # #
. . . . . . . # # # # . . . . . . . # # # # # . . . . . . . . .
. % . . . . # # # # # . . . . . . # # # # . . . . . . . . . . .
. . . . . . # # # # # # . . . . . . . . . . . . . . % . . . . .
. . . . . # # # # # # . . . . % . . . . . . . . . . . . . . . .
A script for adding all the countries can be found in "sandbox/stunted-newcap_script".