# Fauna bodies and coats (read by src/world/life/Fauna.cpp). See README.md in this folder for the format.
#
# Coat swatches, one per row in a fixed order: a coat draws a hue, saturation and value in these
# ranges (HSV in sRGB terms, hue in degrees). Earthy, low-saturation coats that sit with the
# terrain's dirt, stone and wood.

[swatch Brown]
hue = 22, 34
sat = 0.38, 0.52
value = 0.32, 0.48

[swatch Tan]
hue = 32, 44
sat = 0.28, 0.4
value = 0.55, 0.7

[swatch Grey]
hue = 25, 45
sat = 0.04, 0.1
value = 0.4, 0.6

[swatch Rust]
hue = 14, 26
sat = 0.46, 0.58
value = 0.45, 0.58

[swatch Cream]
hue = 36, 48
sat = 0.1, 0.2
value = 0.74, 0.84

[swatch Charcoal]
hue = 20, 40
sat = 0.12, 0.24
value = 0.27, 0.34

[swatch Olive]
hue = 65, 95
sat = 0.26, 0.42
value = 0.34, 0.48

[swatch Slate]
hue = 195, 220
sat = 0.14, 0.26
value = 0.4, 0.55

[swatch Mauve]
hue = 295, 335
sat = 0.08, 0.17
value = 0.38, 0.5

[swatch Teal]
hue = 165, 185
sat = 0.2, 0.34
value = 0.34, 0.46

# Body plans, one per archetype (the Arch enum).
#
#   torso width, torso height, torso lift   at the hips, middle and chest, in body radii
#   segments    insect-like bodies: separate segments on a narrow core (0 when left out)
#   leg, tail   leg thickness and tail root width, in body radii
#   droop       how far the tail droops
#   tuck        legs stand under the body's corners rather than splaying out
#   swatches    the coats it may wear

[body Grazer]
torso width = 0.92, 0.86, 1
torso height = 0.92, 0.9, 1.04
torso lift = 0.02, -0.04, -0.06
leg = 1
tail = 0.6
droop = -0.9
tuck = yes
swatches = Brown, Tan, Grey, Rust, Cream, Charcoal

[body Prowler]
torso width = 0.86, 0.74, 1
torso height = 0.86, 0.76, 1
torso lift = 0.04, 0.06, 0
leg = 0.95
tail = 0.66
droop = -0.3
tuck = yes
swatches = Tan, Grey, Rust, Charcoal, Slate, Brown

[body Biped]
torso width = 1, 0.86, 1.02
torso height = 0.84, 0.74, 0.84
torso lift = 0, 0.06, 0.08
leg = 0.95
tail = 0.95
droop = -0.12
tuck = yes
swatches = Brown, Tan, Olive, Slate, Mauve, Teal, Rust

[body Hexapod]
torso width = 0.95, 0.66, 0.78
torso height = 0.92, 0.66, 0.76
torso lift = 0.06, 0, 0
segments = 3
leg = 0.55
tail = 0.9
droop = -0.12
tuck = no
swatches = Olive, Teal, Charcoal, Rust, Slate, Mauve, Brown

[body Crawler]
torso width = 0.92, 0.95, 0.92
torso height = 0.78, 0.82, 0.78
torso lift = 0, 0, 0
segments = 4
leg = 0.6
tail = 0.7
droop = -0.2
tuck = no
swatches = Olive, Teal, Charcoal, Rust, Slate, Mauve, Brown

[body Browser]
torso width = 0.88, 0.86, 0.98
torso height = 0.9, 0.9, 1.02
torso lift = 0, -0.02, -0.04
leg = 0.85
tail = 0.55
droop = -0.85
tuck = yes
swatches = Tan, Cream, Brown, Rust, Grey

[body Hopper]
torso width = 1.05, 0.86, 0.8
torso height = 1.05, 0.88, 0.82
torso lift = 0, 0, 0.02
leg = 0.95
tail = 0.9
droop = -0.2
tuck = yes
swatches = Tan, Cream, Grey, Brown, Rust, Mauve

[body Armored]
torso width = 1.02, 1, 0.98
torso height = 0.82, 0.85, 0.8
torso lift = 0, 0, 0
leg = 1
tail = 0.8
droop = -0.2
tuck = yes
swatches = Tan, Olive, Brown, Grey, Slate

[body Bird]
torso width = 0.78, 0.92, 0.94
torso height = 0.78, 0.95, 1
torso lift = 0.04, 0, -0.02
leg = 0.42
tail = 0.6
droop = -0.15
tuck = yes
swatches = Brown, Tan, Grey, Rust, Cream, Charcoal, Slate, Teal, Olive, Mauve

[body Bat]
torso width = 0.78, 0.9, 0.96
torso height = 0.8, 0.9, 0.96
torso lift = 0, 0, 0
leg = 0.42
tail = 0.4
droop = -0.3
tuck = yes
swatches = Charcoal, Brown, Mauve, Grey, Rust

[body Insect]
torso width = 0.92, 0.7, 0.86
torso height = 0.86, 0.7, 0.86
torso lift = 0, 0, 0.04
segments = 3
leg = 0.28
tail = 0.85
droop = -0.06
tuck = no
swatches = Olive, Teal, Charcoal, Rust, Slate, Mauve, Brown

[body Drake]
torso width = 0.92, 0.84, 1
torso height = 0.92, 0.86, 1.02
torso lift = 0.02, 0, -0.02
leg = 0.85
tail = 0.85
droop = -0.25
tuck = yes
swatches = Olive, Rust, Charcoal, Teal, Mauve, Slate

[body Fish]
torso width = 0.5, 0.68, 0.72
torso height = 0.82, 1.05, 1
torso lift = 0, 0, 0
leg = 0.4
tail = 0.95
droop = 0
tuck = no
swatches = Slate, Teal, Grey, Olive, Rust, Cream

[body Ray]
torso width = 0.9, 1, 0.95
torso height = 0.55, 0.6, 0.55
torso lift = 0, 0, 0
leg = 0.4
tail = 0.32
droop = -0.04
tuck = no
swatches = Slate, Grey, Charcoal, Teal

[body Eel]
torso width = 0.9, 0.95, 1
torso height = 1, 1, 1
torso lift = 0, 0, 0
leg = 0.4
tail = 1.7
droop = 0
tuck = no
swatches = Olive, Slate, Charcoal, Teal, Rust

[body Whale]
torso width = 0.72, 0.96, 1
torso height = 0.74, 0.98, 0.96
torso lift = 0.04, 0, 0
leg = 0.6
tail = 1.05
droop = 0.04
tuck = no
swatches = Slate, Grey, Charcoal, Teal

[body Turtle]
torso width = 0.96, 1.02, 0.96
torso height = 0.76, 0.8, 0.76
torso lift = 0, 0, 0
leg = 0.55
tail = 0.5
droop = -0.25
tuck = no
swatches = Olive, Brown, Teal, Tan

[body Newt]
torso width = 0.86, 0.8, 0.88
torso height = 0.72, 0.7, 0.74
torso lift = 0, 0, 0
leg = 0.5
tail = 0.85
droop = -0.04
tuck = no
swatches = Olive, Rust, Mauve, Teal, Charcoal

[body Stalker]
torso width = 0.8, 0.72, 1.05
torso height = 0.82, 0.74, 1.08
torso lift = 0.06, 0.06, 0.02
leg = 0.9
tail = 0.6
droop = -0.4
tuck = yes
swatches = Tan, Grey, Rust, Charcoal, Slate, Brown, Cream

[body Raptor]
torso width = 0.94, 0.82, 0.96
torso height = 0.8, 0.72, 0.8
torso lift = 0, 0.06, 0.08
leg = 0.9
tail = 0.95
droop = -0.08
tuck = yes
swatches = Olive, Rust, Charcoal, Slate, Tan, Teal

[body Tusker]
torso width = 0.96, 0.94, 1.04
torso height = 0.94, 0.96, 1.06
torso lift = 0, -0.04, -0.04
leg = 1.1
tail = 0.5
droop = -0.9
tuck = yes
swatches = Brown, Charcoal, Grey, Rust, Tan

[body Skitter]
torso width = 1, 0.88, 0.8
torso height = 0.98, 0.9, 0.82
torso lift = 0.04, 0.02, 0
leg = 0.9
tail = 0.6
droop = -0.15
tuck = yes
swatches = Tan, Cream, Grey, Brown, Rust

[body Longneck]
torso width = 0.95, 0.95, 1
torso height = 0.95, 1, 1
torso lift = 0, 0.04, 0
leg = 1.25
tail = 0.85
droop = -0.25
tuck = yes
swatches = Grey, Slate, Olive, Tan, Teal, Brown

[body Hawk]
torso width = 0.8, 0.94, 0.98
torso height = 0.8, 0.96, 1.02
torso lift = 0.04, 0, -0.02
leg = 0.46
tail = 0.6
droop = -0.15
tuck = yes
swatches = Brown, Tan, Grey, Rust, Charcoal, Cream, Slate

[body Shark]
torso width = 0.55, 0.78, 0.8
torso height = 0.85, 1.05, 1
torso lift = 0, 0.02, 0
leg = 0.4
tail = 0.95
droop = 0
tuck = no
swatches = Slate, Grey, Charcoal, Teal

# Body plans: each archetype's proportions in metres, drawn per species. Every line is a draw
# (see src/world/data/Draws.hpp for the forms), run in the order of the lines, so the order of the lines
# is part of the data. A line may use a field set above it; fields left out keep their defaults
# (Plan in Fauna.cpp). Field names are as in the code. After the draws, code keeps counts and sizes
# in range and gives land animals a slightly oversized head.
#
#   kind       what the species is called in the game (not a draw)
#   gait       Diagonal, Tripod, Wave, Bound or Biped
#   loco       Land, Fly or Swim
#   yes / no   for the fields that are on or off (ears, crest, shell, ...)


[body Spider]
# A fat abdomen behind, a pinched waist and the head-and-thorax in front, on thin legs.
torso width = 1.4, 0.5, 0.95
torso height = 1.25, 0.5, 0.8
torso lift = 0.3, 0, 0
leg = 0.38
tail = 0.4
droop = -0.1
tuck = no
swatches = Charcoal, Brown, Slate, Rust, Mauve
[plan Grazer]
kind = grazer
length = 1.3 .. 2.2
radius = length × 0.16 .. 0.22
bodyY = length × 0.48 .. 0.62
neckLen = length × 0.24 .. 0.42
neckLift = 0.5 .. 0.8
headR = radius × 0.72
headLen = headR × 1.1 .. 1.5
snout = headR × 0.6 .. 1.4
horns = chance 0.55 ? (chance 0.25 ? 1 : 2) : 0
hornLen = headR × 1.2 .. 2.4
ears = yes
earSize = headR × 0.6 .. 1.3
mane = chance 0.4
legPairs = 2
kneeFwd = bodyY × 0.18
footLen = bodyY × 0.16
foot = chance 0.5 ? 1 : 0
tailLen = length × 0.45 .. 0.9
tailEnd = chance 0.5 ? 1 : 0
hump = chance 0.3

[plan Prowler]
kind = prowler
length = 1.2 .. 2.0
radius = length × 0.2 .. 0.26
bodyY = radius × 1.15 .. 1.45
pitch = -0.08 .. 0.05
neckLen = radius × 0.7 .. 1.2
neckLift = 0.25
neckFwd = 0.85
headR = radius × 0.85
headLen = headR × 1.15
snout = headR × 0.8 .. 1.6
ears = chance 0.7
earSize = headR × 0.45 .. 0.9
legPairs = 2
kneeFwd = bodyY × 0.22
footLen = headR × 0.55
foot = 2
tailLen = length × 0.7 .. 1.15
tailEnd = 0
crest = chance 0.3

[plan Biped]
kind = strider
gait = Biped
# A theropod's build: a level body balanced over the hips by a long neck and a longer tail,
# backward-bending ankles and small forearms, so it never reads as a person standing up.
length = 0.9 .. 1.5
radius = length × 0.22 .. 0.29
bodyY = length × 0.75 .. 1.0
pitch = 0.22 .. 0.45
spineN = 4
neckLen = radius × 1.1 .. 1.8
neckLift = 0.5 .. 0.75
neckFwd = 0.55 .. 0.8
neckN = 3
headR = radius × 0.6
headLen = headR × 1.5 .. 2.1
snout = headR × 0.9 .. 1.7
horns = chance 0.3 ? 2 : 0
hornLen = headR × 1.2
ears = chance 0.5
earSize = headR × 0.4 .. 0.8
crest = chance 0.5
legPairs = 1
kneeFwd = -bodyY × 0.2
footLen = bodyY × 0.2 .. 0.26
foot = chance 0.75 ? 2 : 0
armPairs = 1
armLen = length × 0.2 .. 0.32
tailLen = length × 0.9 .. 1.35
tailN = 5
tailEnd = chance 0.4 ? 1 : 0

[plan Hexapod]
kind = hexapod
gait = Tripod
length = 0.9 .. 1.6
radius = length × 0.16 .. 0.22
bodyY = radius × 1.3 .. 1.8
pitch = 0.02
neckLen = radius × 0.45
neckLift = 0.2
neckFwd = 0.7
headR = radius × 0.7
headLen = headR
snout = headR × 0.25
eyes = 2
stalks = chance 0.35
antennae = yes
ears = no
legPairs = 3
legSpread = radius × 0.35
kneeFwd = radius × 0.15
kneeOut = radius × 0.85
footLen = radius × 0.45
foot = 2
tailLen = length × 0.25 .. 0.7
tailN = 3
tailEnd = 0
shell = chance 0.25

[plan Crawler]
kind = crawler
gait = Wave
length = 1.0 .. 1.8
radius = length × 0.18 .. 0.24
bodyY = radius × 1.2 .. 1.5
neckLen = radius × 0.35
neckLift = 0.1
neckFwd = 0.6
headR = radius × 0.55
headLen = headR × 0.8
snout = headR × 0.3
antennae = chance 0.6
ears = no
eyes = chance 0.4 ? 4 : 2
legPairs = 4
legSpread = radius × 0.25
kneeFwd = radius × 0.05
kneeOut = radius × 0.55
footLen = radius × 0.3
foot = 2
tailLen = length × 0.25
tailN = 2
shell = chance 0.3
spines = chance 0.45

[plan Browser]
kind = browser
length = 1.4 .. 2.0
radius = length × 0.18 .. 0.24
bodyY = length × 0.62 .. 0.8
neckLen = length × 0.6 .. 0.85
neckLift = 0.8 .. 1.0
neckFwd = 0.35
neckN = 3
headR = radius × 0.58
headLen = headR × 1.3
snout = headR × 0.8
horns = chance 0.5 ? 2 : 0
hornLen = headR × 1.2
ears = yes
earSize = headR
legPairs = 2
kneeFwd = bodyY × 0.14
footLen = bodyY × 0.14
foot = 1
tailLen = length × 0.5 .. 0.8
tailEnd = 1
hump = chance 0.35

[plan Hopper]
kind = hopper
gait = Bound
length = 0.8 .. 1.3
radius = length × 0.28 .. 0.36
bodyY = length × 0.85 .. 1.15
pitch = 0.25 .. 0.45
neckLen = radius × 0.4
neckLift = 0.35
headR = radius × 0.7
headLen = headR × 1.1
snout = headR × 0.4
ears = yes
earSize = headR × 0.8 .. 1.6
legPairs = 2
kneeFwd = bodyY × 0.22
footLen = bodyY × 0.22
foot = 0
tailLen = length × 0.6 .. 1.0
tailEnd = 1

[plan Armored]
kind = armored
length = 1.1 .. 1.8
radius = length × 0.24 .. 0.3
bodyY = radius × 1.25 .. 1.5
neckLen = radius × 0.4
neckLift = 0.15
headR = radius × 0.5
headLen = headR × 0.9
snout = headR × 0.35
ears = no
horns = chance 0.4 ? 1 : 0
hornLen = headR × 1.1
legPairs = 2
kneeFwd = bodyY × 0.12
kneeOut = radius × 0.2
footLen = radius × 0.35
foot = 2
tailLen = length × 0.35 .. 0.7
tailEnd = 4
shell = yes
plates = chance 0.5

[plan Bird]
kind = glider
loco = Fly
gait = Biped
length = 0.55 .. 1.1
radius = length × 0.28 .. 0.38
bodyY = length × 0.7 .. 1.0
pitch = 0.15
neckLen = radius × 0.6 .. 1.3
neckLift = 0.7
neckFwd = 0.4
headR = radius × 0.55
headLen = headR × 0.9
snout = headR × 0.9 .. 2.2
ears = no
crest = chance 0.55
legPairs = 1
kneeFwd = bodyY × 0.1
footLen = headR × 0.7
foot = 2
wings = 2
wingStyle = 0
wingSpan = length × 1.7 .. 2.4
tailLen = length × 0.35 .. 0.7
tailN = 3
tailEnd = 2

[plan Bat]
kind = membranewing
loco = Fly
length = 0.6 .. 1.15
radius = length × 0.26 .. 0.34
bodyY = radius × 1.2
neckLen = radius × 0.4
neckLift = 0.3
headR = radius × 0.75
headLen = headR × 1.05
snout = headR × 0.3 .. 0.8
ears = yes
earSize = headR × 1.4 .. 2.4
legPairs = 1
kneeFwd = radius × 0.1
footLen = headR × 0.45
foot = 2
wings = 2
wingStyle = 1
wingSpan = length × 1.8 .. 2.6
tailLen = length × 0.25
tailN = 2
tailEnd = 0

[plan Insect]
kind = darter
loco = Fly
gait = Tripod
length = 0.7 .. 1.15
radius = length × 0.14 .. 0.2
bodyY = radius × 1.5
neckLen = radius × 0.3
neckLift = 0.15
headR = radius × 0.85
headLen = headR × 0.9
snout = headR × 0.15
eyes = 2
antennae = yes
ears = no
legPairs = 3
legSpread = radius × 0.3
kneeOut = radius × 0.9
kneeFwd = radius × 0.1
footLen = radius × 0.35
foot = 2
wings = chance 0.45 ? 4 : 2
wingStyle = 2
wingSpan = length × 1.1 .. 1.7
tailLen = length × 0.45 .. 0.9
tailN = 4
tailEnd = 0

[plan Drake]
kind = drake
loco = Fly
length = 1.3 .. 2.2
radius = length × 0.16 .. 0.22
bodyY = length × 0.42 .. 0.58
neckLen = length × 0.4 .. 0.7
neckLift = 0.55
neckFwd = 0.6
headR = radius × 0.7
headLen = headR × 1.4
snout = headR × 0.8 .. 1.6
horns = chance 0.7 ? 2 : (chance 0.5 ? 4 : 0)
hornLen = headR × 1.0 .. 2.0
ears = no
crest = chance 0.4
frill = chance 0.35
legPairs = 2
kneeFwd = bodyY × 0.18
footLen = bodyY × 0.16
foot = 2
wings = 2
wingStyle = 1
wingSpan = length × 1.3 .. 1.9
tailLen = length × 0.8 .. 1.3
tailEnd = chance 0.5 ? 3 : 1
spines = chance 0.55
plates = chance 0.3

[plan Fish]
kind = darterfish
loco = Swim
length = 0.8 .. 1.8
radius = length × 0.14 .. 0.22
bodyY = radius × 1.15
pitch = 0
neckLen = radius × 0.25
neckLift = 0.05
neckFwd = 0.8
headR = radius × 0.75
headLen = headR × 1.2
snout = headR × 0.2 .. 0.7
ears = no
eyes = 2
legPairs = 0
dorsal = yes
tailLen = length × 0.35 .. 0.55
tailN = 3
tailEnd = 3

[plan Ray]
kind = ray
loco = Swim
length = 1.2 .. 2.4
radius = length × 0.08 .. 0.12
bodyY = radius × 1.4
neckLen = radius × 0.4
neckLift = 0.0
neckFwd = 0.5
headR = length × 0.18
headLen = headR × 0.7
snout = headR × 0.4
ears = no
legPairs = 0
wings = 2
wingStyle = 1
wingSpan = length × 1.4 .. 2.1
tailLen = length × 0.8 .. 1.4
tailN = 5
tailEnd = 0

[plan Eel]
kind = eel
loco = Swim
length = 1.6 .. 3.2
radius = length × 0.045 .. 0.07
bodyY = radius × 1.3
spineN = 5
neckLen = radius × 0.5
neckLift = 0.05
neckFwd = 0.9
headR = radius × 1.15
headLen = headR × 1.4
snout = headR × 0.4
ears = no
legPairs = 0
dorsal = yes
tailLen = length × 0.45
tailN = 5
tailEnd = 2

[plan Whale]
kind = leviathan
loco = Swim
length = 2.4 .. 4.2
radius = length × 0.16 .. 0.22
bodyY = radius × 1.05
neckLen = radius × 0.35
neckLift = 0.1
neckFwd = 0.7
headR = radius × 0.7
headLen = headR × 1.5
snout = headR × 0.3
ears = no
legPairs = 1
flippers = yes
legSpread = radius × 0.15
footLen = radius × 0.9
dorsal = chance 0.7
tailLen = length × 0.28
tailN = 2
tailEnd = 3
hump = no

[plan Turtle]
kind = shelled
loco = Swim
length = 0.9 .. 1.6
radius = length × 0.22 .. 0.3
bodyY = radius × 0.85
neckLen = radius × 0.5 .. 0.9
neckLift = 0.15
neckFwd = 0.85
headR = radius × 0.38
headLen = headR × 1.1
snout = headR × 0.45
ears = no
legPairs = 2
flippers = yes
footLen = radius × 0.7
kneeOut = radius × 0.15
shell = yes
tailLen = radius × 0.6
tailN = 2
tailEnd = 0

[plan Newt]
kind = newt
loco = Swim
length = 0.8 .. 1.4
radius = length × 0.12 .. 0.17
bodyY = radius × 1.25
neckLen = radius × 0.45
neckLift = 0.2
headR = radius × 0.7
headLen = headR × 1.2
snout = headR × 0.5
ears = no
legPairs = 2
flippers = yes
foot = 3
footLen = radius × 0.55
kneeOut = radius × 0.25
dorsal = yes
tailLen = length × 0.7 .. 1.1
tailEnd = 2

[plan Stalker]
# A long-legged hunter: deep chest, big head on a short strong neck, a long jaw.
kind = stalker
length = 1.3 .. 2.1
radius = length × 0.17 .. 0.21
bodyY = length × 0.48 .. 0.6
pitch = -0.04 .. 0.04
neckLen = radius × 1.0 .. 1.5
neckLift = 0.35
neckFwd = 0.8
headR = radius × 0.9
headLen = headR × 1.3
snout = headR × 1.1 .. 1.7
ears = yes
earSize = headR × 0.5 .. 0.9
mane = chance 0.3
crest = chance 0.2
legPairs = 2
kneeFwd = bodyY × 0.2
footLen = headR × 0.6
foot = 2
tailLen = length × 0.6 .. 1.0
tailEnd = 0

[plan Raptor]
# A strider built to hunt: level and long, a long toothed head and a stiff balancing tail.
kind = raptor
gait = Biped
length = 1.0 .. 1.7
radius = length × 0.2 .. 0.25
bodyY = length × 0.7 .. 0.9
pitch = 0.15 .. 0.3
spineN = 4
neckLen = radius × 1.0 .. 1.5
neckLift = 0.45 .. 0.65
neckFwd = 0.65 .. 0.85
neckN = 3
headR = radius × 0.62
headLen = headR × 1.9 .. 2.4
snout = headR × 1.4 .. 2.0
ears = no
crest = chance 0.6
legPairs = 1
kneeFwd = -bodyY × 0.22
footLen = bodyY × 0.26
foot = 2
armPairs = 1
armLen = length × 0.22 .. 0.3
tailLen = length × 1.1 .. 1.5
tailN = 5
tailEnd = chance 0.3 ? 1 : 0
spines = chance 0.25

[plan Tusker]
# A heavy grazer: barrel body, low head, tusks, and a temper.
kind = tusker
length = 1.5 .. 2.4
radius = length × 0.22 .. 0.27
bodyY = length × 0.45 .. 0.55
neckLen = length × 0.12 .. 0.2
neckLift = 0.3
neckFwd = 0.8
headR = radius × 0.8
headLen = headR × 1.3
snout = headR × 0.8 .. 1.3
horns = chance 0.5 ? 2 : 0
hornLen = headR × 0.9 .. 1.6
ears = yes
earSize = headR × 0.7 .. 1.3
mane = chance 0.3
legPairs = 2
kneeFwd = bodyY × 0.12
footLen = bodyY × 0.14
foot = 1
tailLen = length × 0.25 .. 0.45
tailEnd = 1
hump = chance 0.5

[plan Skitter]
# Small, quick and nervous: big ears, a long tail, gone at the first sign of trouble.
kind = skitter
length = 0.55 .. 0.85
radius = length × 0.22 .. 0.28
bodyY = radius × 1.3 .. 1.7
pitch = 0.1
neckLen = radius × 0.35
neckLift = 0.3
headR = radius × 0.85
headLen = headR × 1.2
snout = headR × 0.5 .. 0.9
ears = yes
earSize = headR × 0.9 .. 1.6
legPairs = 2
kneeFwd = bodyY × 0.2
footLen = bodyY × 0.25
foot = 0
tailLen = length × 0.7 .. 1.3
tailEnd = chance 0.5 ? 1 : 0

[plan Longneck]
# Pillar legs and a neck long enough to crop the canopy.
kind = longneck
length = 1.8 .. 2.6
radius = length × 0.2 .. 0.25
bodyY = length × 0.5 .. 0.6
neckLen = length × 0.9 .. 1.2
neckLift = 0.75 .. 0.9
neckFwd = 0.45
neckN = 3
headR = radius × 0.45
headLen = headR × 1.3
snout = headR × 0.7
ears = chance 0.3
earSize = headR × 0.6
legPairs = 2
kneeFwd = bodyY × 0.06
footLen = bodyY × 0.1
foot = 1
tailLen = length × 0.9 .. 1.3
tailN = 5
tailEnd = 0
plates = chance 0.3

[plan Hawk]
# A hunting bird: broad wings, a short hooked beak, big taloned feet.
kind = hawk
loco = Fly
gait = Biped
length = 0.8 .. 1.3
radius = length × 0.28 .. 0.34
bodyY = length × 0.75 .. 0.95
pitch = 0.12
neckLen = radius × 0.5 .. 0.8
neckLift = 0.6
neckFwd = 0.5
headR = radius × 0.55
headLen = headR
snout = headR × 0.9 .. 1.3
ears = no
crest = chance 0.3
legPairs = 1
kneeFwd = bodyY × 0.1
footLen = headR × 0.9
foot = 2
wings = 2
wingStyle = 0
wingSpan = length × 2.2 .. 2.8
tailLen = length × 0.4 .. 0.6
tailN = 3
tailEnd = 2

[plan Shark]
# A long, heavy swimmer with a tall dorsal fin and a toothed mouth.
kind = shark
loco = Swim
length = 1.6 .. 3.0
radius = length × 0.13 .. 0.17
bodyY = radius × 1.15
pitch = 0
neckLen = radius × 0.25
neckLift = 0.05
neckFwd = 0.8
headR = radius × 0.85
headLen = headR × 1.5
snout = headR × 0.6 .. 1.0
ears = no
eyes = 2
legPairs = 0
dorsal = yes
tailLen = length × 0.4 .. 0.55
tailN = 3
tailEnd = 3

# Looks: each archetype's coat and face, drawn per species after its body plan, in the order of
# the lines (see src/world/data/Draws.hpp for the forms). Field names are as in the code (Look in
# Fauna.cpp); ears, stalks, eyes and horns are the body plan's, to read. Coats are Fur, Scales,
# Chitin, Feathers or Skin; eyes Bead, Round, Iris, Slit, Compound, Stalk, Cyclops or Quad; ears
# None, Point, Round, Floppy, Hang, Long, Fin or Gills; snouts Flat, Muzzle, Long, Pig, Beak,
# Mandible or Trunk; horn styles None, Straight, Bull, Ram, Antler, Nose or Unicorn; patterns
# None, Stripes, Spots, Saddle, Dapple, Bands, Net or Dorsal; marks None, Mask, Blaze, Muzzle or
# Dark.
#
#   horn weights   Straight, Bull, Ram and Antler for a pair of horns (not a draw: code picks one
#                  after the lines, 0.3, 0.25, 0.25, 0.2 when left out)


[plan Spider]
# A giant cave spider: eight long legs that splay out round a low body, knees up over its back.
kind = spider
gait = Wave
length = 1.3 .. 1.8
radius = length × 0.21 .. 0.26
bodyY = radius × 1.5 .. 1.8
pitch = 0
neckLen = radius × 0.2
neckLift = 0.1
neckFwd = 0.8
headR = radius × 0.55
headLen = headR × 0.9
snout = headR × 0.35
eyes = 4
antennae = no
ears = no
legPairs = 4
legSpread = radius × 0.05
kneeFwd = 0
kneeOut = 0
footLen = radius × 0.25
foot = 2
tailLen = length × 0.12
tailN = 2
tailEnd = 0
spines = chance 0.5
[look Grazer]
coat = Fur
eye = pick Iris 0.5, Round 0.25, Bead 0.25
sideEyes = chance 0.6
lid = chance 0.35
ear = pick Point 0.3, Floppy 0.25, Round 0.15, Hang 0.15, Long 0.15
snout = pick Muzzle 0.6, Pig 0.14, Trunk 0.12, Long 0.14
tusks = if snout is Trunk ? chance 0.6 : chance 0.08
pattern = pick None 0.3, Stripes 0.14, Spots 0.16, Saddle 0.12, Dapple 0.12, Bands 0.04, Net 0.08, Dorsal 0.04
mark = pick None 0.4, Mask 0.08, Blaze 0.26, Muzzle 0.26, Dark 0
socks = chance 0.35
tipTail = chance 0.4

[look Prowler]
coat = chance 0.8 ? Fur : Scales
eye = pick Slit 0.5, Iris 0.3, Round 0.2
brow = chance 0.6
ear = if ears ? pick Point 0.6, Round 0.35, None 0.05 : None
earSplay = chance 0.4
snout = chance 0.55 ? Long : Muzzle
teeth = if snout is Long ? chance 0.7 : no
pattern = pick None 0.25, Stripes 0.3, Spots 0.25, Saddle 0.12, Dapple 0, Bands 0.04, Net 0, Dorsal 0.04
mark = pick None 0.4, Mask 0.35, Blaze 0.1, Muzzle 0.15, Dark 0
socks = chance 0.25
ringTail = chance 0.3
spikyCrest = yes

[look Biped]
coat = pick Fur 0.4, Scales 0.35, Skin 0.25
eye = pick Round 0.3, Iris 0.3, Slit 0.2, Cyclops 0.1, Quad 0.1
brow = chance 0.2
sideEyes = chance 0.5
ear = pick Point 0.3, Round 0.2, Long 0.15, Fin 0.15, None 0.2
earBend = chance 0.5
snout = pick Flat 0, Muzzle 0.35, Long 0.35, Beak 0.25, Pig 0.05
teeth = if snout is Long ? yes : no
hook = chance 0.4
pattern = pick None 0.3, Stripes 0.15, Spots 0.2, Saddle 0.1, Dapple 0.05, Bands 0.1, Net 0, Dorsal 0.1
mark = pick None 0.4, Mask 0.2, Blaze 0.15, Muzzle 0.15, Dark 0.1
ringTail = chance 0.25
horn weights = 0.4, 0.2, 0.3, 0.1

[look Hexapod]
coat = Chitin
eye = if stalks ? Stalk : pick Compound 0.5, Quad 0.25, Bead 0.25
snout = chance 0.6 ? Mandible : Flat
hornStyle = chance 0.3 ? Nose : hornStyle
pattern = pick None 0.35, Stripes 0.15, Spots 0.15, Saddle 0, Dapple 0, Bands 0.3, Net 0, Dorsal 0.05
antKnob = chance 0.6

[look Crawler]
coat = chance 0.7 ? Chitin : Scales
eye = if eyes >= 4 ? Quad : pick Bead 0.6, Compound 0.4
snout = chance 0.7 ? Mandible : Flat
pattern = pick None 0.3, Stripes 0.1, Spots 0.25, Saddle 0, Dapple 0, Bands 0.35, Net 0, Dorsal 0
antKnob = chance 0.4

[look Browser]
coat = Fur
eye = chance 0.6 ? Iris : Round
sideEyes = chance 0.7
lid = chance 0.5
ear = pick Point 0.45, Floppy 0.3, Round 0.25
snout = chance 0.7 ? Muzzle : Long
pattern = pick None 0.2, Stripes 0.05, Spots 0.25, Saddle 0.1, Dapple 0.05, Bands 0, Net 0.35, Dorsal 0
mark = pick None 0.5, Mask 0, Blaze 0.2, Muzzle 0.3, Dark 0
socks = chance 0.3
horn weights = 0.6, 0, 0, 0.4

[look Hopper]
coat = Fur
eye = chance 0.5 ? Round : (chance 0.5 ? Iris : Bead)
sideEyes = chance 0.5
ear = pick Long 0.6, Point 0.25, Round 0.15
earBend = chance 0.4
snout = pick Muzzle 0.55, Flat 0.3, Pig 0.15
pattern = pick None 0.35, Stripes 0.05, Spots 0.15, Saddle 0.15, Dapple 0.2, Bands 0, Net 0, Dorsal 0.1
mark = pick None 0.35, Mask 0.1, Blaze 0.25, Muzzle 0.3, Dark 0
tipTail = chance 0.5

[look Armored]
coat = chance 0.6 ? Scales : Skin
eye = chance 0.6 ? Bead : Iris
snout = chance 0.3 ? Beak : (chance 0.6 ? Muzzle : Flat)
hornStyle = if horns >= 1 ? Nose : hornStyle
pattern = pick None 0.5, Stripes 0, Spots 0.3, Saddle 0, Dapple 0, Bands 0.2, Net 0, Dorsal 0

[look Bird]
coat = Feathers
eye = pick Round 0.35, Iris 0.35, Bead 0.3
sideEyes = chance 0.5
ear = chance 0.15 ? Point : None
snout = Beak
hook = chance 0.4
pattern = pick None 0.4, Stripes 0, Spots 0.15, Saddle 0.15, Dapple 0, Bands 0.2, Net 0, Dorsal 0.1
mark = pick None 0.5, Mask 0.3, Blaze 0, Muzzle 0, Dark 0.2
wingBar = chance 0.5

[look Bat]
coat = Fur
eye = chance 0.5 ? Bead : Round
ear = chance 0.7 ? Point : Round
earSplay = chance 0.5
snout = chance 0.5 ? Pig : (chance 0.5 ? Muzzle : Flat)
pattern = pick None 0.6, Stripes 0, Spots 0, Saddle 0.25, Dapple 0, Bands 0, Net 0, Dorsal 0.15
mark = pick None 0.5, Mask 0.2, Blaze 0, Muzzle 0.1, Dark 0.2

[look Insect]
coat = Chitin
eye = chance 0.7 ? Compound : Bead
snout = chance 0.6 ? Mandible : Flat
pattern = pick None 0.3, Stripes 0.2, Spots 0, Saddle 0, Dapple 0, Bands 0.5, Net 0, Dorsal 0
antKnob = chance 0.5

[look Drake]
coat = Scales
eye = chance 0.6 ? Slit : Iris
brow = chance 0.7
ear = chance 0.5 ? Fin : None
snout = pick Long 0.7, Beak 0.15, Muzzle 0.15
teeth = if snout is Long ? yes : no
pattern = pick None 0.25, Stripes 0.2, Spots 0.15, Saddle 0.15, Dapple 0, Bands 0.15, Net 0, Dorsal 0.1
spikyCrest = yes
horn weights = 0.45, 0.15, 0.35, 0.05

[look Fish]
coat = Scales
eye = chance 0.4 ? Round : (chance 0.5 ? Iris : Bead)
sideEyes = yes
snout = pick Flat 0.5, Long 0.2, Muzzle 0.3
teeth = if snout is Long ? yes : no
pattern = pick None 0.2, Stripes 0.3, Spots 0.2, Saddle 0.1, Dapple 0, Bands 0.2, Net 0, Dorsal 0

[look Ray]
coat = Skin
eye = Bead
snout = Flat
pattern = pick None 0.4, Stripes 0, Spots 0.4, Saddle 0, Dapple 0.2, Bands 0, Net 0, Dorsal 0

[look Eel]
coat = chance 0.6 ? Skin : Scales
eye = chance 0.6 ? Bead : Round
sideEyes = yes
snout = chance 0.5 ? Long : Flat
teeth = if snout is Long ? yes : no
ear = chance 0.3 ? Fin : None
pattern = pick None 0.2, Stripes 0, Spots 0.3, Saddle 0, Dapple 0, Bands 0.4, Net 0, Dorsal 0.1

[look Whale]
coat = Skin
eye = Bead
sideEyes = yes
snout = chance 0.6 ? Flat : Muzzle
pattern = pick None 0.6, Stripes 0, Spots 0.3, Saddle 0, Dapple 0.1, Bands 0, Net 0, Dorsal 0

[look Turtle]
coat = Scales
eye = chance 0.6 ? Bead : Iris
sideEyes = chance 0.5
snout = chance 0.6 ? Beak : Flat
pattern = pick None 0.4, Stripes 0.1, Spots 0.4, Saddle 0, Dapple 0, Bands 0, Net 0, Dorsal 0.1

[look Newt]
coat = Skin
eye = chance 0.6 ? Bead : Round
ear = chance 0.7 ? Gills : None
snout = chance 0.7 ? Flat : Muzzle
pattern = pick None 0.2, Stripes 0.2, Spots 0.4, Saddle 0, Dapple 0, Bands 0, Net 0, Dorsal 0.2

[look Stalker]
coat = chance 0.85 ? Fur : Scales
eye = pick Slit 0.6, Iris 0.4
brow = yes
ear = pick Point 0.75, Round 0.25
earSplay = chance 0.3
snout = Long
teeth = yes
pattern = pick None 0.2, Stripes 0.3, Spots 0.3, Saddle 0.15, Dapple 0, Bands 0, Net 0, Dorsal 0.05
mark = pick None 0.3, Mask 0.4, Blaze 0.05, Muzzle 0.15, Dark 0.1
socks = chance 0.3
tipTail = chance 0.35
spikyCrest = yes

[look Raptor]
coat = pick Scales 0.6, Skin 0.25, Fur 0.15
eye = pick Slit 0.5, Iris 0.35, Round 0.15
brow = chance 0.7
snout = Long
teeth = yes
hook = yes
pattern = pick None 0.2, Stripes 0.35, Spots 0.2, Saddle 0.1, Dapple 0, Bands 0.1, Net 0, Dorsal 0.05
mark = pick None 0.4, Mask 0.3, Blaze 0.1, Muzzle 0.1, Dark 0.1
spikyCrest = yes

[look Tusker]
coat = chance 0.75 ? Fur : Skin
eye = chance 0.6 ? Bead : Iris
brow = chance 0.5
ear = pick Floppy 0.3, Round 0.25, Hang 0.25, Point 0.2
snout = pick Pig 0.4, Trunk 0.3, Muzzle 0.3
tusks = yes
pattern = pick None 0.5, Stripes 0.15, Spots 0.1, Saddle 0.15, Dapple 0, Bands 0, Net 0, Dorsal 0.1
mark = pick None 0.5, Mask 0.1, Blaze 0.1, Muzzle 0.2, Dark 0.1
tipTail = chance 0.6

[look Skitter]
coat = Fur
eye = chance 0.6 ? Bead : Round
sideEyes = chance 0.6
ear = pick Round 0.45, Point 0.3, Long 0.25
earBend = chance 0.3
snout = pick Muzzle 0.5, Pig 0.3, Flat 0.2
pattern = pick None 0.35, Stripes 0.2, Spots 0.15, Saddle 0.1, Dapple 0.1, Bands 0, Net 0, Dorsal 0.1
mark = pick None 0.4, Mask 0.1, Blaze 0.2, Muzzle 0.3, Dark 0
ringTail = chance 0.3
tipTail = chance 0.4

[look Longneck]
coat = chance 0.6 ? Skin : Scales
eye = chance 0.6 ? Bead : Iris
sideEyes = yes
ear = if ears ? Round : None
snout = chance 0.6 ? Muzzle : Flat
pattern = pick None 0.3, Stripes 0.15, Spots 0.25, Saddle 0.1, Dapple 0.1, Bands 0, Net 0.1, Dorsal 0
mark = pick None 0.6, Mask 0, Blaze 0.1, Muzzle 0.2, Dark 0.1

[look Hawk]
coat = Feathers
eye = Iris
brow = yes
snout = Beak
hook = yes
pattern = pick None 0.35, Stripes 0.15, Spots 0.15, Saddle 0.15, Dapple 0, Bands 0.15, Net 0, Dorsal 0.05
mark = pick None 0.4, Mask 0.4, Blaze 0, Muzzle 0, Dark 0.2
wingBar = chance 0.5

[look Shark]
coat = Skin
eye = Bead
sideEyes = yes
snout = chance 0.6 ? Long : Muzzle
teeth = yes
pattern = pick None 0.6, Stripes 0.15, Spots 0.25, Saddle 0, Dapple 0, Bands 0, Net 0, Dorsal 0
mark = pick None 0.6, Mask 0, Blaze 0, Muzzle 0, Dark 0.4

[look Spider]
coat = Chitin
eye = Quad
snout = Mandible
pattern = pick None 0.3, Stripes 0.1, Spots 0.2, Saddle 0.15, Dapple 0, Bands 0.25, Net 0, Dorsal 0
antKnob = no
