:: Firebase [nobr]
<script>Count();</script> <<if $SF.Lower != "the special force">>
	<<set $SF.Caps = $SF.Lower.replace("the ", "The ")>> <</if>>
<<switch _Env>> <<case 4>>
		<<set _EnvCash2 = 450,_EnvCash3 = 200,_EnvCash4 = 100,_EnvProsp = 3>>
	<<case 3>>
		<<set _EnvCash2 = 500,_EnvCash3 = 250,_EnvCash4 = 150,_EnvProsp = 5>>
	<<case 2>>
		<<set _EnvCash2 = 550,_EnvCash3 = 300,_EnvCash4 = 200,_EnvProsp = 7>>
<</switch>> <<set $nextButton = "Back to Main",$nextLink = "Main",$returnTo = "Firebase">>
<<if $cheatMode > 0>> <<link "Cheat edit""CheatEdit">> <</link>> <br> <</if>>
The firebase of $arcologies[0].name's <<textbox "$SF.Lower" $SF.Lower "Firebase">> is located in the lower levels, occupying unneeded warehouse space. It is not accessible to the general citizenry, but your personal elevator has express service to it. As you step off, two soldiers in combat armour manning the entry checkpoint tense and raise their weapons, before nodding respectfully and stepping aside, allowing their patron entry. The firebase is cavernous, containing areas for the soldiers to sleep and keep their belongings, areas for the storage and maintenance of their weapons and equipment, and common areas for them to amuse themselves, since they rarely mix with your citizens on the upper levels.
<br><br>$SF.Caps is <<print Interactions()>>
<<if $SF.U > 0 && $SF.MWU >= 0 && ($SF.Units !== _max)>>
	@@.orange;[[Re-unlock upgrading.|Firebase][$SF.U = 0,$SF.MWU += 1,$cash -= Math.ceil(Math.abs($cash*.05*(1.25+($SF.Units/1000))))]]@@  @@.yellowgreen;<<print cashFormat(Math.ceil(Math.abs($cash*.05*(1.25+($SF.Units/1000)))))>>@@
<</if>> <<set _List = []>>
<<if $SFUnit.Firebase === _FU>> <<set _List.push('firebase')>> <</if>>
<<if $SFUnit.Armoury === _AU>> <<set _List.push('armoury')>> <</if>>
<<if $SFUnit.Drugs === _DrugsU>> <<set _List.push('drug lab')>> <</if>>
<<if $SFUnit.Drones === _DU>> <<set _List.push('drone bay')>> <</if>>
<<if _G >= _GU>> <<set _List.push('garage')>> <</if>>
	<<if $SFUnit.AV === _AVU>>	<<set _List.push('attack vehicle fleet')>> <</if>>
	<<if $SFUnit.TV === _TVU>>	<<set _List.push('transport vehicle fleet')>> <</if>>
	<<if $SFUnit.PGT === _PGTU>> <<set _List.push('prototype Goliath tank')>> <</if>>
<<if _H >= _HU>> <<set _List.push('hangar')>> <</if>>
	<<if $SFUnit.AA === _AAU>>	<<set _List.push('attack air fleet')>> <</if>>
	<<if $SFUnit.TA === _TAU>>	<<set _List.push('transport air fleet')>> <</if>>
	<<if $SFUnit.SpacePlane === _SPU>> <<set _List.push('space plane')>> <</if>>
	<<if $SFUnit.GunS === _GunSU>>	<<set _List.push('Gunship')>> <</if>>
<<if _LB >= _LBU>> <<set _List.push('launch bay')>> <</if>>
	<<if $SFUnit.Satellite === _SatU>>	<<set _List.push('satellite')>> <</if>>
	<<if $SFUnit.GiantRobot === _GRU>>	<<set _List.push('giant robot')>> <</if>>
	<<if $SFUnit.MissileSilo === _MSU>>	<<set _List.push('missile silo')>> <</if>>
<<if _NY >= _NYU>> <<set _List.push('naval yard')>> <</if>>
	<<if $SFUnit.AircraftCarrier === _ACU>>		<<set _List.push('aircraft carrier')>> <</if>>
	<<if $SFUnit.Sub === _SubU>> <<set _List.push('submarine')>> <</if>>
	<<if $SFUnit.HAT === _HATU>>	<<set _List.push('heavy amphibious')>> <</if>>
<<if $SF.Units !== _max && _List.length > 0>>
	The <<for _j = 0; _j < _List.length; _j++>> <<if _j < _List.length-1>>
		<<print _List[_j]>>, <<else>> and <<print _List[_j]>> <</if>> <</for>>
	have been fully upgraded to support it's activities.<</if>>
<<include "Upgrades">> <<include "WC">>
<br>You have <<if $SF.SpecOps > 0>> a <<if $SF.SpecOps < 2>>small<<else>>large<</if>> portion<<else>>zero soliders<</if>> of $SF.Lower assigned as undercover officers.
<<if $SF.SpecOpsLock < 1>>[[Lock your choice in.|Firebase][$SF.SpecOpsLock = 1]] <<else>> [[Unlock your choice.|Firebase][$SF.SpecOpsLock = 0]]<</if>>
<<if $SF.SpecOpsLock < 1>> <br>
	<<if $SF.SpecOps === 0>> [[Designate a small portion of the force to undercover work this week.|Firebase][$SF.SpecOps = 1]]|<</if>><<if $SF.SpecOps <= 1>>[[Reassign a larger portion of the force to full time undercover work.|Firebase][$SF.SpecOps = 2]]
	<<else>> [[Reasign half of them to general duty.|Firebase][$SF.SpecOps = 1]]<</if>> <<if $SF.SpecOps > 0>>[[Cease undercover work entirely.|Firebase][$SF.SpecOps = 0]]<</if>>
<</if>>
<<if $SFUnit.Firebase > 5 && $secExp > 0 && $SFSupportLevel >= 4 && $maxUnits === 16 && $readiness <= 10>>
	<br>[[Provide the security force with their own section.|Firebase][$maxUnits += 4,$readiness = 10,$cash -= Math.ceil((750000*(1.15+($SF.Units/1000))*(1.15+($SFUnit.Firebase/10)))*_Env)]]
	@@.yellowgreen;<<print cashFormat(Math.ceil((750000*(1.15+($SF.Units/1000))*(1.15+($SFUnit.Firebase/10)))*_Env))>>@@
<</if>>
<<if $SF.MWU >= 1>> <br>Total multi week $SF.Lower upgrades: $SF.MWU<br> <</if>>
<<if $SF.Units < 30>>
	<br>''Firebase:'' $SFUnit.Firebase/5 ''Armoury:'' $SFUnit.Armoury/5 ''DrugLab:'' $SFUnit.Drugs/5 <<if $SFUnit.Firebase >= 2>>''DroneBay:'' $SFUnit.Drones/5<</if>> <<if $SFUnit.Firebase >= 1>>''Attack vehicles:'' $SFUnit.AV/5 ''Transport vehicles:'' $SFUnit.TV/5<</if>>  <<if $SFUnit.Firebase >= 4>>''Attck airforce:'' $SFUnit.AA/5 ''Transport airforce:'' $SFUnit.TA/5<</if>>
	<br>You have <<print (30-$SF.Units)>> upgrades left before you can move unlock the next tier.
<<else>>
	<<if ndef $SFTradeShow.View>>
			<br>You receive a message from The Colonel "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>, back when I was a major before I joined $SF.Lower. Me and a couple of colleagues went to a bi-yearly international security trade show, I would very much like to continue doing so. Can I?. Without exotic upgrades I'll get laughed out."
			<br>[[Yes|Firebase][$SFTradeShow.CanAttend = 1,$SFTradeShow.View = 1]]
			<br>[[No|Firebase][$SFTradeShow.CanAttend = -2,$SFTradeShow.View = 0]]
	<</if>>
<</if>>
<<if $SFTradeShow.History >= 1 && (Math.trunc($week/24) === ($week/24)) && $SFTradeShow.CanAttend === -1>>
	<br>The (bi-yearly) security trade show has finally come around again and even though you've already granted The Colonel permission to attend, she's decided to come and ask for the leave personally.
		<br>[[Grant leave.|Firebase][$SFTradeShow.CanAttend = 1]]
		<br>[[Request she remain on site.|Firebase][$SFTradeShow.CanAttend = 0]]<br>
<</if>>
<<if $SFTradeShow.History >= 1>>
	While at the recent trade show, @@.yellowgreen;<<print cashFormat(Math.ceil($SFTradeShow.Income))>>@@ was made selling generic schematics, <<print commaNum($SFTradeShow.Helots)>> menial slaves were sent as a bonus and I was able to pursade <<print commaNum($SFTradeShow.TotalMercs)>> former coworkers to join us.
	Total earnings thus far; @@.yellowgreen;<<print cashFormat(Math.ceil($SFTradeShow.Revenue))>>@@ in income, <<print commaNum($SFTradeShow.TotalHelots)>> menial slaves and <<print commaNum($SFTradeShow.Mercs)>> former coworkers joining us, during $SFTradeShow.History trade show's. <br>
<</if>> <<include "FlavourText">>