# Star classes (design 21.1; read by src/model/universe/SystemGen.cpp). A system a world starts in keeps its
# sun-like star as it always had (its class only names it). A system reached through a gate picks a
# class by weight, in file order (the order is part of the data: it decides which random number
# picks which class), and the class shapes what it makes.
#
#   name          as the star map shows it
#   weight        odds of this class against the others, for systems reached through gates
#   luminosity    against the reference star (a range); orbits scale with its square root
#   radius        its size against a sun-like star's (100 km in game): the worlds keep 8 radii
#                 off it, so it looks about the same size from wherever a system's first world is
#   color         the star's light (sRGB 0..1)
#   planets       how many rocky orbits (a range of whole numbers)
#   habitable     the odds the world nearest the right sunlight is living, like a start world
#                 (it may draw a theme, planets.txt [living])
#   living worlds how many more living worlds it has (a range of whole numbers): the rocky
#                 worlds nearest that one, with air to breathe, some with a theme of their own
#   flares        the odds it is the flaring kind (world/terrain/Hazards.hpp)
#   gates         how many jump gates at the system's edge (a range of whole numbers)

# The start system: besides the start world, this many more living worlds (so two or three in
# all). The start world keeps the temperate ranges; some of the others draw themes.
[start-worlds Living]
living worlds = 1, 2

[star SunLike]
name = Sun-like star
weight = 4
luminosity = 0.6, 1.8
radius = 1.0
color = 1.00, 0.95, 0.86
planets = 5, 8
habitable = 0.8
living worlds = 1, 2
flares = 0.15
gates = 1, 3

[star RedDwarf]
name = Red dwarf
weight = 5
luminosity = 0.08, 0.3
radius = 0.5
color = 1.00, 0.62, 0.42
planets = 3, 6
habitable = 0.5
living worlds = 0, 1
flares = 0.55
gates = 1, 2

[star BlueGiant]
name = Blue giant
weight = 1
luminosity = 8.0, 20.0
radius = 3.0
color = 0.66, 0.78, 1.00
planets = 4, 7
habitable = 0.3
living worlds = 0, 1
flares = 0.3
gates = 2, 3

[star WhiteDwarf]
name = White dwarf
weight = 1.5
luminosity = 0.05, 0.15
radius = 0.1
color = 0.92, 0.95, 1.00
planets = 2, 5
habitable = 0.15
living worlds = 0, 1
flares = 0.05
gates = 1, 2

[star Neutron]
name = Neutron star
weight = 0.6
luminosity = 0.02, 0.06
radius = 0.04
color = 0.80, 0.86, 1.00
planets = 1, 4
habitable = 0.0
living worlds = 0, 0
flares = 0.8
gates = 1, 2
