# Moon kinds (design 20.6; read by src/model/universe/SystemGen.cpp). One to four moons circle each gas
# giant; the home world always has one (it carries the relay tower, section 3), and other large
# rocky worlds sometimes do. A moon is built by the planet generator like any world, in the small
# or medium moon size ([moon-size] below). Its kind only sets the ranges its physics are drawn
# from; the generator does the rest, as it does for rocky worlds. Each kind is picked by weight,
# in file order (the order is part of the data).
#
#   giant weight   odds around a gas giant
#   rocky weight   odds around a rocky world
#   inner only     yes: only the innermost two moons of a giant (tides heat them)
#   medium         odds of the medium size class instead of the small one
#   density        times the density that gives gravity its size's share (a range; moons are light)
#   pressure       atm (a range; 0, 0 is airless)
#   water, volcanism, tectonics, toxicity    0..1 (ranges)
#
# Moons sit at fixed spots near their parent, outside its air and ring, and take its sunlight.

# Moon sizes, as planets.txt [size] but for moons: smaller than the worlds they circle, so a moon
# looks like one beside its parent: half the small and medium worlds across.
#   size        cells across a cube face (N, a power of two): 4096 and 8192 are about 2.8 and
#               5.7 km in radius
#   depth       cells of terrain height (H)
#   sea level   cells above the bottom of that height

[moon-size Small]
size = 4096
depth = 256
sea level = 128

[moon-size Medium]
size = 8192
depth = 256
sea level = 128

[moon Regolith]
giant weight = 3
rocky weight = 4
medium = 0.15
density = 0.55, 0.8
pressure = 0, 0
water = 0, 0.05
volcanism = 0, 0.1
tectonics = 0, 0.2
toxicity = 0, 0

[moon Ice]
giant weight = 4
rocky weight = 1
medium = 0.3
density = 0.45, 0.7
pressure = 0, 0
water = 0.75, 1
volcanism = 0, 0.15
tectonics = 0.1, 0.4
toxicity = 0, 0

[moon Basalt]
giant weight = 2
rocky weight = 2
medium = 0.2
density = 0.6, 0.9
pressure = 0, 0
water = 0, 0.2
volcanism = 0.35, 0.6
tectonics = 0.3, 0.6
toxicity = 0, 0

[moon Volcanic]
giant weight = 1.5
rocky weight = 0
inner only = yes
medium = 0.4
density = 0.7, 0.95
pressure = 0, 0
water = 0, 0.1
volcanism = 0.8, 1
tectonics = 0.5, 0.9
toxicity = 0, 0

# The rare moon of a giant with thin air of its own.
[moon Hazy]
giant weight = 0.4
rocky weight = 0
medium = 0.7
density = 0.7, 0.9
pressure = 0.08, 0.4
water = 0.2, 0.7
volcanism = 0.05, 0.3
tectonics = 0.2, 0.5
toxicity = 0, 0.4
