# Crewed turrets (design 10.2, step 33e). Read at startup by the game (src/game/ship/Turrets.cpp).
#
# A ship's turret is a Turret Cockpit on its hull with a Turret Cannon on either side ([cockpit
# Settings] below). It draws on the ship's weapon power like its cannons, and never fires through
# the ship's own blocks.
#
# [laser Settings] A turret cannon's bolts
#   damage         hull damage per bolt
#   block damage   damage per bolt to anything else's blocks
#   rate           bolts per second at full weapon power, for each cannon
#   speed          m/s a bolt flies at, on top of the ship's speed
#   range          m a bolt flies
#   turn           rad/s a place's robot turret (a Laser Turret, [ground Settings]) turns its head at
#   clear          m past the cockpit's cabin the ship's own blocks must leave clear for it to fire
#
# [gunner Settings] AI gunners (crew aboard AI corvettes): the gunmen's aim model
#   skill          their skill, lowest and highest (0 to 1)
#   error          radians off the lead at skill 0 (at skill 1, a fifth of it)
#   per km         radians more for each km to the target
#   per speed      radians more for each 100 m/s the target crosses the line of fire at
#   hold           s an aim error holds before the gunner picks another
#   reach          m they open fire inside
#   burst          s of fire, then
#   pause          s of rest between bursts

# [cockpit Settings] Cockpit turrets: a Turret Cockpit on the hull, a Turret Lift inside under it
# with Turret Rails stacked up to it, and a Turret Cannon on either side of the cockpit. The gunner
# sits in the lift, rides it up its rails into
# the cockpit and aims as a pilot steers: the mouse (or the right stick) moves an aim point, the
# cockpit turns toward it all round, and its guns pitch on to it. Each cannon fires turret bolts
# ([laser Settings]) at that rate.
#   turn           rad/s the cockpit turns at
#   gun turn       rad/s its guns pitch at
#   pitch          the guns' arc, degrees from level: lowest and highest
#   cabin          the cockpit's own tilt, degrees: lowest and highest (it takes some of the guns' pitch)
#   ride           s the lift takes to ride up or down
#   reach          turret rails that may stand between the lift and the cockpit's base over it (every
#                  cell between must be one)

[cockpit Settings]
turn = 1.8
gun turn = 2.4
pitch = -20, 70
cabin = -6, 12
ride = 1.6
reach = 6

# [ground Settings] A place's own turret (a Laser Turret that is part of an owned place), which fires
# on people by itself: on anyone wanted by its owner's nation, on everyone at an outlaw's place,
# and on raiders. A hack can freeze it, or turn it on its owners (server/world/ServerTurrets.cpp).
#   damage         per bolt, to a person
#   rate           bolts per second
#   accuracy       the share of its bolts that hit what it fires at
#   range          m it sees and reaches
#   speed          m/s its bolt flies at

[ground Settings]
damage = 9
rate = 1.5
accuracy = 0.7
range = 36
speed = 90

[laser Settings]
damage = 26
block damage = 26
rate = 3
speed = 750
range = 1400
turn = 2.4
clear = 14

[gunner Settings]
skill = 0.4, 0.75
error = 0.03
per km = 0.012
per speed = 0.015
hold = 0.8
reach = 1100
burst = 1.4
pause = 1.2
