# Jump gates (design 21.2; read by src/model/universe/Gates.cpp). Gates are natural: vortices of glowing
# cloud hanging in space, nobody knows who or what opened them. A ship dives into the eye at the
# middle to cross to the system on the other side (with a warp drive aboard, step 23c).
#
# The system a world starts in has one gate, Gate Morgan, at its edge like any other system's.
# Each gate picks a kind by weight, in file order (the order is
# part of the data: it decides which random number picks which kind).
#
#   weight      odds of this kind against the others
#   name        what the kind is called (a gate's own name comes from the system's names)
#   palette     four colours (sRGB 0..1), from the deep outer cloud to the light in its throat
#   radius      the vortex's radius, m (a range)
#   eye         the eye's radius, a share of the vortex's
#   arms        how many spiral arms (a range of whole numbers)
#   wind        how hard the arms wind in toward the eye
#   spin        how fast the rim turns, radians a second (the cloud nearer the eye turns faster)

[gate Azure]
name = Azure vortex
weight = 4
palette = 0.05, 0.10, 0.32
palette = 0.10, 0.32, 0.78
palette = 0.32, 0.70, 1.00
palette = 0.80, 0.95, 1.00
radius = 480, 620
eye = 0.13
arms = 3, 4
wind = 2.4
spin = 0.05

[gate Violet]
name = Violet vortex
weight = 3
palette = 0.14, 0.04, 0.26
palette = 0.40, 0.12, 0.66
palette = 0.76, 0.40, 0.98
palette = 1.00, 0.82, 1.00
radius = 520, 680
eye = 0.12
arms = 2, 3
wind = 2.9
spin = 0.04

[gate Viridian]
name = Viridian vortex
weight = 2
palette = 0.02, 0.16, 0.12
palette = 0.06, 0.44, 0.30
palette = 0.34, 0.92, 0.56
palette = 0.86, 1.00, 0.82
radius = 440, 580
eye = 0.15
arms = 3, 5
wind = 2.0
spin = 0.06

# Where a gate's station hangs, in a system whose holder builds one: beside the first gate, about
# `gap` metres from it (between their edges).
[gates placement]
gap = 1800

# Who holds a system, and so what stands at its gates (design 21.2, "Access"). The system a world
# starts in is the charter company's. A system in the galaxy (galaxy.txt, step 23h) takes its
# holder from what it is: a nation's settled system its gate authority (or now and then a company),
# its frontier an outpost or a company, the Reaches nobody, the fronts contested, the Syndicate's
# its own. Its nation names the holder and sets the style (galaxy.txt), so `name` and `style` here
# are only for a system with no place in the galaxy, which picks a holder by weight, in file order.
#
#   name        as shown (the owner of what it builds), for a system outside the galaxy
#   weight      odds against the others, for a system outside the galaxy
#   sites       what stands at each gate (see the sites below); `station` only at the first gate
#   style       the station style its structures are built in (stations.txt)
#   sparse      its station is an outpost's: the core and a hangar

[holder Charter]
name = Charter company
weight = 0
sites = beacons
style = Core

[holder Authority]
name = Gate authority
weight = 4
sites = station, control, beacons
style = Newer

[holder Company]
name = Mining company
weight = 3
sites = control, beacons
style = Core

[holder Frontier]
name = Nobody
weight = 3
sites =
style = Sealed

[holder Contested]
name = Contested
weight = 2
sites = defence, control, beacons
style = Sealed

[holder Outpost]
name = Frontier outpost
weight = 0
sites = station, beacons
style = Core
sparse = yes

[holder Syndicate]
name = The Syndicate
weight = 0
sites = control, beacons
style = Sealed

# What stands at a gate.
#
#   beacons     traffic buoys in two rows leading into the eye: `count` a side, `spacing` m apart,
#               the rows `lane` m apart (the eye's width, or this, whichever is wider)
#   control     a traffic control post off the rim: a drum of hull with windows, lights and a mast
#   defence     gun platforms round the rim, cannons out: `count` of them
[site beacons]
count = 5
spacing = 90
lane = 140

[site control]
radius = 10
height = 16
mast = 18

[site defence]
count = 3
size = 17
