# The nations' places (design 19.7 and 20.1, steps 37d and 37e; read by
# src/world/structures/NationPlaces.cpp). On a nation's worlds (not the start system's) some
# structure cells hold one of its places, picked by weight from those that suit the system; a
# settlement there grows into a spaceport town. Each is built from parts round a plaza, in plain
# materials the owner's kit then swaps for its own (kits.txt), with its own kit blocks for accents.
#
#   name      what it's called; {name} is a syllable name
#   nation    whose it is: nation keys (galaxy.txt), Syndicate, Settlers (the Reaches outside
#             the Syndicate's systems), or any
#   org       the organization it belongs to (nations.txt), for its sign and the design notes
#   where     settled, frontier or any (a frontier system's or a settled one's); region KEY
#             limits it to one galaxy region's systems (region Frontier: the Republic Frontier)
#   weight    its odds against the others that suit the system
#   grows     Settlement: a settlement in such a system becomes this instead
#   spread    how far the slots stand from the middle, blocks (default 16)
#   district  STYLE RADIUS: the district grown round it (structures/Districts.cpp): a street grid
#             out to RADIUS blocks, or as far as its structure cell allows, its blocks split into
#             lots with a building on each, every one on its own ground. Styles: town, bazaar,
#             shanty, industrial, fort, hive, camp, farm, prefab, warcamp
#   part      KIND ARGS... at SLOT, then options as key:value. Slots: center, back, front, left,
#             right, backleft, backright, frontleft, frontright. Kinds:
#               plaza W L            paving (Cobble) over the middle
#               hall W L H           walls (Bricks), roof (RoofTiles), a door to the plaza;
#                                    roof:flat|pitched|vault|dome, wall:KITBLOCK, trim:KITBLOCK,
#                                    counter:SHOP (a [shop KIND] of prices.txt), open (an open
#                                    front), tables
#               tower W H            a square tower; top:beacon|brazier|dish|lamp|banner,
#                                    wall:KITBLOCK
#               spire R H            a round tower narrowing as it rises; top as a tower's
#               dome R               a glass dome (block:KITBLOCK for its glass) over a floor
#               wall H               a wall round the whole place with a gate to the front;
#                                    radius:N, wall:KITBLOCK
#               pad S                a landing pad with lamps at its corners
#               houses N             small houses round the plaza; radius:N, style:hut|prefab|
#                                    burrow
#               pit W L D            a stepped quarry pit
#               arena R              a sand ring with stepped seats round it
#               stacks N             stacked cargo containers
#               scrap N              piles of scrap and rusted plate
#               fields W L           rows of crops
#               mast H               a mast with a beacon on top
#               deco KITBLOCK N      N of a kit block (or a block type) round the plaza's edge
#   person    ROLE at SLOT, or ROLE at SLOT x N. Roles: structures.txt's, and Officer, Broker,
#             Shopkeeper, Doctor, Traveller
#
# None of this is in the start system, so the start stays as it was.

# ---------------------------------------------------------------------------------------------
# Shared places (step 37d)

[nation-place SpaceportTown]
name = {name} Port, {name} Landing, Port {name}
district = town 150
nation = any
where = settled
weight = 0
grows = Settlement
spread = 17
part = plaza 13 13 at center
part = pad 11 at front
part = hall 13 9 5 at back roof:pitched counter:general tables
part = hall 9 8 4 at left roof:pitched counter:cantina tables
part = hall 9 8 4 at right roof:flat counter:outfitter
part = houses 7 radius:27 style:hut
part = tower 3 10 at backright top:beacon
part = deco Lamp 6
person = Shopkeeper at back
person = Barkeep at left
person = Shopkeeper at right
person = Traveller at center x 4
person = Officer at front

[nation-place Garrison]
name = {name} Garrison, Fort {name}
district = fort 90
nation = Republic, Ascendancy, Dominion, Hives, Concord
where = any
weight = 1
spread = 14
part = wall 5 radius:22
part = plaza 15 15 at center
part = hall 15 8 5 at back roof:flat counter:general
part = tower 4 12 at backleft top:lamp
part = tower 4 12 at backright top:lamp
part = pad 9 at front
part = stacks 4 at left
person = Officer at back
person = Officer at front x 3
person = Technician at left

[nation-place Shrine]
name = Shrine of {name}, {name} Shrine
district = town 80
nation = Ascendancy, Hives, Dominion
where = settled
weight = 0.7
spread = 12
part = plaza 15 15 at center
part = spire 4 18 at back top:brazier
part = deco Statue 2
part = deco Brazier 4
part = deco Lantern 4
person = Traveller at center x 3

# ---------------------------------------------------------------------------------------------
# The Core Republic (step 37e)

# The prison (design 19.5, step 38d). Not picked by weight: each settled system gets exactly one,
# on the world its generator picks for it (TerrainParams::prison), built here from the `jail`
# part (a walled yard of reinforced plate: cells, a guardroom with the evidence locker and a law
# terminal, and rock to break) with the owner's kit round it.
#               jail W L             the yard and its wall, W wide and L deep
[nation-place Prison]
name = {name} Prison, {name} Penitentiary, {name} Detention Yard
nation = Republic, Ascendancy, Hives, Concord, Dominion
where = settled
weight = 0
spread = 20
part = jail 25 21 at center
part = tower 3 9 at backleft top:lamp
part = tower 3 9 at backright top:lamp
part = pad 9 at front
person = Officer at center x 3
person = Officer at front

# Customs and smugglers (design 19.5, step 38e).
#               cache                a crate of contraband sunk under a heap of scrap
# A customs checkpoint: anyone who walks into it, or lands at it, is scanned (law.txt).
[nation-place CustomsCheckpoint]
name = {name} Customs, {name} Checkpoint
nation = Republic, Ascendancy, Hives, Concord, Dominion
where = any
weight = 0.6
spread = 14
part = plaza 17 17 at center
part = hall 9 7 4 at back roof:flat
part = pad 9 at front
part = mast 9 at backleft
part = stacks 4 at right
person = Officer at back
person = Officer at front x 2

# A smugglers' cache: nobody's on any map, the gang's by rights, and what is in it is contraband.
[nation-place SmugglerCache]
name = {name}'s Cache, The {name} Stash
nation = any
org = Syndicate
where = any
weight = 0.5
spread = 8
part = cache at center
part = scrap 3 at left
part = stacks 2 at back

[nation-place ImpoundYard]
name = {name} Impound Yard
district = industrial 90
nation = Republic
org = WreckClaims
where = settled
weight = 1
part = wall 3 radius:20
part = plaza 21 21 at center
part = hall 9 7 4 at backleft roof:flat counter:shipwright wall:CivicPanel
part = scrap 6 at right
part = stacks 6 at left
part = pad 11 at center
person = Officer at backleft
person = Technician at right x 2

[nation-place UnionHall]
name = {name} Union Hall, Hall of the {name} Local
district = town 130
nation = Republic
org = HaldenOre
where = settled
weight = 1
part = plaza 11 11 at center
part = hall 17 11 6 at back roof:vault counter:cantina tables trim:GoldTrim
part = deco BlueBanner 4
part = houses 4 radius:22 style:prefab
person = Barkeep at back
person = Miner at center x 4

[nation-place ClaimBeacon]
name = {name} Claim
district = camp 50
nation = Republic
org = SurveyBureau
where = frontier
weight = 1.4
spread = 8
part = mast 14 at center
part = hall 7 6 3 at front roof:flat wall:CivicPanel
part = deco WarmLamp 4
person = Prospector at front x 2

[nation-place MarshalsOffice]
name = {name} Marshal's Office
district = town 110
nation = Republic
org = Marshals
where = any
region = Frontier
weight = 1.5
part = plaza 11 9 at center
part = hall 13 9 5 at back roof:pitched counter:general trim:GoldTrim
part = tower 3 9 at backright top:lamp
part = pad 9 at front
person = Officer at back x 2
person = Traveller at center

[nation-place PrefabModules]
name = {name} Prefab, {name} Modules
district = prefab 110
nation = Republic
org = SurveyBureau
where = any
region = Frontier
weight = 1.5
part = plaza 9 9 at center
part = houses 8 radius:14 style:prefab
part = hall 11 7 4 at back roof:flat counter:general wall:CivicPanel
part = pad 9 at front
person = Shopkeeper at back
person = Prospector at center x 3

# ---------------------------------------------------------------------------------------------
# The Ascendancy

[nation-place LevyQuarry]
name = {name} Levy Quarry
district = industrial 110
nation = Ascendancy
org = ForgeLevy
where = any
weight = 1
part = pit 21 17 7 at center
part = hall 11 7 4 at back roof:flat counter:general wall:IronPlateDark
part = tower 3 10 at frontleft top:lamp
part = stacks 4 at right
person = Officer at back
person = Miner at center x 4

[nation-place SupplyDepot]
name = {name} Supply Depot
district = industrial 120
nation = Ascendancy
org = SupplyOffice
where = settled
weight = 1
part = wall 4 radius:20 wall:AshlarBasalt
part = plaza 19 19 at center
part = hall 15 9 6 at back roof:vault counter:general
part = stacks 8 at left
part = pad 9 at right
person = Officer at back
person = Technician at left x 2

[nation-place SurveyFort]
name = Fort {name}
district = fort 70
nation = Ascendancy
org = Cartographers
where = frontier
weight = 1.2
part = wall 5 radius:17 wall:AshlarGranite
part = tower 5 16 at center top:dish wall:AshlarGranite
part = hall 9 7 4 at back roof:flat counter:survey
person = Officer at center
person = Technician at back

[nation-place HuntingLodge]
name = {name} Lodge
district = camp 60
nation = Ascendancy
org = Huntsmen
where = any
weight = 0.8
part = hall 15 9 5 at center roof:pitched counter:cantina tables trim:BronzeTrim
part = deco TrophyMount 4
part = deco Brazier 2
part = pad 9 at front
person = Barkeep at center
person = Traveller at front x 2

[nation-place BreakingYard]
name = {name} Breaking Yard
district = industrial 110
nation = Ascendancy
org = SpoilsOffice
where = any
weight = 0.8
part = plaza 21 21 at center
part = scrap 8 at center
part = hall 9 7 4 at back roof:flat counter:shipwright wall:IronPlateDark
part = tower 3 8 at left top:lamp
person = Technician at center x 3
person = Trader at back

[nation-place FortressShipyard]
name = {name} Fortress Yard
district = fort 150
nation = Ascendancy
org = ThroneYards
where = settled
weight = 0.6
spread = 18
part = wall 6 radius:26 wall:AshlarBasalt
part = pad 15 at center
part = hall 17 9 7 at back roof:vault counter:shipwright
part = tower 4 14 at frontleft top:lamp
part = tower 4 14 at frontright top:lamp
person = Officer at back x 2
person = Technician at center x 2

[nation-place SubjectsQuarters]
name = {name} Quarter, {name} Below the Walls
district = town 150
nation = Ascendancy
org = SupplyOffice
where = settled
weight = 1
spread = 10
part = wall 6 radius:10 wall:AshlarGranite
part = tower 4 13 at center top:banner wall:AshlarGranite
part = houses 9 radius:21 style:hut
part = deco Lamp 3
person = Officer at center
person = Traveller at front x 4

# ---------------------------------------------------------------------------------------------
# The Tikkari Hives

[nation-place DeepMine]
name = {name} Deep Mine
district = hive 110
nation = Hives
org = Delvers
where = any
weight = 1.2
part = pit 15 15 9 at center
part = dome 6 at back block:AmberResin
part = spire 3 12 at left top:lamp
person = Miner at center x 4

[nation-place CargoNest]
name = {name} Cargo Nest
district = hive 120
nation = Hives
org = Carriers
where = any
weight = 1
part = dome 9 at back
part = stacks 8 at left
part = pad 11 at front
person = Technician at back x 2
person = Trader at front

[nation-place ArchiveSpire]
name = {name} Archive Spire
district = hive 140
nation = Hives
org = Seekers
where = settled
weight = 0.8
part = spire 6 26 at center top:lamp
part = dome 5 at front
person = Researcher at center x 2

[nation-place WatchSpire]
name = {name} Watch Spire
district = hive 60
nation = Hives
org = Wardens
where = frontier
weight = 1
part = spire 4 20 at center top:beacon
person = Officer at center x 2

[nation-place ReclaimHive]
name = {name} Reclaim Hive
district = hive 100
nation = Hives
org = Gleaners
where = any
weight = 0.8
part = dome 8 at center
part = scrap 6 at left
part = scrap 6 at right
person = Technician at center x 3

[nation-place PrecisionFoundry]
name = {name} Foundry
district = hive 130
nation = Hives
org = Shapers
where = settled
weight = 0.8
part = hall 15 11 6 at center roof:dome counter:general wall:HexWall
part = spire 3 14 at backleft top:lamp
part = spire 3 14 at backright top:lamp
person = Technician at center x 3

# ---------------------------------------------------------------------------------------------
# The Sethra Concord

[nation-place ClaimExchange]
name = {name} Claim Exchange
district = bazaar 130
nation = Concord
org = Kessith
where = any
weight = 1
part = plaza 15 15 at center
part = hall 15 11 6 at back roof:dome counter:general wall:DressedSandstone trim:CopperTrim tables
part = deco StandingLantern 4
part = deco TurquoiseAwning 2
person = Broker at back x 2
person = Prospector at center x 2

[nation-place InformationExchange]
name = {name} Exchange
district = bazaar 110
nation = Concord
org = Siruth
where = settled
weight = 0.8
part = hall 13 11 6 at center roof:dome counter:survey wall:DressedSandstone trim:GoldTrim
part = tower 3 12 at backleft top:dish
part = deco HangingLantern 3
person = Broker at center x 2

[nation-place ContractHall]
name = {name} Contract Hall
district = bazaar 130
nation = Concord
org = SwornBlades
where = settled
weight = 1
part = plaza 13 13 at center
part = hall 17 11 6 at back roof:vault counter:cantina tables wall:DressedSandstone trim:CopperTrim
part = deco JadeRug 3
part = deco StandingLantern 4
person = Broker at back
person = Barkeep at back
person = Traveller at center x 3

[nation-place WreckMarket]
name = {name} Wreck Market
district = industrial 110
nation = Concord
org = Thassa
where = any
weight = 1
part = plaza 19 19 at center
part = scrap 8 at center
part = hall 9 7 4 at back roof:flat counter:shipwright open wall:CopperPanel
part = deco RedAwning 3
part = deco StandingLantern 3
person = Trader at back x 2
person = Traveller at center x 2

[nation-place FastShipYard]
name = {name} Yard
district = industrial 110
nation = Concord
org = Ossyr
where = settled
weight = 0.7
part = pad 15 at center
part = hall 13 9 6 at back roof:vault counter:shipwright wall:CopperPanel trim:CopperTrim
part = tower 3 10 at frontleft top:beacon
person = Technician at center x 2
person = Shopkeeper at back

# ---------------------------------------------------------------------------------------------
# The Oruk Dominion

[nation-place QuarryHold]
name = {name} Quarry Hold
district = warcamp 110
nation = Dominion
org = Stonebreakers
where = any
weight = 1.2
part = wall 5 radius:22 wall:RoughBasalt
part = pit 17 15 7 at center
part = hall 11 7 5 at back roof:flat counter:general
part = deco Brazier 4
person = Miner at center x 4
person = Officer at back

[nation-place ScoutCamp]
name = {name} Scout Camp
district = camp 60
nation = Dominion
org = Pathfinders
where = frontier
weight = 1.2
spread = 10
part = plaza 9 9 at center
part = houses 5 radius:12 style:hut
part = tower 3 9 at back top:brazier
part = deco Spikes 6
person = Officer at center x 3

[nation-place HuntingGround]
name = {name} Hunting Ground
district = warcamp 70
nation = Dominion
org = Blooded
where = any
weight = 0.8
part = plaza 9 9 at center
part = hall 9 7 4 at back roof:flat counter:cantina
part = deco TrophyMount 6
part = deco Spikes 6
part = deco Brazier 2
person = Barkeep at back
person = Traveller at center x 3

[nation-place DuelArena]
name = {name} Arena
district = warcamp 130
nation = Dominion
org = Blooded
where = settled
weight = 1
part = arena 14 at center
part = deco Brazier 6
part = deco Banner 4
person = Traveller at center x 6
person = Officer at front

[nation-place TrophyYard]
name = {name} Trophy Yard
district = warcamp 90
nation = Dominion
org = Bonepickers
where = any
weight = 0.8
part = wall 3 radius:16 wall:RoughBasalt
part = plaza 15 15 at center
part = deco TrophyMount 8
part = deco Statue 2
part = tower 3 10 at back top:brazier
person = Officer at back
person = Traveller at center x 2

[nation-place ForgeYard]
name = {name} Forge
district = industrial 120
nation = Dominion
org = Anvil
where = settled
weight = 1
part = hall 15 11 6 at center roof:flat counter:general wall:IronPlateDark
part = tower 4 13 at backleft top:brazier
part = tower 4 13 at backright top:brazier
part = scrap 4 at front
person = Technician at center x 3
person = Shopkeeper at center

# ---------------------------------------------------------------------------------------------
# The Free Reaches: the Syndicate's, the Frontier Settlers', and everyone else's

[nation-place SyndicateDen]
name = The {name} Den, {name}'s Place
district = shanty 120
nation = Syndicate
org = Syndicate
where = any
weight = 1.2
part = hall 15 11 5 at center roof:flat counter:cantina tables wall:GraffitiConcrete
part = deco MagentaNeon 4
part = deco SyndicateBanner 2
part = pad 9 at front
person = Barkeep at center
person = Broker at center
person = Officer at front x 2

[nation-place GamblingHall]
name = The {name}, {name} Palace
district = shanty 140
nation = Syndicate
org = Syndicate
where = any
weight = 1
part = plaza 11 9 at center
part = hall 17 11 6 at back roof:vault counter:cantina tables wall:GraffitiMetal
part = deco MagentaNeon 4
part = deco CyanNeon 4
person = Barkeep at back
person = Traveller at back x 4

[nation-place ProtectionOffice]
name = {name} Security
district = shanty 90
nation = Syndicate
org = Syndicate
where = any
weight = 0.8
part = hall 9 7 4 at center roof:flat counter:general wall:GraffitiConcrete
part = tower 3 8 at back top:lamp
part = deco SyndicateBanner 2
person = Broker at center
person = Officer at center x 2

[nation-place Homestead]
name = {name} Homestead, {name} Place
district = farm 110
nation = Settlers
org = Settlers
where = any
weight = 1.4
part = hall 11 9 4 at back roof:pitched counter:farmstead tables
part = fields 17 11 at front
part = deco Windmill 1
part = deco Silo 1
person = Farmer at front x 3

[nation-place GrangeHall]
name = {name} Grange
district = farm 140
nation = Settlers
org = Settlers
where = any
weight = 1
part = plaza 11 11 at center
part = hall 17 11 6 at back roof:pitched counter:cantina tables wall:Planks
part = houses 4 radius:22 style:hut
part = deco Windmill 1
person = Barkeep at back
person = Farmer at center x 4

[nation-place CoopMine]
name = {name} Co-op Mine
district = industrial 100
nation = Reaches
where = any
weight = 1
part = pit 15 13 7 at center
part = hall 9 7 4 at back roof:flat counter:general
part = scrap 3 at right
person = Miner at center x 3
person = Shopkeeper at back

[nation-place MilitiaPost]
name = {name} Militia Post
district = fort 70
nation = Reaches
where = any
weight = 0.8
part = wall 3 radius:14
part = tower 4 11 at center top:lamp
part = hall 7 6 3 at back roof:flat
person = Officer at center x 3

[nation-place Scrapyard]
name = {name} Scrapyard
district = industrial 100
nation = Reaches
where = any
weight = 1
part = plaza 19 19 at center
part = scrap 10 at center
part = hall 9 7 4 at back roof:flat counter:shipwright open
part = stacks 4 at left
person = Trader at back
person = Technician at center x 2
