:: transportHub [nobr]

<<set $nextButton = "Back", $nextLink = "Main">>

<strong>The Transport Hub</strong>
<hr>
You quickly reach the transport hub, where a constant stream of vehicles, people and goods greets you. Part of the structure is dedicated to air travel and the other is mainly occupied by <<if $terrain != "oceanic" && $terrain != "marine">>the rail station.<<else>> the docks.<</if>>

<<if $limitImmigration == 1 || $policies.immmigrationRep == -1>>
	Due to your strict policies concerning immigration, very few new citizens arrive in the transport hub.
<<elseif $openBorders == 1 || $policies.immmigrationCash == 1>>
	Due to your liberal policies concerning immigration, the transport hub is filled with a flow of new citizens.
<</if>>

<<if $airport == 1>>
	The arcology's airport is relatively small and poorly equipped. It can handle some traffic, but nothing noteworthy.
<<elseif $airport == 2>>
	The arcology's airport is relatively small, but well equipped. It can handle some traffic, but nothing too serious.
<<elseif $airport == 3>>
	The arcology's airport is good sized and well equipped. It can handle a good amount of traffic.
<<elseif $airport == 4>>
	The arcology's airport is good sized and very well equipped. It can handle a lot of traffic.
<<else>>
	The arcology's airport is huge and very well equipped. It can handle an impressive amount of traffic.
<</if>>

<<if $terrain != "oceanic" && $terrain != "marine">>
	<<if $railway == 1>>
		The railway network is old and limited. It can handle some traffic, but not sustain commercial activity.
	<<elseif $railway == 2>>
		The railway network is modern and efficient, but limited in reach. It can handle some traffic, but not sustain commercial activity of any significant size.
	<<elseif $railway == 3>>
		The railway network is modern, efficient and expansive. It can handle a significant amount of traffic.
	<<else>>
		The railway network is high tech and very far reaching. It can handle an enormous amount of traffic.
	<</if>>
<<else>>
	<<if $docks == 1>>
		The docks are old and small. They can handle some traffic, but not sustain commercial activity.
	<<elseif $docks == 2>>
		The docks are modern and efficient, but limited in size. They can handle some traffic, but not sustain commercial activity of significant size.
	<<elseif $docks == 3>>
		The docks are modern, efficient and expansive. They can handle a significant amount of traffic.
	<<else>>
		The docks are huge in size and high tech. They can handle an enormous amount of traffic.
	<</if>>
<</if>>

<<if $hubSecurity == 1>>
	The security of the hub is limited to a few cameras and the occasional guard.
<<elseif $hubSecurity == 2>>
	The security of the hub is guaranteed by a powerful camera surveillance system.
<<elseif $hubSecurity == 3>>
	The security of the hub is guaranteed by a powerful camera surveillance system and a rapid response team constantly patrolling the structure.
<<else>>
	The security of the hub is guaranteed by a powerful camera surveillance system, a rapid response team constantly patrolling the building and additional security drones making the rounds around the exterior.
<</if>>

<br>
<br>

<<if $SecExp.core.trade <= 20>>
	Trade is @@.red;almost non-existent.@@ Outside the supplies for the arcology's domestic consumption little else crosses the territory of the free city.
<<elseif $SecExp.core.trade <= 40>>
	Trade is @@.orange;low.@@ There's some but limited commercial activity crossing the territory of the free city.
<<elseif $SecExp.core.trade <= 60>>
	Trade is at @@.yellow;positive levels.@@ There's a good amount commercial activity outside the supplies for the arcology's domestic consumption.
<<elseif $SecExp.core.trade <= 80>>
	Trade is at @@.limegreen;high levels.@@ There's a lot of commercial activity outside the supplies for the arcology's domestic consumption.
<<else>>
	Trade is at @@.green;extremely high levels.@@ There's a constant stream of commercial activity crossing the arcology.
<</if>>

<br>
<br>
/* airport */
<<if $airport == 1>>
	<<link "Modernize the airport">>
		<<run cashX(forceNeg(5000*$upgradeMultiplierArcology), "capEx")>>
		<<set $airport++>>
		<<goto "transportHub">>
	<</link>> //Will cost <<print cashFormat(5000*$upgradeMultiplierArcology)>> and will increase trade, but will affect security//
<<elseif $airport == 2>>
	<<link "Enlarge the airport">>
		<<run cashX(forceNeg(15000*$upgradeMultiplierArcology), "capEx")>>
		<<set $airport++>>
		<<goto "transportHub">>
	<</link>> //Will cost <<print cashFormat(15000*$upgradeMultiplierArcology)>> and will increase trade, but will affect security//
<<elseif $airport == 3>>
	<<link "Further modernize the airport">>
		<<run cashX(forceNeg(45000*$upgradeMultiplierArcology), "capEx")>>
		<<set $airport++>>
		<<goto "transportHub">>
	<</link>> //Will cost <<print cashFormat(45000*$upgradeMultiplierArcology)>> and will increase trade, but will affect security//
<<elseif $airport == 4>>
	<<link "Further enlarge the airport">>
		<<run cashX(forceNeg(85000*$upgradeMultiplierArcology), "capEx")>>
		<<set $airport++>>
		<<goto "transportHub">>
	<</link>> //Will cost <<print cashFormat(85000*$upgradeMultiplierArcology)>> and will increase trade, but will affect security//
<<else>>
	The airport is fully upgraded.
<</if>>
<br>
/* trainyard/dockyard */
<<if $terrain != "oceanic" && $terrain != "marine">>
	<<if $railway == 1>>
		<<link "Modernize the railway">>
			<<run cashX(forceNeg(10000*$upgradeMultiplierArcology), "capEx")>>
			<<set $railway++>>
			<<goto "transportHub">>
		<</link>> //Will cost <<print cashFormat(10000*$upgradeMultiplierArcology)>>, will increase trade and slightly lower arcology's upkeep, but will affect security//
	<<elseif $railway == 2>>
		<<link "Enlarge the railway">>
			<<run cashX(forceNeg(25000*$upgradeMultiplierArcology), "capEx")>>
			<<set $railway++>>
			<<goto "transportHub">>
		<</link>> //Will cost <<print cashFormat(25000*$upgradeMultiplierArcology)>>, will increase trade and slightly lower arcology's upkeep, but will affect security//
	<<elseif $railway == 3>>
		<<link "Further modernize and enlarge the railway">>
			<<run cashX(forceNeg(65000*$upgradeMultiplierArcology), "capEx")>>
			<<set $railway++>>
			<<goto "transportHub">>
		<</link>> //Will cost <<print cashFormat(65000*$upgradeMultiplierArcology)>>, will increase trade and slightly lower arcology's upkeep, but will affect security//
	<<else>>
		The railway is fully upgraded.
	<</if>>
<<else>>
	<<if $docks == 1>>
		<<link "Modernize the docks">>
			<<run cashX(forceNeg(10000*$upgradeMultiplierArcology), "capEx")>>
			<<set $docks++>>
			<<goto "transportHub">>
		<</link>> //Will cost <<print cashFormat(10000*$upgradeMultiplierArcology)>>, will increase trade and slightly lower arcology's upkeep, but will affect security//
	<<elseif $docks == 2>>
		<<link "Enlarge the docks">>
			<<run cashX(forceNeg(25000*$upgradeMultiplierArcology), "capEx")>>
			<<set $docks++>>
			<<goto "transportHub">>
		<</link>> //Will cost <<print cashFormat(25000*$upgradeMultiplierArcology)>>, will increase trade and slightly lower arcology's upkeep, but will affect security//
	<<elseif $docks == 3>>
		<<link "Further modernize and enlarge the docks">>
			<<run cashX(forceNeg(65000*$upgradeMultiplierArcology), "capEx")>>
			<<set $docks++>>
			<<goto "transportHub">>
		<</link>> //Will cost <<print cashFormat(65000*$upgradeMultiplierArcology)>>, will increase trade and slightly lower arcology's upkeep, but will affect security//
	<<else>>
		The docks are fully upgraded.
	<</if>>
<</if>>
<br>
/* security */
<<if $hubSecurity == 1>>
	<<link "Expand and modernize the surveillance system">>
		<<run cashX(forceNeg(15000*$upgradeMultiplierArcology), "capEx")>>
		<<set $hubSecurity++>>
		<<goto "transportHub">>
	<</link>> //Will cost <<print cashFormat(15000*$upgradeMultiplierArcology)>> and lower the transport hub security modifiers//
<<elseif $hubSecurity == 2>>
	<<link "Establish a rapid response team">>
		<<run cashX(forceNeg(35000*$upgradeMultiplierArcology), "capEx")>>
		<<set $hubSecurity++>>
		<<goto "transportHub">>
	<</link>> //Will cost <<print cashFormat(35000*$upgradeMultiplierArcology)>> and further lower the transport hub security modifiers//
<<elseif $hubSecurity == 3>>
	<<link "Add additional security drones to the structure">>
		<<run cashX(forceNeg(55000*$upgradeMultiplierArcology), "capEx")>>
		<<set $hubSecurity++>>
		<<goto "transportHub">>
	<</link>> //Will cost <<print cashFormat(55000*$upgradeMultiplierArcology)>> and further lower the transport hub security modifiers//
<<else>>
	The hub security is fully upgraded
<</if>>

<br><br>
[[Return this sector to standard markets|Main][cashX(forceNeg(Math.trunc(10000*$upgradeMultiplierArcology)), "capEx"), App.Arcology.cellUpgrade($building, App.Arcology.Cell.Market, "Transport Hub", "Markets"), $transportHub = 0, $hubSecurity = 1]] //Costs <<print cashFormat(Math.trunc(10000*$upgradeMultiplierArcology))>>//

src/Mods/SecExp/buildings/transportHub.tw