# Planet size classes (design 24.8; read by src/model/universe/SystemGen.cpp). Habitable worlds are Large;
# others draw a class. Gravity, atmosphere and spacing follow from the size by formulas in code.
# See README.md in this folder for the format.
#
#   size        cells across a cube face (N): 8192, 16384 and 32768 are about 5.7, 11.4 and 22.8 km
#               in radius
#   depth       cells of terrain height (H)
#   sea level   cells above the bottom of that height

[size Small]
size = 8192
depth = 256
sea level = 128

[size Medium]
size = 16384
depth = 512
sea level = 160

[size Large]
size = 32768
depth = 640
sea level = 224

# Living world themes (read by src/model/universe/SystemGen.cpp and src/world/terrain/Biomes.cpp).
# Some living worlds other than the start world take a theme; the rest keep the default ranges
# (sunlight 0.8 to 1.25, 0.8 to 1.4 atm, water 0.5 to 0.75, volcanism 0.05 to 0.4, tectonics
# 0.35 to 0.8, tilt 10 to 32), as the start world does, and their class comes from their physics.
# A themed world draws its theme by weight, in file order (the order is part of the data: it
# decides which random number picks which theme). Its physics come from these ranges; the rest
# follow from them as for any world. Every range keeps the air breathable.
#
#   class        the planet class it shows (left out: the one its physics give)
#   weight       odds against the other themes
#   insolation   sunlight, relative to the reference habitable world (a range)
#   pressure     atm (a range)
#   water, volcanism, tectonics    0..1 (ranges)
#   tilt         axial tilt, degrees (a range)
#                (a range left out keeps the default, as the unthemed worlds have)
#   biomes       the biomes it leans to ("none" for none): never left out, and they win ground
#   shuns        the biomes it leans away from (left out: none)
#   lean         how hard: taken off the climate score of the biomes it leans to, and added to
#                the ones it shuns (a biome's box is 1 wide)
#   moisture     added to the planet's humidity, 0..1 (left out: 0); its water and life stay
#   flora        the flora theme it always takes (flora.txt), and with it the sky
#   alien        0 .. 1: exotic flora on a breathable world, and how far its exotic patches
#                (fungal forest, crystal fields) spread (left out: 0, none)
#   landforms    landforms it favours, times `landform lean`
#   density      times the density that gives a large world 1 g (a range; low is low gravity,
#                and lower gravity lets the land stand taller)
#   ring         the odds it wears a ring (left out: as any world)
#   sub-biomes   sub-biomes (biomes.txt) it always keeps, at three times their weight
#   clouds       its cloud cover (a range, 0 .. 0.85; left out: from its water, as any world)
#   storms       the odds it is a storm world: storms over nearly all of it, only a few gaps of
#                sun (left out: 4% for a wet world with clean air, as any world)
#   aurora       the odds it has an aurora (left out: weather.txt [auroras Planets]); its colours
#                are drawn from weather.txt's [aurora] rows

# The share of living worlds (the start world aside) that take a theme.
[living-share Themed]
share = 0.6

[living Jungle]
class = Jungle
weight = 2
insolation = 1.12, 1.3
pressure = 1, 1.3
water = 0.7, 0.84
volcanism = 0.05, 0.4
tectonics = 0.35, 0.8
tilt = 0, 15
biomes = Jungle, Swamp, SeasonalForest
lean = 0.25
moisture = 0.12
storms = 0.5

[living Ocean]
class = Ocean
weight = 1.5
insolation = 0.85, 1.2
pressure = 0.8, 1.4
water = 0.87, 0.96
volcanism = 0.1, 0.45
tectonics = 0.4, 0.85
tilt = 5, 30
biomes = Swamp, Jungle, SeasonalForest
lean = 0.1
storms = 0.25

[living Arid]
class = Arid
weight = 1.5
insolation = 1.08, 1.26
pressure = 0.7, 1.1
water = 0.3, 0.4
volcanism = 0.05, 0.4
tectonics = 0.3, 0.8
tilt = 10, 35
biomes = Desert, Dunes, Badlands, SaltFlats, Savanna
shuns = DustBasin
lean = 0.25
moisture = -0.18

[living Boreal]
class = Boreal
weight = 1.5
insolation = 0.7, 0.8
pressure = 1, 1.4
water = 0.5, 0.72
volcanism = 0.05, 0.4
tectonics = 0.35, 0.8
tilt = 15, 35
biomes = Taiga, SnowyTaiga, Tundra, Moor
lean = 0.2
aurora = 0.85

[living Savanna]
class = Savanna
weight = 1
insolation = 1, 1.2
pressure = 0.8, 1.2
water = 0.42, 0.55
volcanism = 0.05, 0.4
tectonics = 0.3, 0.7
tilt = 5, 25
biomes = Savanna, Steppe, SeasonalForest
lean = 0.2

# Rarer worlds that don't look like home: odd flora, odd ground, odd shapes. Each still breathes.
# Their weights put one in about a third of the systems reached through gates (--findsystems).

# A dim star and thick warm air: forests of glowing growths under an indigo sky.
[living Nightglow]
class = Nightglow
weight = 0.75
insolation = 0.55, 0.7
pressure = 2, 2.8
water = 0.55, 0.8
tilt = 5, 25
flora = Nightglow
alien = 0.35
biomes = Forest, Jungle, Swamp, Taiga
lean = 0.2
aurora = 0.7
storms = 0.15

# Forests of giant fungi, open to the air.
[living Fungal]
class = Fungal
weight = 0.75
insolation = 0.9, 1.15
pressure = 1, 1.6
water = 0.6, 0.8
moisture = 0.1
alien = 1
biomes = FungalForest, Swamp, Forest
lean = 0.35
storms = 0.2

# Meadows and steppe studded with crystal.
[living CrystalGarden]
class = Crystal garden
weight = 0.75
insolation = 0.9, 1.2
pressure = 0.8, 1.3
water = 0.45, 0.6
moisture = -0.08
flora = Azure
alien = 0.8
biomes = CrystalFields, Meadow, Steppe
lean = 0.3
aurora = 0.5

# A stone forest: groves of sheer pillars, with spires and karst towers, tall in low gravity.
[living Spire]
class = Spire
weight = 0.75
density = 0.45, 0.65
alien = 0.2
landforms = Needles, Spires, TowerKarst
landform lean = 10
biomes = none

# Red and magenta forest and savanna under a jade sky.
[living Crimson]
class = Crimson
weight = 0.75
insolation = 1.08, 1.25
pressure = 0.8, 1.2
water = 0.5, 0.7
flora = Crimson
alien = 0.3
biomes = Savanna, Jungle, SeasonalForest
lean = 0.2

# Violet forests and moors under a golden sky, most of them ringed.
[living Amethyst]
class = Amethyst
weight = 0.75
flora = Amethyst
alien = 0.25
ring = 0.85
biomes = Forest, Moor, Meadow
lean = 0.2
clouds = 0.08, 0.22
aurora = 0.6

# Warm, wet lowlands and islands of teal alien growth.
[living TendrilMarsh]
class = Tendril marsh
weight = 0.75
insolation = 1, 1.2
pressure = 1, 1.5
water = 0.75, 0.85
moisture = 0.15
flora = Teal reef
alien = 0.6
biomes = Swamp, Jungle
landforms = Archipelago, Plains
landform lean = 2
lean = 0.25
storms = 0.5

# White dunes, salt pans and chalky badlands under a pale sky.
[living Pale]
class = Pale
weight = 0.75
insolation = 1.05, 1.22
pressure = 0.7, 1.1
water = 0.3, 0.4
moisture = -0.2
flora = Frostbloom
biomes = Dunes, SaltFlats, Badlands, Desert
shuns = DustBasin
sub-biomes = WhiteDunes, SaltPan, GreyBadlands, DryValley
lean = 0.3
