:: Export Slave [nobr]

<<set $nextButton = "Continue", $nextLink = "Slave Interact">>

//Copy the following block of code for importing//

<br><br>

<<if (ndef $activeSlave.currentRules) || ($activeSlave.currentRules.length < 1)>><<set _currentRules = "[]">><<else>><<set _currentRules = "$activeSlave.currentRules">><</if>>

/* <br><br><br> __Direct JSON export method__: <br><br> */

<div class="output">
	<<set _jsonText = toJson($activeSlave)>>
	_jsonText
</div>
src/npc/exportSlave.tw