:: Complete Catalog [nobr]

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

<span class="scene-intro">
	This is the complete catalog of slaves that you can acquire from other slaveowners. Most of these slaves are not for sale, so persuading their owners to part with them will be extremely expensive.
</span>

<p>
	<<set _heroSlaves = App.Utils.buildHeroArray()>>

	<<for $i = 0; $i < _heroSlaves.length; $i++>>
		<<if $i > 0>> | <</if>>
		<<if _heroSlaves[$i].slaveName == $activeSlave.slaveName>>
			<span class="note">_heroSlaves[$i].slaveName</span>
		<<else>>
			<<print "[[_heroSlaves[$i].slaveName|Complete Catalog][$activeSlave = App.Utils.getHeroSlave(_heroSlaves[" + $i + "])]]">>
		<</if>>
	<</for>>
</p>

<p>
	<<set $saleDescription = 1>>
	<<include "Long Slave Description">>
	<<set _slaveCost = heroSlaveCost($activeSlave, 40000)>>
</p>

<p>
	The offered price is <<print cashFormat(_slaveCost)>>.

	<<link "Buy $his slave contract" "New Slave Intro">>
		<<set $activeSlave.weekAcquired = $week, $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "Main", $specialSlave = 1>>
		<<run cashX(forceNeg(_slaveCost), "slaveTransfer", $activeSlave)>>
	<</link>>
</p>

src/uncategorized/completeCatalog.tw