Skip to content
Snippets Groups Projects
JobFulfillmentCenterDelivery.tw 1.38 KiB
Newer Older
  • Learn to ignore specific revisions
  • :: JobFulfillmentCenterDelivery [nobr]
    
    
    <<set $JFC.order = 0, $nextButton = "Continue", $nextLink = "Scheduled Event", $encyclopedia = "Enslaving People">>
    
    <<set _slave = generateLeadershipSlave($JFC.role, 'Job Fulfillment Center')>>
    
    klorpa's avatar
    klorpa committed
    <<set _slaveCost = slaveCost(_slave) * 6>>
    
    <<setLocalPronouns _slave>>
    <<run App.Utils.setLocalPronouns(_slave)>>
    
    A slave dealer has submitted a slave to satisfy your ''$JFC.role'' order for <<print cashFormat(_slaveCost)>>.
    <br>//As usual, the asking price is quite high, to cover training costs. However, you can freely decline the slave should $he not meet your standards or the job has already been filled.//
    <br><<includeDOM App.Desc.longSlave(_slave, {market: "generic"})>>
    
    <br><span id="result">
    
    Blank_Alt's avatar
    Blank_Alt committed
    <<if $cash >= _slaveCost>>
    
    	<<link "Accept the offered slave">>
    
    		<<set $JFC = {order: 0, reorder: 0}>>
    		<<run cashX(-_slaveCost, "slaveTransfer", _slave)>>
    
    		<<replace "#result">>
    
    klorpa's avatar
    klorpa committed
    			$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.
    
    			<<includeDOM App.UI.newSlaveIntro(_slave)>>
    
    		<</replace>>
    	<</link>>
    <<else>>
    	//You lack the necessary funds to accept the offered slave.//
    <</if>>
    
    <br>[[Reject and repost this offer|$nextLink][$JFC.order = 1, $JFC.reorder = 1]]
    </span>