:: Summary Options [nobr jump-to-safe jump-from-safe]

<<set $nextButton = "Back">>
<<if $storedLink !== "Slave Interact" && $storedLink !== "Main">>
	<<if lastVisited("Main") === 1>>
		<<set $storedLink = "Main">>
	<<else>>
		<<set $storedLink = "Options">>
	<</if>>
<</if>>
<<set $nextLink = $storedLink>>
<<set $passageSwitchHandler = App.EventHandlers.optionsChanged>>

<h1>Summary Options</h1>

<p class="scene-intro">
	These options will affect the short slave summaries that appear on the main menu and the facility management screens.
</p>

<h2>Main menu features</h2>

<<set _options = new App.UI.OptionsGroup()>>

<<run _options.addOption("Rules Assistant visibility", "rulesAssistantMain")
.addValue("Shown", 1).on().addValue("Hidden", 0).off()>>

<<run _options.addOption("Facilities in the sidebar are", "abbreviateSidebar")
.addValueList([["Summarized", 2], ["Abbreviated", 1]])>>

<<run _options.addOption("Sorting main menu options are", "sortSlavesMain")
.addValue("Shown", 1).on().addValue("Hidden", 0).off()>>

<<if $sortSlavesMain > 0>>
	<<run _options.addOption("Sorting direction", "sortSlavesOrder")
	.addValueList([["Ascending", "ascending"], ["Descending", "descending"]])>>

	<<run _options.addOption("Slaves are sorted by", "sortSlavesBy")
	.addValueList([["Devotion", "devotion"], ["Name", "name"], ["Date purchased", "seniority"], ["Age", "actualAge"],
	["How old they look", "visualAge"], ["Age of their body", "physicalAge"], ["Assignment", "assignment"], ["Weekly Income", "weeklyIncome"]])>>
<</if>>

<<includeDOM _options.render()>>

<h2>Individual panels</h2>
Sample summary:
<<= App.UI.SlaveList.render.listMarkup(
	[$activeSlave.ID],
	[],
	App.UI.SlaveList.SlaveInteract.stdInteract
)>>

<<set _options = (new App.UI.OptionsGroup()).enableDoubleColumn()>>

<<run _options.addOption("Panel style is", "slavePanelStyle")
.addValueList([["None", 0], ["Line Seperator", 1], ["Card", 2]])>>

<<run App.UI.SlaveSummary.addOptions(_options)>>

<<run _options.addOption("Granular slave stat numbers are", "summaryStats")
.addValue("Shown", 1).on().addValue("Hidden", 0).off()>>

<<run _options.addOption("Main menu assignment shortcuts are", "displayAssignments")
.addValue("Shown", 1).on().addValue("Hidden", 0).off()>>

<<if $showMissingSlaves>>
	<<run _options.addOption("Missing slave parents are", "showMissingSlavesSD")
	.addValue("Shown", true).on().addValue("Hidden", false).off()>>
<</if>>

<<includeDOM _options.render()>>

<p style="font-style:italic">
	[[FC Dev's preferred options|Summary Options ][$seeDesk = 0, $seeFCNN = 0, $sortSlavesBy = "devotion",$sortSlavesOrder = "descending",$sortSlavesMain = 0,$rulesAssistantMain = 1, $UI.slaveSummary.abbreviation = {devotion: 1, mental: 1, rules: 1, clothes: 2, health: 1, diet: 1, drugs: 1, hormoneBalance: 1, race: 1, genitalia: 1, physicals: 1, skills: 1, nationality: 1, rulesets: 1, clothes: 0, origins: 0} ,$abbreviateSidebar = 1]]
</p>

src/uncategorized/summaryOptions.tw