:: JobFulfillmentCenterDelivery [nobr]

<<set $JFCOrder = 0, $nextButton = "Continue", $nextLink = "Scheduled Event", $returnTo = "Scheduled Event", $encyclopedia = "Enslaving People">>

<<JFCSlave>>
<<set _slaveCost = slaveCost($activeSlave)>>
<<set _slaveCost = _slaveCost*6>>
<<setLocalPronouns $activeSlave>>

A slave dealer has submitted a slave to satisfy your ''$Role'' order.

<br><br>//As usual, the asking price is quite high, to cover the costs of training a proper <<print $Role>>. In compensation, you can freely decline the slave should $he not meet your standards or the job has already been filled.//

<br><br><<set $saleDescription = 1, $applyLaw = 0>><<include "Long Slave Description">>

<br><br>$His price is <<print cashFormat(_slaveCost)>>.

<br><br><span id="result">
<<if $cash >= _slaveCost>>
	<<link "Accept the offered slave">>
		<<run cashX(forceNeg(_slaveCost), "slaveTransfer", $activeSlave)>>
		<<replace "#result">>
			$He has been very well trained by the dealer that offered $him to you. $He has also picked up on the fact that $he was specially selected, and is a little hopeful that this means $he may be treated well. $He is now eagerly awaiting your instructions.
			<<include "New Slave Intro">>
			<<set $Role = "">>
			<<if def $JFCReorder>><<run delete $JFCReorder>><</if>>
		<</replace>>
	<</link>>
<<else>>
	//You lack the necessary funds to accept the offered slave.//
<</if>>
<br>
<<link "Reject this offer and place the same order again">>
	<<set $JFCOrder = 1>>
	<<set $JFCReorder = 1>>
	<<goto $nextLink>>
<</link>>
</span>

src/pregmod/JobFulfillmentCenter/JobFulfillmentCenterDelivery.tw