# Gas giant kinds (design 20.6; read by src/model/universe/GasGiants.cpp). A system holds zero to two gas
# giants in its outer orbits, past where water freezes. Each picks a kind by weight, in file order
# (the order is part of the data: it decides which random number picks which kind).
#
# A giant is drawn by the sky pass, not built from blocks: a banded sphere (the cloud deck) under
# its own air, so its size costs nothing in chunks.
#
#   weight        odds of this kind against the others
#   radius        the cloud deck's radius, times the largest rocky world's (a range: lo, hi)
#   band          a band colour (sRGB 0..1); two to four, in order from the equator outward
#   storm         the colour of its great storms (sRGB)
#   haze          the colour its air scatters (sRGB): the limb and the sky inside it
#   bands         how many bands from pole to pole (a range)
#   turbulence    how much the bands' edges ripple, 0..1
#   storms        how many great storms (a range of whole numbers)
#   rings         the odds it wears a ring (rocky worlds: 0.2, or 0.32 when large)
#
# Flying in. Depths are metres below the top of the air; the cloud deck is at `air`. The upper air
# slows ships like any atmosphere. Past `shields at` the pressure drains shields at `shield drain`
# points a second; past `hull at` it also breaks the hull, `hull damage` points a second there,
# rising toward the crush depth; at `crush at` the ship is crushed. `gravity` (m/s2) pulls on
# anything nobody flies, so a wreck sinks. The HUD warns from `warn at`.
#
#   air           m of air over the cloud deck
#   warn at, shields at, hull at, crush at    depths, m, in that order

[giant Banded]
name = Banded giant
weight = 3
radius = 3.2, 4.6
band = 0.86, 0.74, 0.58
band = 0.95, 0.90, 0.80
band = 0.68, 0.48, 0.34
band = 0.80, 0.62, 0.46
storm = 0.80, 0.42, 0.30
haze = 0.92, 0.84, 0.70
bands = 12, 20
turbulence = 0.55
storms = 1, 3
rings = 0.35
air = 6000
warn at = 2500
shields at = 4000
hull at = 7000
crush at = 11000
shield drain = 12
hull damage = 4
gravity = 14

[giant Ringed]
name = Ringed giant
weight = 2
radius = 2.8, 4.0
band = 0.90, 0.82, 0.62
band = 0.96, 0.92, 0.78
band = 0.82, 0.70, 0.50
storm = 0.97, 0.94, 0.84
haze = 0.95, 0.88, 0.72
bands = 16, 28
turbulence = 0.25
storms = 0, 1
rings = 0.9
air = 7000
warn at = 3000
shields at = 4500
hull at = 8000
crush at = 12000
shield drain = 10
hull damage = 3
gravity = 11

[giant Ice]
name = Ice giant
weight = 2
radius = 2.2, 3.0
band = 0.42, 0.62, 0.86
band = 0.56, 0.74, 0.92
band = 0.32, 0.50, 0.78
storm = 0.16, 0.26, 0.52
haze = 0.62, 0.80, 0.98
bands = 6, 10
turbulence = 0.3
storms = 0, 2
rings = 0.3
air = 5000
warn at = 2000
shields at = 3500
hull at = 6000
crush at = 9500
shield drain = 14
hull damage = 5
gravity = 11

[giant Pale]
name = Pale giant
weight = 1
radius = 2.4, 3.4
band = 0.66, 0.86, 0.86
band = 0.74, 0.90, 0.90
storm = 0.86, 0.96, 0.96
haze = 0.76, 0.94, 0.94
bands = 4, 8
turbulence = 0.12
storms = 0, 1
rings = 0.45
air = 5500
warn at = 2200
shields at = 3800
hull at = 6500
crush at = 10000
shield drain = 12
hull damage = 4
gravity = 10

[giant Storm]
name = Storm giant
weight = 1
radius = 3.6, 5.0
band = 0.62, 0.36, 0.30
band = 0.86, 0.66, 0.52
band = 0.44, 0.24, 0.22
band = 0.76, 0.52, 0.40
storm = 0.96, 0.86, 0.74
haze = 0.90, 0.70, 0.58
bands = 14, 24
turbulence = 0.85
storms = 3, 6
rings = 0.25
air = 6500
warn at = 2400
shields at = 3800
hull at = 6500
crush at = 10000
shield drain = 16
hull damage = 6
gravity = 16
