code:
:: Option Widgets [widget nobr]

/%
	Call as <<OptionLineSeparations>>
	Should be placed in a <span> with id = "OptionLineSeparations"
%/
<<widget "OptionLineSeparations">>
Line separations are
<<if $lineSeparations == 0>>
	@@.red;HIDDEN.@@
	//<<link 'Show'>>
		<<set $lineSeparations = 1>>
		<<replace '#OptionLineSeparations'>>
			<<OptionLineSeparations>>
		<</replace>>
	<</link>>//
<<else>>
	@@.cyan;SHOWN.@@
	//<<link 'Hide'>>
		<<set $lineSeparations = 0>>
		<<replace '#OptionLineSeparations'>>
			<<OptionLineSeparations>>
		<</replace>>
	<</link>>//
<</if>>

<</widget>>

/%
	Call as <<OptionSortBy>>
	Should be placed in a <span> with id = "OptionSortBy"
%/
<<widget "OptionSortBy">>
<<if $sortSlavesBy == "name">>
	Slaves are sorted on the main menu by @@.yellow;NAME.@@
<<elseif $sortSlavesBy == "seniority">>
	Slaves are sorted on the main menu by @@.yellow;SENIORITY.@@
<<elseif $sortSlavesBy == "actualAge">>
	Slaves are sorted on the main menu by @@.yellow;TRUE AGE.@@
<<elseif $sortSlavesBy == "visualAge">>
	Slaves are sorted on the main menu by @@.yellow;APPARENT AGE.@@
<<elseif $sortSlavesBy == "physicalAge">>
	Slaves are sorted on the main menu by @@.yellow;BODILY AGE.@@
<<elseif $sortSlavesBy == "assignment">>
	Slaves are sorted on the main menu by @@.yellow;ASSIGNMENT.@@
<<else>>
	Slaves are sorted on the main menu by @@.yellow;DEVOTION.@@
<</if>>
//
<<link 'Devotion'>>
	<<set $sortSlavesBy = "devotion">>
	<<replace '#OptionSortBy'>>
		<<OptionSortBy>>
	<</replace>>
<</link>>
|
<<link 'Name'>>
	<<set $sortSlavesBy = "name">>
	<<replace '#OptionSortBy'>>
		<<OptionSortBy>>
	<</replace>>
<</link>>
|
<<link 'Assignment'>>
	<<set $sortSlavesBy = "assignment">>
	<<replace '#OptionSortBy'>>
		<<OptionSortBy>>
	<</replace>>
<</link>>
|
<<link 'Date purchased'>>
	<<set $sortSlavesBy = "seniority">>
	<<replace '#OptionSortBy'>>
		<<OptionSortBy>>
	<</replace>>
<</link>>
|
<<link 'Age'>>
	<<set $sortSlavesBy = "actualAge">>
	<<replace '#OptionSortBy'>>
		<<OptionSortBy>>
	<</replace>>
<</link>>
|
<<link 'How old they look'>>
	<<set $sortSlavesBy = "visualAge">>
	<<replace '#OptionSortBy'>>
		<<OptionSortBy>>
	<</replace>>
<</link>>
|
<<link 'Age of their body'>>
	<<set $sortSlavesBy = "physicalAge">>
	<<replace '#OptionSortBy'>>
		<<OptionSortBy>>
	<</replace>>
<</link>>
//
<</widget>>

/%
	Call as <<OptionSortOrder>>
	Should be placed in a <span> with id = "OptionSortOrder"
%/
<<widget "OptionSortOrder">>
<<if $sortSlavesOrder == "ascending">>
	Slaves are sorted in @@.cyan;ASCENDING@@ order.
	//<<link 'Sort descending'>>
		<<set $sortSlavesOrder = "descending">>
		<<replace '#OptionSortOrder'>>
			<<OptionSortOrder>>
		<</replace>>
	<</link>>//
<<else>>
	Slaves are sorted in @@.red;DESCENDING@@ order.
	//<<link 'Sort ascending'>>
		<<set $sortSlavesOrder = "ascending">>
		<<replace '#OptionSortOrder'>>
			<<OptionSortOrder>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionSortMain>>
	Should be placed in a <span> with id = "OptionSortMain"
%/
<<widget "OptionSortMain">>
<<if $sortSlavesMain == 0>>
	Sort options are @@.red;HIDDEN@@ on the main menu.
	//<<link 'Show'>>
		<<set $sortSlavesMain = 1>>
		<<replace '#OptionSortMain'>>
			<<OptionSortMain>>
		<</replace>>
	<</link>>//
<<else>>
	Sort options are @@.cyan;SHOWN@@ on the main menu.
	//<<link 'Hide'>>
		<<set $sortSlavesMain = 0>>
		<<replace '#OptionSortMain'>>
			<<OptionSortMain>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

<<widget "OptionsSortAsAppearsOnMain">>
<<if $sortSlavesMain != 0>>
	<br>
	Sort by:
	<<if $sortSlavesBy != "devotion">>[[Devotion|Main][$sortSlavesBy = "devotion"]]<<else>>Devotion<</if>> |
	<<if $sortSlavesBy != "name">>[[Name|Main][$sortSlavesBy = "name"]]<<else>>Name<</if>> |
	<<if $sortSlavesBy != "assignment">>[[Assignment|Main][$sortSlavesBy = "assignment"]]<<else>>Assignment<</if>> |
	<<if $sortSlavesBy != "seniority">>[[Seniority purchased|Main][$sortSlavesBy = "seniority"]]<<else>>Seniority<</if>> |
	<<if $sortSlavesBy != "actualAge">>[[Age|Main][$sortSlavesBy = "actualAge"]]<<else>>Age<</if>> |
	<<if $sortSlavesBy != "visualAge">>[[Apparent Age|Main][$sortSlavesBy = "visualAge"]]<<else>>Apparent Age<</if>> |
	<<if $sortSlavesBy != "physicalAge">>[[Bodily Age|Main][$sortSlavesBy = "physicalAge"]]<<else>>Bodily Age<</if>>

	Sort: <<if $sortSlavesOrder != "descending">>[[Descending|Main][$sortSlavesOrder = "descending"]]<<else>>Descending<</if>> |
	<<if $sortSlavesOrder != "ascending">>[[Ascending|Main][$sortSlavesOrder = "ascending"]]<<else>>Ascending<</if>>
<</if>>
<</widget>>

/%
	Call as <<OptionRulesAssistantMain>>
	Should be placed in a <span> with id = "OptionRulesAssistantMain"
%/
<<widget "OptionRulesAssistantMain">>
<<if $rulesAssistantMain == 0>>
	The rules assistant is @@.red;HIDDEN.@@
	//<<link 'Show'>>
		<<set $rulesAssistantMain = 1>>
		<<replace '#OptionRulesAssistantMain'>>
			<<OptionRulesAssistantMain>>
		<</replace>>
	<</link>>//
<<else>>
	The rules assistant is @@.cyan;SHOWN.@@
	//<<link 'Hide'>>
		<<set $rulesAssistantMain = 0>>
		<<replace '#OptionRulesAssistantMain'>>
			<<OptionRulesAssistantMain>>
		<</replace>>
	<</link>>//
<</if>>

<</widget>>

/%
	Call as <<OptionDisplayAssignments>>
	Should be placed in a <span> with id = "OptionDisplayAssignments"
%/
<<widget "OptionDisplayAssignments">>
Main menu assignment shortcuts are
<<if $displayAssignments == 1>>
	@@.cyan;SHOWN.@@
	//<<link 'Hide'>>
		<<set $displayAssignments = 0>>
		<<replace '#OptionDisplayAssignments'>>
			<<OptionDisplayAssignments>>
		<</replace>>
	<</link>>//
<<else>>
	@@.red;HIDDEN.@@
	//<<link 'Show'>>
		<<set $displayAssignments = 1>>
		<<replace '#OptionDisplayAssignments'>>
			<<OptionDisplayAssignments>>
		<</replace>>
	<</link>>//
<</if>>

<</widget>>

/%
	Call as <<OptionSummaryStats>>
	Should be placed in a <span> with id = "OptionSummaryStats"
%/
<<widget "OptionSummaryStats">>
Granular slave stat numbers are
<<if $summaryStats == 1>>
	@@.cyan;DISPLAYED.@@
	//<<link 'Hide'>>
		<<set $summaryStats = 0>>
		<<replace '#OptionSummaryStats'>>
			<<OptionSummaryStats>>
		<</replace>>
	<</link>>//
<<else>>
	@@.red;HIDDEN.@@
	//<<link 'Display'>>
		<<set $summaryStats = 1>>
		<<replace '#OptionSummaryStats'>>
			<<OptionSummaryStats>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateDevotion>>
	Should be placed in a <span> with id = "OptionAbbreviateDevotion"
%/
<<widget "OptionAbbreviateDevotion">>
Mental stats are
<<if $abbreviateDevotion == 2>>
	@@.cyan;SUMMARIZED.@@
<<elseif $abbreviateDevotion == 1>>
	@@.yellow;ABBREVIATED.@@
<<else>>
	@@.red;HIDDEN.@@
<</if>>

<<if $abbreviateDevotion != 0>>
	//<<link 'Hide'>>
		<<set $abbreviateDevotion = 0>>
		<<replace '#OptionAbbreviateDevotion'>>
			<<OptionAbbreviateDevotion>>
		<</replace>>
	<</link>>// |
<</if>>
<<if $abbreviateDevotion != 1>>
	//<<link 'Abbreviate'>>
		<<set $abbreviateDevotion = 1>>
		<<replace '#OptionAbbreviateDevotion'>>
			<<OptionAbbreviateDevotion>>
		<</replace>>
	<</link>>//
	<<if $abbreviateDevotion != 2>>|<</if>>
<</if>>
<<if $abbreviateDevotion != 2>>
	//<<link 'Summarize'>>
		<<set $abbreviateDevotion = 2>>
		<<replace '#OptionAbbreviateDevotion'>>
			<<OptionAbbreviateDevotion>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateRules>>
	Should be placed in a <span> with id = "OptionAbbreviateRules"
%/
<<widget "OptionAbbreviateRules">>
Rules are
<<if $abbreviateRules == 2>>
	@@.cyan;SUMMARIZED.@@
<<elseif $abbreviateRules == 1>>
	@@.yellow;ABBREVIATED.@@
<<else>>
	@@.red;HIDDEN.@@
<</if>>

<<if $abbreviateRules != 0>>
	//<<link 'Hide'>>
		<<set $abbreviateRules = 0>>
		<<replace '#OptionAbbreviateRules'>>
			<<OptionAbbreviateRules>>
		<</replace>>
	<</link>>// |
<</if>>
<<if $abbreviateRules != 1>>
	//<<link 'Abbreviate'>>
		<<set $abbreviateRules = 1>>
		<<replace '#OptionAbbreviateRules'>>
			<<OptionAbbreviateRules>>
		<</replace>>
	<</link>>//
	<<if $abbreviateRules != 2>>|<</if>>
<</if>>
<<if $abbreviateRules != 2>>
	//<<link 'Summarize'>>
		<<set $abbreviateRules = 2>>
		<<replace '#OptionAbbreviateRules'>>
			<<OptionAbbreviateRules>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateHealth>>
	Should be placed in a <span> with id = "OptionAbbreviateHealth"
%/
<<widget "OptionAbbreviateHealth">>
Health is
<<if $abbreviateHealth == 2>>
	@@.cyan;SUMMARIZED.@@
<<elseif $abbreviateHealth == 1>>
	@@.yellow;ABBREVIATED.@@
<<else>>
	@@.red;HIDDEN.@@
<</if>>

<<if $abbreviateHealth != 0>>
	//<<link 'Hide'>>
		<<set $abbreviateHealth = 0>>
		<<replace '#OptionAbbreviateHealth'>>
			<<OptionAbbreviateHealth>>
		<</replace>>
	<</link>>// |
<</if>>
<<if $abbreviateHealth != 1>>
	//<<link 'Abbreviate'>>
		<<set $abbreviateHealth = 1>>
		<<replace '#OptionAbbreviateHealth'>>
			<<OptionAbbreviateHealth>>
		<</replace>>
	<</link>>//
	<<if $abbreviateHealth != 2>>|<</if>>
<</if>>
<<if $abbreviateHealth != 2>>
	//<<link 'Summarize'>>
		<<set $abbreviateHealth = 2>>
		<<replace '#OptionAbbreviateHealth'>>
			<<OptionAbbreviateHealth>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateDiet>>
	Should be placed in a <span> with id = "OptionAbbreviateDiet"
%/
<<widget "OptionAbbreviateDiet">>
Diet and weight are
<<if $abbreviateDiet == 2>>
	@@.cyan;SUMMARIZED.@@
<<elseif $abbreviateDiet == 1>>
	@@.yellow;ABBREVIATED.@@
<<else>>
	@@.red;HIDDEN.@@
<</if>>

<<if $abbreviateDiet != 0>>
	//<<link 'Hide'>>
		<<set $abbreviateDiet = 0>>
		<<replace '#OptionAbbreviateDiet'>>
			<<OptionAbbreviateDiet>>
		<</replace>>
	<</link>>// |
<</if>>
<<if $abbreviateDiet != 1>>
	//<<link 'Abbreviate'>>
		<<set $abbreviateDiet = 1>>
		<<replace '#OptionAbbreviateDiet'>>
			<<OptionAbbreviateDiet>>
		<</replace>>
	<</link>>//
	<<if $abbreviateDiet != 2>>|<</if>>
<</if>>
<<if $abbreviateDiet != 2>>
	//<<link 'Summarize'>>
		<<set $abbreviateDiet = 2>>
		<<replace '#OptionAbbreviateDiet'>>
			<<OptionAbbreviateDiet>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateDrugs>>
	Should be placed in a <span> with id = "OptionAbbreviateDrugs"
%/
<<widget "OptionAbbreviateDrugs">>
Drugs and addiction are
<<if $abbreviateDrugs == 2>>
	@@.cyan;SUMMARIZED.@@
<<elseif $abbreviateDrugs == 1>>
	@@.yellow;ABBREVIATED.@@
<<else>>
	@@.red;HIDDEN.@@
<</if>>

<<if $abbreviateDrugs != 0>>
	//<<link 'Hide'>>
		<<set $abbreviateDrugs = 0>>
		<<replace '#OptionAbbreviateDrugs'>>
			<<OptionAbbreviateDrugs>>
		<</replace>>
	<</link>>// |
<</if>>
<<if $abbreviateDrugs != 1>>
	//<<link 'Abbreviate'>>
		<<set $abbreviateDrugs = 1>>
		<<replace '#OptionAbbreviateDrugs'>>
			<<OptionAbbreviateDrugs>>
		<</replace>>
	<</link>>//
	<<if $abbreviateDrugs != 2>>|<</if>>
<</if>>
<<if $abbreviateDrugs != 2>>
	//<<link 'Summarize'>>
		<<set $abbreviateDrugs = 2>>
		<<replace '#OptionAbbreviateDrugs'>>
			<<OptionAbbreviateDrugs>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateHormoneBalance>>
	Should be placed in a <span> with id = "OptionAbbreviateHormoneBalance"
%/
<<widget "OptionAbbreviateHormoneBalance">>
Hormone balance is
<<if $abbreviateHormoneBalance == 1>>
	@@.yellow;ABBREVIATED.@@
	<<link 'Hide'>>
		<<set $abbreviateHormoneBalance = 0>>
		<<replace '#OptionAbbreviateHormoneBalance'>>
			<<OptionAbbreviateHormoneBalance>>
		<</replace>>
	<</link>>
	| <<link 'Summarize'>>
		<<set $abbreviateHormoneBalance = 2>>
		<<replace '#OptionAbbreviateHormoneBalance'>>
			<<OptionAbbreviateHormoneBalance>>
		<</replace>>
	<</link>>
<<elseif $abbreviateHormoneBalance == 2>>
	@@.cyan;SUMMARIZED.@@
	<<link 'Hide'>>
		<<set $abbreviateHormoneBalance = 0>>
		<<replace '#OptionAbbreviateHormoneBalance'>>
			<<OptionAbbreviateHormoneBalance>>
		<</replace>>
	<</link>>
	| <<link 'Abbreviate'>>
		<<set $abbreviateHormoneBalance = 1>>
		<<replace '#OptionAbbreviateHormoneBalance'>>
			<<OptionAbbreviateHormoneBalance>>
		<</replace>>
	<</link>>
<<else>>
	@@.red;HIDDEN.@@
	<<link 'Abbreviate'>>
		<<set $abbreviateHormoneBalance = 1>>
		<<replace '#OptionAbbreviateHormoneBalance'>>
			<<OptionAbbreviateHormoneBalance>>
		<</replace>>
	<</link>>
	| <<link 'Summarize'>>
		<<set $abbreviateHormoneBalance = 2>>
		<<replace '#OptionAbbreviateHormoneBalance'>>
			<<OptionAbbreviateHormoneBalance>>
		<</replace>>
	<</link>>
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateGenitalia>>
	Should be placed in a <span> with id = "OptionAbbreviateGenitalia"
%/
<<widget "OptionAbbreviateGenitalia">>
Genitalia are
<<if $abbreviateGenitalia == 2>>
	@@.cyan;SUMMARIZED.@@
<<elseif $abbreviateGenitalia == 1>>
	@@.yellow;ABBREVIATED.@@
<<else>>
	@@.red;HIDDEN.@@
<</if>>

<<if $abbreviateGenitalia != 0>>
	//<<link 'Hide'>>
		<<set $abbreviateGenitalia = 0>>
		<<replace '#OptionAbbreviateGenitalia'>>
			<<OptionAbbreviateGenitalia>>
		<</replace>>
	<</link>>// |
<</if>>
<<if $abbreviateGenitalia != 1>>
	//<<link 'Abbreviate'>>
		<<set $abbreviateGenitalia = 1>>
		<<replace '#OptionAbbreviateGenitalia'>>
			<<OptionAbbreviateGenitalia>>
		<</replace>>
	<</link>>//
	<<if $abbreviateGenitalia != 2>>|<</if>>
<</if>>
<<if $abbreviateGenitalia != 2>>
	//<<link 'Summarize'>>
		<<set $abbreviateGenitalia = 2>>
		<<replace '#OptionAbbreviateGenitalia'>>
			<<OptionAbbreviateGenitalia>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviatePhysicals>>
	Should be placed in a <span> with id = "OptionAbbreviatePhysicals"
%/
<<widget "OptionAbbreviatePhysicals">>
Physical traits are
<<if $abbreviatePhysicals == 2>>
	@@.cyan;SUMMARIZED.@@
<<elseif $abbreviatePhysicals == 1>>
	@@.yellow;ABBREVIATED.@@
<<else>>
	@@.red;HIDDEN.@@
<</if>>

<<if $abbreviatePhysicals != 0>>
	//<<link 'Hide'>>
		<<set $abbreviatePhysicals = 0>>
		<<replace '#OptionAbbreviatePhysicals'>>
			<<OptionAbbreviatePhysicals>>
		<</replace>>
	<</link>>// |
<</if>>
<<if $abbreviatePhysicals != 1>>
	//<<link 'Abbreviate'>>
		<<set $abbreviatePhysicals = 1>>
		<<replace '#OptionAbbreviatePhysicals'>>
			<<OptionAbbreviatePhysicals>>
		<</replace>>
	<</link>>//
	<<if $abbreviatePhysicals != 2>>|<</if>>
<</if>>
<<if $abbreviatePhysicals != 2>>
	//<<link 'Summarize'>>
		<<set $abbreviatePhysicals = 2>>
		<<replace '#OptionAbbreviatePhysicals'>>
			<<OptionAbbreviatePhysicals>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateSkills>>
	Should be placed in a <span> with id = "OptionAbbreviateSkills"
%/
<<widget "OptionAbbreviateSkills">>
Skills are
<<if $abbreviateSkills == 2>>
	@@.cyan;SUMMARIZED.@@
<<elseif $abbreviateSkills == 1>>
	@@.yellow;ABBREVIATED.@@
<<else>>
	@@.red;HIDDEN.@@
<</if>>

<<if $abbreviateSkills != 0>>
	//<<link 'Hide'>>
		<<set $abbreviateSkills = 0>>
		<<replace '#OptionAbbreviateSkills'>>
			<<OptionAbbreviateSkills>>
		<</replace>>
	<</link>>// |
<</if>>
<<if $abbreviateSkills != 1>>
	//<<link 'Abbreviate'>>
		<<set $abbreviateSkills = 1>>
		<<replace '#OptionAbbreviateSkills'>>
			<<OptionAbbreviateSkills>>
		<</replace>>
	<</link>>//
	<<if $abbreviateSkills != 2>>|<</if>>
<</if>>
<<if $abbreviateSkills != 2>>
	//<<link 'Summarize'>>
		<<set $abbreviateSkills = 2>>
		<<replace '#OptionAbbreviateSkills'>>
			<<OptionAbbreviateSkills>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateMental>>
	Should be placed in a <span> with id = "OptionAbbreviateMental"
%/
<<widget "OptionAbbreviateMental">>
Mental attributes are
<<if $abbreviateMental == 2>>
	@@.cyan;SUMMARIZED.@@
<<elseif $abbreviateMental == 1>>
	@@.yellow;ABBREVIATED.@@
<<else>>
	@@.red;HIDDEN.@@
<</if>>

<<if $abbreviateMental != 0>>
	//<<link 'Hide'>>
		<<set $abbreviateMental = 0>>
		<<replace '#OptionAbbreviateMental'>>
			<<OptionAbbreviateMental>>
		<</replace>>
	<</link>>// |
<</if>>
<<if $abbreviateMental != 1>>
	//<<link 'Abbreviate'>>
		<<set $abbreviateMental = 1>>
		<<replace '#OptionAbbreviateMental'>>
			<<OptionAbbreviateMental>>
		<</replace>>
	<</link>>//
	<<if $abbreviateMental != 2>>|<</if>>
<</if>>
<<if $abbreviateMental != 2>>
	//<<link 'Summarize'>>
		<<set $abbreviateMental = 2>>
		<<replace '#OptionAbbreviateMental'>>
			<<OptionAbbreviateMental>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateNationality>>
	Should be placed in a <span> with id = "OptionAbbreviateNationality"
%/
<<widget "OptionAbbreviateNationality">>
Nationality is
<<if $abbreviateNationality == 2>>
	@@.cyan;SUMMARIZED.@@
<<elseif $abbreviateNationality == 1>>
	@@.yellow;ABBREVIATED.@@
<<else>>
	@@.red;HIDDEN.@@
<</if>>

<<if $abbreviateNationality != 0>>
	//<<link 'Hide'>>
		<<set $abbreviateNationality = 0>>
		<<replace '#OptionAbbreviateNationality'>>
			<<OptionAbbreviateNationality>>
		<</replace>>
	<</link>>// |
<</if>>
<<if $abbreviateNationality != 1>>
	//<<link 'Abbreviate'>>
		<<set $abbreviateNationality = 1>>
		<<replace '#OptionAbbreviateNationality'>>
			<<OptionAbbreviateNationality>>
		<</replace>>
	<</link>>//
	<<if $abbreviateNationality != 2>>|<</if>>
<</if>>
<<if $abbreviateNationality != 2>>
	//<<link 'Summarize'>>
		<<set $abbreviateNationality = 2>>
		<<replace '#OptionAbbreviateNationality'>>
			<<OptionAbbreviateNationality>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateRace>>
	Should be placed in a <span> with id = "OptionAbbreviateRace"
%/
<<widget "OptionAbbreviateRace">>
Race is
<<if $abbreviateRace == 2>>
	@@.cyan;SUMMARIZED.@@
<<elseif $abbreviateRace == 1>>
	@@.yellow;ABBREVIATED.@@
<<else>>
	@@.red;HIDDEN.@@
<</if>>

<<if $abbreviateRace != 0>>
	//<<link 'Hide'>>
		<<set $abbreviateRace = 0>>
		<<replace '#OptionAbbreviateRace'>>
			<<OptionAbbreviateRace>>
		<</replace>>
	<</link>>// |
<</if>>
<<if $abbreviateRace != 1>>
	//<<link 'Abbreviate'>>
		<<set $abbreviateRace = 1>>
		<<replace '#OptionAbbreviateRace'>>
			<<OptionAbbreviateRace>>
		<</replace>>
	<</link>>//
	<<if $abbreviateRace != 2>>|<</if>>
<</if>>
<<if $abbreviateRace != 2>>
	//<<link 'Summarize'>>
		<<set $abbreviateRace = 2>>
		<<replace '#OptionAbbreviateRace'>>
			<<OptionAbbreviateRace>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateClothes>>
	Should be placed in a <span> with id = "OptionAbbreviateClothes"
%/
<<widget "OptionAbbreviateClothes">>
Clothes are
<<if $abbreviateClothes == 2>>
	@@.cyan;SUMMARIZED.@@
	//<<link 'Hide'>>
		<<set $abbreviateClothes = 0>>
		<<replace '#OptionAbbreviateClothes'>>
			<<OptionAbbreviateClothes>>
		<</replace>>
	<</link>>//
<<else>>
	@@.red;HIDDEN.@@
	//<<link 'Summarize'>>
		<<set $abbreviateClothes = 2>>
		<<replace '#OptionAbbreviateClothes'>>
			<<OptionAbbreviateClothes>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateOrigins>>
	Should be placed in a <span> with id = "OptionAbbreviateOrigins"
%/
<<widget "OptionAbbreviateOrigins">>
Origins are
<<if $abbreviateOrigins == 2>>
	@@.cyan;SUMMARIZED.@@
	//<<link 'Hide'>>
		<<set $abbreviateOrigins = 0>>
		<<replace '#OptionAbbreviateOrigins'>>
			<<OptionAbbreviateOrigins>>
		<</replace>>
	<</link>>//
<<else>>
	@@.red;HIDDEN.@@
	//<<link 'Summarize'>>
		<<set $abbreviateOrigins = 2>>
		<<replace '#OptionAbbreviateOrigins'>>
			<<OptionAbbreviateOrigins>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateRulesets>>
	Should be placed in a <span> with id = "OptionAbbreviateRulesets"
%/
<<widget "OptionAbbreviateRulesets">>
Rules Assistant rulesets are
<<if $abbreviateRulesets == 2>>
	@@.cyan;SUMMARIZED.@@
	//<<link 'Hide'>>
		<<set $abbreviateRulesets = 0>>
		<<replace '#OptionAbbreviateRulesets'>>
			<<OptionAbbreviateRulesets>>
		<</replace>>
	<</link>>//
<<else>>
	@@.red;HIDDEN.@@
	//<<link 'Summarize'>>
		<<set $abbreviateRulesets = 2>>
		<<replace '#OptionAbbreviateRulesets'>>
			<<OptionAbbreviateRulesets>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateSidebar>>
	Should be placed in a <span> with id = "OptionAbbreviateSidebar"
%/
<<widget "OptionAbbreviateSidebar">>
Facilities in the sidebar are
<<if $abbreviateSidebar == 2>>
	@@.cyan;SUMMARIZED.@@
	//<<link 'Abbreviate'>>
		<<set $abbreviateSidebar = 1>>
		<<replace '#OptionAbbreviateSidebar'>>
			<<OptionAbbreviateSidebar>>
		<</replace>>
	<</link>>//
<<else>>
	@@.yellow;ABBREVIATED.@@
	//<<link 'Summarize'>>
		<<set $abbreviateSidebar = 2>>
		<<replace '#OptionAbbreviateSidebar'>>
			<<OptionAbbreviateSidebar>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>

/%
	Call as <<OptionAbbreviateMissing>>
	Should be placed in a <span> with id = "OptionAbbreviateMissing"
%/
<<widget "OptionAbbreviateMissing">>
Missing slave parents are
<<if $showMissingSlavesSD>>
	@@.cyan;SHOWN.@@
	//<<link 'Hide'>>
		<<set $showMissingSlavesSD = false>>
		<<replace '#OptionAbbreviateMissing'>>
			<<OptionAbbreviateMissing>>
		<</replace>>
	<</link>>//
<<else>>
	@@.red;HIDDEN.@@
	//<<link 'Show'>>
		<<set $showMissingSlavesSD = true>>
		<<replace '#OptionAbbreviateMissing'>>
			<<OptionAbbreviateMissing>>
		<</replace>>
	<</link>>//
<</if>>
<</widget>>


code:
:: PT widgets [widget nobr]

<<widget "InduceFlawAbuseEffects">>
<<if $activeSlave.devotion > 20>>
	$He's @@.mediumorchid;desperately confused@@ by this treatment, since the effect would be ruined if you explained it to $him, and $his @@.gold;trust in you is reduced.@@
<<elseif $activeSlave.devotion >= -20>>
	$He's @@.mediumorchid;confused, depressed@@ and @@.gold;frightened@@ by this treatment, since the effect would be ruined if you explained it to $him.
<<else>>
	$He's @@.mediumorchid;angry@@ and @@.gold;afraid@@ that you would treat $him like this.
<</if>>
<<if $activeSlave.energy > 10>>
	$His @@.red;appetite for sex is also reduced.@@
	<<set $activeSlave.energy -= 2>>
<</if>>
<<set $activeSlave.devotion -= 5>>
<<set $activeSlave.trust -= 5>>
<</widget>>

<<widget "InduceFlawLenityEffects">>
<<if $activeSlave.devotion <= 20>>
	$He doesn't understand what you intend by this strange treatment, but it does make $him @@.mediumaquamarine;inappropriately trusting.@@
	<<set $activeSlave.trust += 5>>
<</if>>
<</widget>>

<<widget "BasicTrainingDefaulter">>
	<br>
	<<set _pti = $personalAttention.findIndex(function(s) { return s.ID == $activeSlave.ID; })>>
	<<if ($activeSlave.devotion > 20) && ($activeSlave.behavioralFlaw != "none") && ($activeSlave.behavioralQuirk == "none")>>
		Since $he's obedient, @@.yellow;$his training assignment has defaulted to softening $his behavioral flaw.@@
		<<set $personalAttention[_pti].trainingRegimen = "soften her behavioral flaw">>
	<<elseif ($activeSlave.devotion > 20) && ($activeSlave.sexualQuirk == "none") && !["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "none", "self hating"].includes($activeSlave.sexualFlaw)>>
		Since $he's obedient, @@.yellow;$his training assignment has defaulted to softening $his sexual flaw.@@
		<<set $personalAttention[_pti].trainingRegimen = "soften her sexual flaw">>
	<<elseif ($activeSlave.devotion > 20) && ($activeSlave.behavioralFlaw != "none") && ($activeSlave.behavioralQuirk != "none")>>
		Since $he's obedient and already has a behavioral quirk, @@.yellow;$his training assignment has defaulted to removing $his behavioral flaw.@@
		<<set $personalAttention[_pti].trainingRegimen = "fix her behavioral flaw">>
	<<elseif ($activeSlave.devotion > 20) && !["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "none", "self hating"].includes($activeSlave.sexualFlaw)>>
		Since $he's obedient and already has a sexual quirk, @@.yellow;$his training assignment has defaulted to removing $his sexual flaw.@@
		<<set $personalAttention[_pti].trainingRegimen = "fix her sexual flaw">>
	<<elseif ($activeSlave.devotion <= 20) && ($activeSlave.trust >= -20)>>
		@@.yellow;$His training assignment has defaulted to breaking $his will.@@
		<<set $personalAttention[_pti].trainingRegimen = "break her will">>
	<<else>>
		$He is now fully broken; @@.yellow;$his training assignment has defaulted to fostering devotion.@@
		<<set $personalAttention[_pti].trainingRegimen = "build her devotion">>
	<</if>>
	<<set $activeSlave.training = 0, $slaves[$slaveIndices[$activeSlave.ID]].training = 0>>
<</widget>>

repo_name: CheatDude/fc


code:
:: saRulesWidgets [nobr widget]

/* needed to manage the obscene code duplication present in the revised saRules.tw */

<<widget "saRulesAttractionDiscovery">>

<<if $slaves[$i].attrXY <= 5>>
	@@.red;disgusted by men@@
<<elseif $slaves[$i].attrXY <= 15>>
	@@.red;turned off by men@@
<<elseif $slaves[$i].attrXY <= 35>>
	@@.red;not attracted to men@@
<<elseif $slaves[$i].attrXY <= 65>>
	indifferent to men
<<elseif $slaves[$i].attrXY <= 85>>
	@@.green;attracted to men@@
<<elseif $slaves[$i].attrXY <= 95>>
	@@.green;aroused by men@@
<<else>>
	@@.green;passionate about men@@
<</if>>
and
<<if $slaves[$i].attrXX <= 5>>
	@@.red;disgusted by women.@@
<<elseif $slaves[$i].attrXX <= 15>>
	@@.red;turned off by women.@@
<<elseif $slaves[$i].attrXX <= 35>>
	@@.red;not attracted to women.@@
<<elseif $slaves[$i].attrXX <= 65>>
	indifferent to women.
<<elseif $slaves[$i].attrXX <= 85>>
	@@.green;attracted to women.@@
<<elseif $slaves[$i].attrXX <= 95>>
	@@.green;aroused by women.@@
<<else>>
	@@.green;passionate about women.@@
<</if>>

<</widget>>

<<widget "saRulesPlayerFetishPlay">>

					<<if ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<switch $slaves[$i].fetish>>
						<<case "submissive">>
							hold $him down and fuck $him
						<<case "cumslut">>
							<<if $PC.dick == 1>>
								cum in $his mouth
							<<else>>
								use your strap-on on $his mouth
							<</if>>
						<<case "humiliation">>
							use $him in public
						<<case "buttslut">>
							fuck $his butt
						<<case "boobs">>
							fondle $his breasts
							<<if $slaves[$i].lactation > 0>>
								<<set $slaves[$i].lactationDuration = 2>>
								<<set $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
							<</if>>
						<<case "sadist">>
							let $him help you abuse other slaves
						<<case "masochist">>
							hurt $him
						<<case "dom">>
							let $him help you use other slaves
						<<case "pregnancy">>
							<<if isFertile($slaves[$i]) && $PC.dick == 1>>
								put a baby in $him
							<<elseif $slaves[$i].bellyPreg >= 1500 || $slaves[$i].bellyImplant >= 1500>>
								enjoy $his fecund curves
							<<else>>
								breed $him
							<</if>>
						<<default>>
							fuck $him
						<</switch>>
					<<else>>
						fuck $him
					<</if>>

<</widget>>

<<widget "saRulesPlayerEnergy">>

						<<if $freeSexualEnergy > 0>>
							<<if $freeSexualEnergy == 3>>
								You have surplus sexual energy to burn, even when $he doesn't ask, and $he
								<<if $slaves[$i].devotion < -20>>
									@@.hotpink;hates $himself@@ for how often $he gets off on you relieving your needs with $his body.
								<<elseif $slaves[$i].devotion <= 50 || $slaves[$i].trust <= 20>>
									@@.hotpink;gets used to being a sex slave@@ every time $he climaxes as you use $him.
								<<else>>
									@@.hotpink;eagerly looks forward@@ to each climax $he shares with you.
								<</if>>
								<<set $slaves[$i].devotion += 2, $slaves[$i].need = 0>>
								<<= SimpleSexAct($slaves[$i], 10)>>
							<<elseif $freeSexualEnergy == 2>>
								You have surplus sexual energy to fuck $him whenever <<if $slaves[$i].relationship == -3>> you notice $his need<<else>>$he forces $himself to ask<</if>>, and $he is @@.hotpink;sexually dependent@@ on you.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need -= 40>>
								<<= SimpleSexAct($slaves[$i], 5)>>
							<<elseif $slaves[$i].relationship == -3>>
								You have little surplus sexual energy, but you make sure to keep your wife's needs in mind<<if $slaves[$i].devotion < -20>>, even if $he doesn't want it<</if>>.
								<<set $slaves[$i].need -= 40>>
								<<= SimpleSexAct($slaves[$i], 5)>>
							<<else>>
								You have little surplus sexual energy, and occasionally, $he asks in vain.
								<<set $slaves[$i].need -= 20>>
								<<= SimpleSexAct($slaves[$i], 2)>>
							<</if>>
						<<else>>
							You have no surplus sexual energy, and $he asks in vain, @@.gold;reducing $his trust@@ in you.
							<<set $slaves[$i].trust -= 1>>
						<</if>>

<</widget>>

<<widget "saRulesPlayerDiscoversFetish">>

					<<if $slaves[$i].fetishKnown == 0>>
						<<if $freeSexualEnergy > 0>>
							<<if $freeSexualEnergy > random(0,5)>>
								<<set $slaves[$i].fetishKnown = 1>>
								You discover that $he really likes it when you
								<<switch $slaves[$i].fetish>>
								<<case "submissive">>
									hold $him down and fuck $him; @@.lightcoral;$he's a submissive!@@
								<<case "cumslut">>
									<<if $PC.dick == 1>>
										cum in $his mouth; @@.lightcoral;$he's a cumslut!@@
									<<else>>
										use your strap-on in $his mouth; @@.lightcoral;$he's a cumslut!@@
									<</if>>
								<<case "humiliation">>
									use $him in public; @@.lightcoral;$he's a humiliation fetishist!@@
								<<case "buttslut">>
									<<if canDoAnal($slaves[$i])>>fuck $his butt<<else>>tease $his anus<</if>>; @@.lightcoral;$he's an anal slut!@@
								<<case "boobs">>
									fondle $his breasts; @@.lightcoral;$he's a boob fetishist!@@
								<<case "sadist">>
									let $him help you abuse other slaves; @@.lightcoral;$he's a sadist!@@
								<<case "masochist">>
									hurt $him; @@.lightcoral;$he's a masochist!@@
								<<case "dom">>
									let $him help you use other slaves; @@.lightcoral;$he's dominant!@@
								<<case "pregnancy">>
									<<if $PC.dick == 1>>
										<<if $slaves[$i].mpreg == 0>>
											come <<if canDoVaginal($slaves[$i])>>inside<<else>>on<</if>> $him; @@.lightcoral;$he's a pregnancy fetishist!@@
										<<else>>
											come <<if canDoAnal($slaves[$i])>>inside<<else>>on<</if>> $him; @@.lightcoral;$he's a pregnancy fetishist!@@
										<</if>>
									<<else>>
										talk dirty and call $him a mother; @@.lightcoral;$he's a pregnancy fetishist!@@
									<</if>>
								<<default>>
									fuck $him; @@.lightcoral;$he's got a normal sexuality.@@
								<</switch>>
							<</if>>
						<</if>>
					<</if>> /* closes fetish discovery */

<</widget>>

<<widget "saRulesPlayerDrugEffects">>

					<<if $slaves[$i].balls > 0>>
						<<if ($slaves[$i].drugs == "testicle enhancement" || $slaves[$i].drugs == "intensive testicle enhancement")>>
							<<if ($slaves[$i].devotion > 20) || ($slaves[$i].trust < -20)>>
								<<if $slaves[$i].hormoneBalance >= 100>>
									$He can't seem to get enough cum out of $his terribly swollen balls in one orgasm to relieve the pressure:
									<<if $slaves[$i].dick>>
										$his poor soft dick produces slow, anemic ejaculations, no matter how backed up $he is.
									<<else>>
										$his cumhole produces slow, anemic ejaculations, no matter how backed up $he is.
									<</if>>
									This forces $him to come to you for release many times a day, and $he @@.mediumaquamarine;is desperately reliant@@
									<<if $slaves[$i].anus > 0 && canDoAnal($slaves[$i]) && $freeSexualEnergy > 0>>
										on your <<if $PC.dick == 0>>strap-on<<else>>penis<</if>> inside $his ass as a source of relief.
									<<else>>
										on you for relief.
									<</if>>
									<<set $slaves[$i].trust += 2>>
								<<else>>
									$His terribly swollen balls force $him to come to you for release several times a day, and $he @@.mediumaquamarine;learns to rely@@
									<<if $slaves[$i].anus > 0 && canDoAnal($slaves[$i]) && $freeSexualEnergy > 0>>
										on your <<if $PC.dick == 0>>strap-on<<else>>penis<</if>> inside $his ass as a source of relief.
									<<else>>
										on you for relief.
									<</if>>
									<<set $slaves[$i].trust += 1>>
								<</if>>
							<<else>>
								$He refuses to come to you for help with $his terribly swollen balls, no matter how backed up $he becomes. The intense blueballing only @@.mediumorchid;makes $him dislike you more.@@
								<<set $slaves[$i].devotion -= 1>>
							<</if>>
						<<elseif $slaves[$i].drugs == "hyper testicle enhancement">>
							<<if ($slaves[$i].devotion > 20) || ($slaves[$i].trust < -20)>>
								<<if $slaves[$i].hormoneBalance >= 100>>
									$He can't seem to get enough cum out of $his grotesquely swollen balls in one orgasm to get relieve the pressure:
									<<if $slaves[$i].dick>>
										$his poor soft dick produces slow, anemic ejaculations, no matter how backed up $he is.
									<<else>>
										$his cumhole produces slow, anemic ejaculations, no matter how backed up $he is.
									<</if>>
									This forces $him to come to you for release many times a day, and $he @@.mediumaquamarine;is desperately reliant@@
									<<if $slaves[$i].anus > 0 && canDoAnal($slaves[$i]) && $freeSexualEnergy > 0>>
										on your <<if $PC.dick == 0>>strap-on<<else>>penis<</if>> inside $his ass as a source of relief.
									<<else>>
										on you for relief.
									<</if>>
									<<set $slaves[$i].trust += 2>>
								<<else>>
									$His grotesquely swollen balls force $him to come to you for release dozens of times a day, and $he @@.mediumaquamarine;is desperately reliant@@
									<<if $slaves[$i].anus > 0 && canDoAnal($slaves[$i]) && $freeSexualEnergy > 0>>
										on your <<if $PC.dick == 0>>strap-on<<else>>penis<</if>> inside $his ass as a source of relief.
									<<else>>
										on you for relief.
									<</if>>
									<<set $slaves[$i].trust += 1>>
								<</if>>
							<<else>>
								$He refuses to come to you for help with $his grotesquely swollen balls, no matter how backed up and sore $he becomes. The intense blueballing only @@.mediumorchid;makes $him hate you more.@@
								<<set $slaves[$i].devotion -= 3>>
							<</if>>
						<</if>>
					<</if>> /* close overactive balls block */
					<<if $slaves[$i].drugs == "super fertility drugs" && canImpreg($slaves[$i], $PC)>>
						<<if ($slaves[$i].devotion > 20) || ($slaves[$i].trust < -20)>>
							$His reproductive system is in overdrive leading $him to come to you for insemination several times a day; $he @@.mediumaquamarine;desperately hopes@@ for the day your seed takes root in $his womb.
							<<set $slaves[$i].trust += 1>>
						<</if>>
					<</if>>

<</widget>>

<<widget "saRulesMasturbationFetishPlay">>
						<<if ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
							<<if ($slaves[$i].fetish == "submissive")>>
								frequently pretends to be getting held down and dominated.
							<<elseif ($slaves[$i].fetish == "cumslut")>>
								<<if $slaves[$i].dick > 5>>
									enjoys giving $himself head.
								<<elseif $slaves[$i].dick > 0>>
									enjoys licking up $his own cum.
								<<else>>
									always has a dildo in $his mouth.
								<</if>>
							<<elseif ($slaves[$i].fetish == "humiliation")>>
								usually does it out in the open for all to see.
							<<elseif ($slaves[$i].fetish == "buttslut")>>
								<<if ($slaves[$i].anus > 0)>>
									usually pounds $his ass with the largest dildo $he can find.
								<<else>>
									enjoys fiddling with $his virgin asshole.
								<</if>>
							<<elseif ($slaves[$i].fetish == "boobs")>>
								pays extra attention to $his breasts and nipples.
								<<if $slaves[$i].lactation > 0>>
									<<set $slaves[$i].lactationDuration = 2>>
									<<set $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
								<<else>>
									<<= induceLactation($slaves[$i])>>
								<</if>>
							<<elseif ($slaves[$i].fetish == "sadist")>>
								frequently poses threats at $himself.
							<<elseif ($slaves[$i].fetish == "masochist")>>
								frequently pretends to be getting held down and forcibly raped.
							<<elseif ($slaves[$i].fetish == "dom")>>
								usually pretends to dominate $himself.
							<<elseif ($slaves[$i].fetish == "pregnancy")>>
								<<if $slaves[$i].belly > 1500>>
									<<set _belly = bellyAdjective($activeSlave)>>
									always rubs and teases $his _belly belly while doing so.
								<<elseif isItemAccessible("a small empathy belly")>>
									frequently straps on a fake belly to enhance $his fun.
								<<else>>
									frequently pretends to be
									<<if $activeSlave.balls > 0>>
										getting a girl pregnant.
									<<else>>
										getting knocked up.
									<</if>>
								<</if>>
							<<elseif ($slaves[$i].energy > 95)>>
								strives to achieve as many orgasms as $he can in one session.
							<<else>>
								quickly gets off and moves on.
							<</if>>
						<<elseif ($slaves[$i].energy > 95)>>
							strives to achieve as many orgasms as $he can in one session.
						<<else>>
							quickly gets off and moves on.
						<</if>> /* closes ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60) */

<</widget>>

<<widget "saRulesMasturbationDiscoversFetish">>

						<<if ($slaves[$i].fetishKnown == 0) && (random(1,20) == 1)>>
							<<set $slaves[$i].fetishKnown = 1>>
							However, you start to notice a trend in $his fantasies,
							<<if ($slaves[$i].fetish == "submissive")>>
								$he likes to tie $himself up and boss $himself around; @@.lightcoral;$he's a submissive!@@
							<<elseif ($slaves[$i].fetish == "cumslut")>>
								<<if $slaves[$i].dick > 0>>
									$he often eats $his own cum when $he's finished; @@.lightcoral;$he's a cumslut!@@
								<<else>>
									$he likes to have something, anything, in $his mouth while $he masturbates; @@.lightcoral;$he's a cumslut!@@
								<</if>>
							<<elseif ($slaves[$i].fetish == "humiliation")>>
								$he tends to masturbate in places where others can walk in on $him; @@.lightcoral;$he's a humiliation fetishist!@@
							<<elseif ($slaves[$i].fetish == "buttslut")>>
								$he always pays special attention to $his butthole; @@.lightcoral;$he's an anal slut!@@
							<<elseif ($slaves[$i].fetish == "boobs")>>
								$he always has a hand to $his nipples; @@.lightcoral;$he's a boob fetishist!@@
								<<if $slaves[$i].lactation > 0>>
									<<set $slaves[$i].lactationDuration = 2>>
									<<set $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
								<<else>>
									<<= induceLactation($slaves[$i])>>
								<</if>>
							<<elseif ($slaves[$i].fetish == "sadist")>>
								$he tends to threaten $his toys; @@.lightcoral;$he's a sadist!@@
							<<elseif ($slaves[$i].fetish == "masochist")>>
								$he often to abuses $himself; @@.lightcoral;$he's a masochist!@@
							<<elseif ($slaves[$i].fetish == "dom")>>
								$he sometimes bosses $his toys around; @@.lightcoral;$he's dominant!@@
							<<elseif ($slaves[$i].fetish == "pregnancy")>>
								$he frequently pretends to either get pregnant, be pregnant, or get someone else pregnant; @@.lightcoral;$he's a pregnancy fetishist!@@
							<<elseif ($slaves[$i].energy > 95)>>
								$he's always horny; @@.lightcoral;$he's a nympho!@@
							<<else>>
								@@.lightcoral;they are incredibly mundane.@@
							<</if>>
						<</if>>

<</widget>>

<<widget "saRulesMasturbationDrugEffects">>

					<<if $slaves[$i].balls > 0>>
						<<if $slaves[$i].drugs == "testicle enhancement" || $slaves[$i].drugs == "intensive testicle enhancement">>
							<<if $slaves[$i].hormoneBalance >= 100>>
								$He can't seem to get enough cum out of $his terribly swollen balls in one orgasm to get relieve the pressure:
								<<if $slaves[$i].dick>>
										$his poor soft dick produces slow, anemic ejaculations, no matter how backed up $he is.
									<<else>>
										$his cumhole produces slow, anemic ejaculations, no matter how backed up $he is.
									<</if>>
								$He masturbates as often as $he can, but @@.mediumorchid;can't find relief.@@
								<<set $slaves[$i].devotion-->>
							<<else>>
								$His terribly swollen balls force $him to masturbate several times a day, cultivating a need for sex that @@.mediumorchid;$he can't fulfill.@@
								<<set $slaves[$i].devotion -= 1>>
							<</if>>
						<<elseif $slaves[$i].drugs == "hyper testicle enhancement">>
							<<if $slaves[$i].hormoneBalance >= 100>>
								$He can't seem to get enough cum out of $his grotesquely swollen balls in one orgasm to get relieve the pressure:
								<<if $slaves[$i].dick>>
										$his poor soft dick produces slow, anemic ejaculations, no matter how backed up $he is.
									<<else>>
										$his cumhole produces slow, anemic ejaculations, no matter how backed up $he is.
									<</if>>
								$He masturbates non-stop, but @@.mediumorchid;can't find relief.@@
								<<set $slaves[$i].devotion -= 3>>
							<<else>>
								$His grotesquely swollen balls force $him to masturbate constantly, cultivating a need for sex that @@.mediumorchid;$he can't fulfill.@@
								<<set $slaves[$i].devotion -= 1>>
							<</if>>
							<<if $slaves[$i].energy > 40>>
								The constant orgasms steadily lose their impact, @@.red;weakening $his sex drive.@@
								<<set $slaves[$i].energy -= 2>>
							<</if>>
						<</if>>
					<</if>>
					<<if $slaves[$i].drugs == "super fertility drugs" && canGetPregnant($slaves[$i])>>
						$His reproductive system is in overdrive,
						<<if $slaves[$i].dick > 9>>
							leaving $him @@.mediumorchid;desperately fucking $himself@@ in an effort to get pregnant since @@.gold;you won't <<if $PC.dick == 1>>give $him<<else>>let $him find<</if>> the dick $he needs.@@
							<<if canImpreg($slaves[$i], $slaves[$i])>>
								<<= knockMeUp($slaves[$i], 5, 2, $slaves[$i].ID, 1)>>
							<</if>>
							<<if $slaves[$i].mpreg == 1 && $slaves[$i].anus == 0>>
								@@.lime;$He is so baby crazed $he takes $his own anal virginity.@@
								<<set $slaves[$i].anus++>>
							<<elseif $slaves[$i].vagina == 0>>
								@@.lime;$He is so baby crazed $he takes $his own virginity.@@
								<<set $slaves[$i].vagina++>>
							<</if>>
							<<set $slaves[$i].devotion -= 3, $slaves[$i].trust -= 2>>
						<<elseif ($slaves[$i].devotion >= -20)>>
							leaving $him @@.mediumorchid;completely unfulfilled@@ since @@.gold;you won't <<if $PC.dick == 1>>give $him<<else>>let $him find<</if>> the dick $he needs.@@
							<<set $slaves[$i].devotion -= 3, $slaves[$i].trust -= 2>>
						<<else>>
							leaving $him desperate for a thorough seeding @@.mediumorchid;that you've forbidden $him from having.@@
							<<set $slaves[$i].devotion -= 3>>
						<</if>>
					<</if>>
					<<if $slaves[$i].energy > 60>>
						$His chronic masturbation @@.red;steadily dulls@@ $his sexual pleasure.
						<<set $slaves[$i].energy-->>
					<</if>>

<</widget>>

<<widget "saRulesRapeFetish">>

							<<if ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
								<<if ($slaves[$i].fetish == "submissive")>>
									plead that other slaves fuck $him.
									<<if $averageDick > 4>>
										<<if $slaves[$i].anus > 0 && $slaves[$i].anus < 3 && canDoAnal($slaves[$i])>>
											<<if ($slaves[$i].anus*40)-($averageDick*5) < random(1,100)>>
												@@.lime;$His asshole is loosened@@ during sex with other slaves, since most of the cocks $he enticed a dominating buttfuck from are very large.
												<<set $slaves[$i].anus++>>
												<<set $slaves[$i].counter.anal += 3, $analTotal += 3>>
											<</if>>
										<</if>>
											<<if $averageDick > 5>>
											<<if $slaves[$i].vagina > 0 && $slaves[$i].vagina < 3 && canDoVaginal($slaves[$i])>>
												<<if ($slaves[$i].vagina*40)-($averageDick*5) < random(1,100)>>
													Since most of the slaves $he enticed a pounding from are extremely hung, @@.lime;$his cunt gets stretched out.@@
													<<set $slaves[$i].vagina++>>
													<<set $slaves[$i].counter.vaginal += 3, $vaginalTotal += 3>>
												<</if>>
											<</if>>
										<</if>>
									<</if>>
									<<run SimpleSlaveFucking($slaves[$i], 7)>>
								<<elseif ($slaves[$i].fetish == "cumslut")>>
									suck or be sucked by any slave $he fancies.
									<<set _fuckCount = random(5,15)>>
									<<set $slaves[$i].counter.oral += _fuckCount, $oralTotal += _fuckCount>>
								<<elseif ($slaves[$i].fetish == "humiliation")>>
									demand that other slaves let $him fuck them in public.
									<<if $slaves[$i].assignmentVisible>>
									<<if !$slaves[$i].rivalry>>
										<<SlaveSort $RapeableIDs>>
										<<for _dI = 0; _dI < $RapeableIDs.length; _dI++>>
											<<set _j = $slaveIndices[$RapeableIDs[_dI]]>>
											<<if !$slaves[_j].rivalry>>
											<<if $slaves[_j].assignmentVisible || $slaves[_j].assignment == $slaves[$i].assignment>>
											<<if $slaves[_j].devotion <= 20>>
											<<if $slaves[_j].trust < -20>>
												Craving a rush, $he repeatedly forces a reluctant <<= SlaveFullName($slaves[_j])>> to have sex with $him in public. $slaves[_j].slaveName resents this, and $slaves[$i].slaveName's ongoing sexual abuse @@.lightsalmon;starts a rivalry@@ between them.
												<<set $slaves[$i].rivalry = 1, $slaves[_j].rivalry = 1, $slaves[$i].rivalryTarget = $slaves[_j].ID, $slaves[_j].rivalryTarget = $slaves[$i].ID>>
												<<run SimpleSlaveFucking($slaves[_j], 4)>>
												<<if canPenetrate($slaves[_j])>>
													<<set _fuckCount = random(1,3)>>
													<<set $slaves[_j].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
												<</if>>
												<<break>>
											<</if>>
											<</if>>
											<</if>>
											<</if>>
										<</for>>
									<</if>>
									<</if>>
									<<run SimpleSlaveFucking($slaves[$i], 4)>>
									<<if canPenetrate($slaves[$i])>>
										<<set _fuckCount = random(1,3)>>
										<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
									<</if>>
								<<elseif ($slaves[$i].fetish == "buttslut") && canDoAnal($slaves[$i])>>
									demand that other slaves penetrate $his anus.
									<<if $averageDick > 4>>
										<<if $slaves[$i].anus > 0 && $slaves[$i].anus < 3 && canDoAnal($slaves[$i])>>
											<<if ($slaves[$i].anus*30)-($averageDick*5) < random(1,100)>>
												Since most of the slaves $he demands anal sex from are extremely hung, @@.lime;$his asshole gets stretched out.@@
												<<set $slaves[$i].anus += 1>>
											<</if>>
										<</if>>
									<</if>>
									<<set _fuckCount = random(5,12)>>
									<<set $slaves[$i].counter.anal += _fuckCount, $analTotal += _fuckCount>>
								<<elseif ($slaves[$i].fetish == "boobs")>>
									demand that other slaves massage $his breasts.
									<<if $slaves[$i].lactation > 0>>
										<<set $slaves[$i].lactationDuration = 2>>
										<<set $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
									<<else>>
										<<= induceLactation($slaves[$i])>>
									<</if>>
									<<set _fuckCount = random(10,25)>>
									<<set $slaves[$i].counter.mammary += _fuckCount, $mammaryTotal += _fuckCount>>
								<<elseif ($slaves[$i].fetish == "sadist")>>
									force the most reluctant slaves to let $him fuck them.
									<<if $slaves[$i].assignmentVisible>>
									<<if !$slaves[$i].rivalry>>
										<<SlaveSort $RapeableIDs>>
										<<for _dI = 0; _dI < $RapeableIDs.length; _dI++>>
											<<set _j = $slaveIndices[$RapeableIDs[_dI]]>>
											<<setLocalPronouns $slaves[_j] 2>>
											<<if !$slaves[_j].rivalry>>
											<<if $slaves[_j].assignmentVisible || $slaves[_j].assignment == $slaves[$i].assignment>>
											<<if $slaves[_j].devotion <= 50>>
											<<if $slaves[_j].sexualFlaw != "none">>
												$He focuses on <<= SlaveFullName($slaves[_j])>>, who has a sexual flaw $slaves[$i].slaveName can exploit. $He sadistically
												<<if $slaves[_j].sexualFlaw == "hates oral">>
													rapes the poor slave's face<<if !canAchieveErection($slaves[$i])>> with $his fingers<</if>>. $slaves[_j].slaveName hates oral
												<<elseif $slaves[_j].sexualFlaw == "hates penetration" && canDoVaginal($slaves[_j])>>
													rapes the poor slave's pussy<<if !canAchieveErection($slaves[$i])>> with $his fingers<</if>>. $slaves[_j].slaveName hates penetration
												<<elseif ($slaves[_j].sexualFlaw == "hates anal" || $slaves[_j].sexualFlaw == "hates penetration") && canDoAnal($slaves[_j])>>
													rapes the poor slave's ass<<if !canAchieveErection($slaves[$i])>> with $his fingers<</if>>. $slaves[_j].slaveName hates anal
												<<elseif $slaves[_j].sexualFlaw == "shamefast">>
													rapes the poor slave in public. $slaves[_j].slaveName is terribly shamefast
												<<elseif $slaves[_j].sexualFlaw == "idealistic">>
													rapes the poor slave every time $he catches _him2 being romantic. $slaves[_j].slaveName is still idealistic
												<<else>>
													rapes the poor slave every chance $he gets,
												<</if>>
												and the sexual abuse @@.lightsalmon;starts a rivalry@@ between them.
												<<set $slaves[$i].rivalry = 1, $slaves[_j].rivalry = 1, $slaves[$i].rivalryTarget = $slaves[_j].ID, $slaves[_j].rivalryTarget = $slaves[$i].ID>>
												<<break>>
												<<run SimpleSlaveFucking($slaves[_j], 4)>>
												<<if canPenetrate($slaves[_j])>>
													<<set _fuckCount = random(1,3)>>
													<<set $slaves[_j].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
												<</if>>
											<</if>>
											<</if>>
											<</if>>
											<</if>>
										<</for>>
									<</if>>
									<</if>>
									<<run SimpleSlaveFucking($slaves[$i], 4)>>
									<<if canPenetrate($slaves[$i])>>
										<<set _fuckCount = random(1,3)>>
										<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
									<</if>>
								<<elseif ($slaves[$i].fetish == "masochist")>>
									demand that other slaves hurt $him.
									<<if $averageDick > 4>>
										<<if $slaves[$i].anus > 0 && $slaves[$i].anus < 3 && canDoAnal($slaves[$i])>>
											<<if ($slaves[$i].anus*30)-($averageDick*5) < random(1,100)>>
												@@.lime;$His asshole is loosened@@ during sex with hung slaves, since $he often relies on painal to address $his needs.
												<<set $slaves[$i].anus += 1>>
												<<set $slaves[$i].counter.anal += 3, $analTotal += 3>>
											<</if>>
										<</if>>
										<<if $averageDick > 5>>
											<<if $slaves[$i].vagina > 0 && $slaves[$i].vagina < 3 && canDoVaginal($slaves[$i])>>
												<<if ($slaves[$i].vagina*30)-($averageDick*5) < random(1,100)>>
													Since $he usually demands that hung slaves fuck $him hard enough to make $his pussy hurt, @@.lime;$his cunt gets stretched out.@@
													<<set $slaves[$i].vagina += 1>>
													<<set $slaves[$i].counter.vaginal += 3, $vaginalTotal += 3>>
												<</if>>
											<</if>>
										<</if>>
									<</if>>
									<<run SimpleSlaveFucking($slaves[$i], 12)>>
								<<elseif ($slaves[$i].fetish == "dom")>>
									force other slaves to submit to $him.
									<<if $slaves[$i].assignmentVisible>>
									<<if !$slaves[$i].rivalry>>
										<<SlaveSort $RapeableIDs>>
										<<for _dI = 0; _dI < $RapeableIDs.length; _dI++>>
											<<set _j = $slaveIndices[$RapeableIDs[_dI]]>>
											<<if !$slaves[_j].rivalry>>
											<<if $slaves[_j].assignmentVisible || $slaves[_j].assignment == $slaves[$i].assignment>>
											<<if $slaves[_j].devotion <= 20>>
											<<if $slaves[_j].trust < -20>>
												$He repeatedly rapes a reluctant <<= SlaveFullName($slaves[_j])>>; $he can't seem to keep $his hands off the poor slave, who can't avoid $him. Not surprisingly, $slaves[_j].slaveName resents this, and $slaves[$i].slaveName's ongoing sexual abuse @@.lightsalmon;starts a rivalry@@ between them.
												<<set $slaves[$i].rivalry = 1, $slaves[_j].rivalry = 1, $slaves[$i].rivalryTarget = $slaves[_j].ID, $slaves[_j].rivalryTarget = $slaves[$i].ID>>
												<<break>>
												<<run SimpleSlaveFucking($slaves[_j], 4)>>
											<</if>>
											<</if>>
											<</if>>
											<</if>>
										<</for>>
									<</if>>
									<</if>>
									<<run SimpleSlaveFucking($slaves[$i], 7)>>
									<<if canPenetrate($slaves[$i])>>
										<<set _fuckCount = random(6,9)>>
										<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
									<</if>>
								<<elseif ($slaves[$i].fetish == "pregnancy")>>
									demand that other slaves indulge $his pregnancy fetish.
									<<if $averageDick > 5>>
										<<if $slaves[$i].mpreg == 0>>
											<<if $slaves[$i].vagina > 0 && $slaves[$i].vagina < 3 && canDoVaginal($slaves[$i])>>
											<<if ($slaves[$i].vagina*40)-($averageDick*5) < random(1,100)>>
												Since $he constantly demands to be fucked deeply to get $his womb filled with cum, @@.lime;$his cunt gets stretched out.@@
												<<set $slaves[$i].vagina += 1>>
												<<set _fuckCount = random(7,14)>>
												<<set $slaves[$i].counter.vaginal += _fuckCount, $vaginalTotal += _fuckCount>>
											<</if>>
											<</if>>
										<<else>>
											<<if $slaves[$i].anus > 0 && $slaves[$i].anus < 3 && canDoAnal($slaves[$i])>>
											<<if ($slaves[$i].anus*40)-($averageDick*5) < random(1,100)>>
												Since $he constantly demands to be fucked deeply to get $his womb filled with cum, @@.lime;$his ass gets stretched out.@@
												<<set $slaves[$i].anus += 1>>
												<<set _fuckCount = random(7,14)>>
												<<set $slaves[$i].counter.anal += _fuckCount, $analTotal += _fuckCount>>
											<</if>>
											<</if>>
										<</if>>
									<</if>>
									<<if canPenetrate($slaves[$i])>>
										<<set _fuckCount = random(6,9)>>
										<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
									<</if>>
								<<elseif ($slaves[$i].energy > 95)>>
									demand that your other slaves satisfy $his formidable appetites.
									<<if $averageDick > 4>>
										<<if $slaves[$i].anus > 0 && $slaves[$i].anus < 3 && canDoAnal($slaves[$i])>>
											<<if ($slaves[$i].anus*30)-($averageDick*5) < random(1,100)>>
												@@.lime;$His asshole is loosened@@ during sex with well endowed slaves, since $he's so addicted to sex all $his holes see heavy traffic.
												<<set $slaves[$i].anus += 1>>
												<<set $slaves[$i].counter.anal += 3, $analTotal += 3>>
											<</if>>
										<</if>>
										<<if $averageDick > 5>>
											<<if $slaves[$i].vagina > 0 && $slaves[$i].vagina < 3 && canDoVaginal($slaves[$i])>>
												<<if ($slaves[$i].vagina*30)-($averageDick*5) < random(1,100)>>
													$He indulges in non-stop sex with your well endowed slaves, so much so that @@.lime;$his cunt gets stretched out.@@
													<<set $slaves[$i].vagina += 1>>
													<<set $slaves[$i].counter.vaginal += 3, $vaginalTotal += 3>>
												<</if>>
											<</if>>
										<</if>>
									<</if>>
									<<run SimpleSlaveFucking($slaves[$i], 7)>>
									<<if canPenetrate($slaves[$i])>>
										<<set _fuckCount = random(3,6)>>
										<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
									<</if>>
								<<else>>
									demand that other slaves have sex with $him.
									<<run SimpleSlaveFucking($slaves[$i], 7)>>
									<<if canPenetrate($slaves[$i])>>
										<<set _fuckCount = random(3,6)>>
										<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
									<</if>>
								<</if>>
							<<else>>
								demand that other slaves have sex with $him.
								<<run SimpleSlaveFucking($slaves[$i], 7)>>
								<<if canPenetrate($slaves[$i])>>
									<<set _fuckCount = random(3,6)>>
									<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
								<</if>>
							<</if>> /* closes ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60) */

<</widget>>

<<widget "saRulesConsentFetish">>

							<<if ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
								<<if ($slaves[$i].fetish == "submissive")>>
									usually pairing off with a more dominant slave.
									<<if $averageDick > 4>>
										<<if $slaves[$i].anus > 0 && $slaves[$i].anus < 3 && canDoAnal($slaves[$i])>>
											<<if ($slaves[$i].anus*40)-($averageDick*5) < random(1,100)>>
												@@.lime;$His asshole is loosened@@ during sex with other slaves, since most of the cocks $he lets dominate $his backdoor are very large.
												<<set $slaves[$i].anus += 1>>
												<<set $slaves[$i].counter.anal += 3, $analTotal += 3>>
											<</if>>
										<</if>>
										<<if $averageDick > 5>>
											<<if $slaves[$i].vagina > 0 && $slaves[$i].vagina < 3 && canDoVaginal($slaves[$i])>>
												<<if ($slaves[$i].vagina*40)-($averageDick*5) < random(1,100)>>
													Since most of the slaves $he takes a pounding from are extremely hung, @@.lime;$his cunt gets stretched out.@@
													<<set $slaves[$i].vagina += 1>>
													<<set $slaves[$i].counter.vaginal += 3, $vaginalTotal += 3>>
												<</if>>
											<</if>>
										<</if>>
									<</if>>
									<<run SimpleSlaveFucking($slaves[$i], 7)>>
								<<elseif ($slaves[$i].fetish == "cumslut")>>
									and is popular for $his willingness to give oral.
									<<set _fuckCount = random(5,15)>>
									<<set $slaves[$i].counter.oral += _fuckCount, $oralTotal += _fuckCount>>
								<<elseif ($slaves[$i].fetish == "humiliation")>>
									usually asking them to fuck out in the open.
									<<run SimpleSlaveFucking($slaves[$i], 7)>>
									<<if canPenetrate($slaves[$i])>>
										<<set _fuckCount = random(1,3)>>
										<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
									<</if>>
								<<elseif ($slaves[$i].fetish == "buttslut")>>
									looking after anyone who will
									<<if ($slaves[$i].anus > 0)>>
										<<if canDoAnal($slaves[$i])>>
											penetrate
											<<set _fuckCount = random(5,12)>>
											<<set $slaves[$i].counter.anal += _fuckCount, $analTotal += _fuckCount>>
										<<else>>
											tease
										<</if>>
										$his ass
									<<else>>
										tease $his virgin anus
									<</if>>
									in return.
									<<if $averageDick > 4>>
										<<if $slaves[$i].anus > 0 && $slaves[$i].anus < 3 && canDoAnal($slaves[$i])>>
											<<if ($slaves[$i].anus*30)-($averageDick*5) < random(1,100)>>
												Since most of the slaves $he enjoys anal sex with are extremely hung, @@.lime;$his asshole gets stretched out.@@
												<<set $slaves[$i].anus += 1>>
											<</if>>
										<</if>>
									<</if>>
								<<elseif ($slaves[$i].fetish == "boobs")>>
									seeing to anyone who will show $his breasts some love.
									<<if $slaves[$i].lactation > 0>>
										<<set $slaves[$i].lactationDuration = 2>>
										<<set $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
									<<else>>
										<<= induceLactation($slaves[$i])>>
									<</if>>
									<<set _fuckCount = random(10,25)>>
									<<set $slaves[$i].counter.mammary += _fuckCount, $mammaryTotal += _fuckCount>>
								<<elseif ($slaves[$i].fetish == "sadist")>>
									usually pairing off with a masochistic slave willing to accept $his abuse.
									<<run SimpleSlaveFucking($slaves[$i], 7)>>
									<<if canPenetrate($slaves[$i])>>
										<<set _fuckCount = random(1,3)>>
										<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
									<</if>>
								<<elseif ($slaves[$i].fetish == "masochist")>>
									usually pairing off with an abusive slave.
									<<if $averageDick > 4>>
										<<if $slaves[$i].anus > 0 && $slaves[$i].anus < 3 && canDoAnal($slaves[$i])>>
											<<if ($slaves[$i].anus*30)-($averageDick*5) < random(1,100)>>
												@@.lime;$His asshole is loosened,@@ since $he begs hung slaves to fuck $his butt until $he cries.
												<<set $slaves[$i].anus += 1>>
												<<set $slaves[$i].counter.anal += 3, $analTotal += 3>>
											<</if>>
										<</if>>
										<<if $averageDick > 5>>
											<<if $slaves[$i].vagina > 0 && $slaves[$i].vagina < 3 && canDoVaginal($slaves[$i])>>
												<<if ($slaves[$i].vagina*30)-($averageDick*5) < random(1,100)>>
													Since $he eagerly begs hung slaves to fuck $him until $he cries, @@.lime;$his cunt gets stretched out.@@
													<<set $slaves[$i].vagina += 1>>
													<<set $slaves[$i].counter.vaginal += 3, $vaginalTotal += 3>>
												<</if>>
											<</if>>
										<</if>>
									<</if>>
									<<run SimpleSlaveFucking($slaves[$i], 6)>>
								<<elseif ($slaves[$i].fetish == "dom")>>
									usually pairing off with a submissive bitch.
									<<run SimpleSlaveFucking($slaves[$i], 6)>>
									<<if canPenetrate($slaves[$i])>>
										<<set _fuckCount = random(1,3)>>
										<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
									<</if>>
								<<elseif ($slaves[$i].fetish == "pregnancy")>>
									doing $his best to pair off with any pregnant slaves.
									<<if $slaves[$i].mpreg == 0>>
										<<if $averageDick > 5>>
											<<if $slaves[$i].vagina > 0 && $slaves[$i].vagina < 3 && canDoVaginal($slaves[$i])>>
											<<if ($slaves[$i].vagina*40)-($averageDick*5) < random(1,100)>>
												$He also takes cock whenever $he can, begging to be fucked deeply to get $his womb filled with cum, so @@.lime;$his cunt gets stretched out.@@
												<<set $slaves[$i].vagina += 1>>
												<<set $slaves[$i].counter.vaginal += 3, $vaginalTotal += 3>>
											<</if>>
											<</if>>
										<</if>>
									<<else>>
										<<if $averageDick > 5>>
											<<if $slaves[$i].anus > 0 && $slaves[$i].anus < 3 && canDoAnal($slaves[$i])>>
											<<if ($slaves[$i].anus*40)-($averageDick*5) < random(1,100)>>
												$He also takes cock whenever $he can, begging to be fucked deeply to get $his womb filled with cum, so @@.lime;$his ass gets stretched out.@@
												<<set $slaves[$i].anus += 1>>
												<<set $slaves[$i].counter.anal += 3, $analTotal += 3>>
											<</if>>
											<</if>>
										<</if>>
									<</if>>
									<<run SimpleSlaveFucking($slaves[$i], 7)>>
									<<if canPenetrate($slaves[$i])>>
										<<set _fuckCount = random(6,9)>>
										<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
									<</if>>
								<<elseif ($slaves[$i].energy > 95)>>
									and has to give out a lot of favors to get enough attention for $himself.
									<<if $averageDick > 4>>
										<<if $slaves[$i].anus > 0 && $slaves[$i].anus < 3 && canDoAnal($slaves[$i])>>
											<<if ($slaves[$i].anus*30)-($averageDick*5) < random(1,100)>>
												@@.lime;$His asshole is loosened@@ during sex with well endowed slaves, since $he's so addicted to sex all $his holes see heavy traffic.
												<<set $slaves[$i].anus += 1>>
												<<set $slaves[$i].counter.anal += 3, $analTotal += 3>>
											<</if>>
										<</if>>
										<<if $averageDick > 5>>
											<<if $slaves[$i].vagina > 0 && $slaves[$i].vagina < 3 && canDoVaginal($slaves[$i])>>
												<<if ($slaves[$i].vagina*30)-($averageDick*5) < random(1,100)>>
													$He indulges in non-stop sex with your well endowed slaves, so much so that @@.lime;$his cunt gets stretched out.@@
													<<set $slaves[$i].vagina += 1>>
													<<set $slaves[$i].counter.vaginal += 3, $vaginalTotal += 3>>
												<</if>>
											<</if>>
										<</if>>
									<</if>>
									<<run SimpleSlaveFucking($slaves[$i], 7)>>
									<<if canPenetrate($slaves[$i])>>
										<<set _fuckCount = random(3,6)>>
										<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
									<</if>>
								<<else>>
									doing $his best to get off and move on.
									<<run SimpleSlaveFucking($slaves[$i], 7)>>
									<<if canPenetrate($slaves[$i])>>
										<<set _fuckCount = random(3,6)>>
										<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
									<</if>>
								<</if>>
							<<else>>
								doing $his best to get off and move on.
								<<run SimpleSlaveFucking($slaves[$i], 7)>>
								<<if canPenetrate($slaves[$i])>>
									<<set _fuckCount = random(3,6)>>
									<<set $slaves[$i].counter.penetrative += _fuckCount, $penetrativeTotal += _fuckCount>>
								<</if>>
							<</if>> /* closes ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60) */

<</widget>>

<<widget "saRulesConsentDiscoversFetish">>

							<<if ($slaves[$i].fetishKnown == 0)>>
								<<if (random(1,2) == 1)>>
									<<set $slaves[$i].fetishKnown = 1>>
									However, one of $his partners
									<<if ($slaves[$i].fetish == "submissive")>>
										holds $him down, and $he loves it; @@.lightcoral;$he's a submissive!@@
									<<elseif ($slaves[$i].fetish == "cumslut")>>
										finally has to push $him away to get $him to stop sucking; @@.lightcoral;$he's a cumslut!@@
									<<elseif ($slaves[$i].fetish == "humiliation")>>
										fucks $him in public, and $he loves it; @@.lightcoral;$he's a humiliation fetishist!@@
									<<elseif ($slaves[$i].fetish == "buttslut")>>
										<<if ($slaves[$i].anus > 0)>>
											<<if canDoAnal($slaves[$i])>>fucks $his butt<<else>>teases $his anus<</if>>, and $he loves it;
										<<else>>
										teases $his virgin anus, and $he loves it;
										<</if>>
										@@.lightcoral;$he's an anal slut!@@
									<<elseif ($slaves[$i].fetish == "boobs")>>
										fondles $his breasts, and $he loves it; @@.lightcoral;$he's a boob fetishist!@@
										<<if $slaves[$i].lactation > 0>>
											<<set $slaves[$i].lactationDuration = 2>>
											<<set $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
										<<else>>
											<<= induceLactation($slaves[$i])>>
										<</if>>
									<<elseif ($slaves[$i].fetish == "sadist")>>
										asks $slaves[$i].slaveName to hit $him, which $slaves[$i].slaveName enjoys doing; @@.lightcoral;$he's a sadist!@@
									<<elseif ($slaves[$i].fetish == "masochist")>>
										hits $slaves[$i].slaveName while fucking $him, which only makes $him hornier; @@.lightcoral;$he's a masochist!@@
									<<elseif ($slaves[$i].fetish == "dom")>>
										asks $slaves[$i].slaveName to make them $slaves[$i].slaveName's bitch, which $slaves[$i].slaveName manages like a natural; @@.lightcoral;$he's dominant!@@
									<<elseif ($slaves[$i].fetish == "pregnancy")>>
										pretends to get $him pregnant, which $he really enjoys; @@.lightcoral;$he's a pregnancy fetishist!@@
									<<elseif ($slaves[$i].energy > 95)>>
										discovers that $he cannot be satisfied; @@.lightcoral;$he's a nympho!@@
									<<else>>
										discovers that $he isn't terribly exciting; @@.lightcoral;$he's got a normal sexuality.@@
									<</if>>
								<</if>>
							<</if>>

<</widget>>

<<widget "saRulesRapeDiscoversFetish">>

							<<if ($slaves[$i].fetishKnown == 0)>>
								<<if (random(1,2) == 1)>>
								<<set $slaves[$i].fetishKnown = 1>>
								You discover that $he really likes it when the other slaves
								<<if ($slaves[$i].fetish == "submissive")>>
									hold $him down and fuck $him; @@.lightcoral;$he's a submissive!@@
								<<elseif ($slaves[$i].fetish == "cumslut")>>
									cum in $his mouth; @@.lightcoral;$he's a cumslut!@@
								<<elseif ($slaves[$i].fetish == "humiliation")>>
									use $him in public; @@.lightcoral;$he's a humiliation fetishist!@@
								<<elseif ($slaves[$i].fetish == "buttslut")>>
									<<if ($slaves[$i].anus > 0)>>
										<<if canDoAnal($slaves[$i])>>fuck $his butt<<else>>tease $his anus<</if>>;
									<<else>>
										tease $his virgin anus;
									<</if>>
									@@.lightcoral;$he's an anal slut!@@
								<<elseif ($slaves[$i].fetish == "boobs")>>
									fondle $his breasts; @@.lightcoral;$he's a boob fetishist!@@
									<<if $slaves[$i].lactation > 0>>
										<<set $slaves[$i].lactationDuration = 2>>
										<<set $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
									<<else>>
										<<= induceLactation($slaves[$i])>>
									<</if>>
								<<elseif ($slaves[$i].fetish == "sadist")>>
									let $him abuse them; @@.lightcoral;$he's a sadist!@@
								<<elseif ($slaves[$i].fetish == "masochist")>>
									hurt $him; @@.lightcoral;$he's a masochist!@@
								<<elseif ($slaves[$i].fetish == "dom")>>
									let $him dominate them; @@.lightcoral;$he's dominant!@@
								<<elseif ($slaves[$i].fetish == "pregnancy")>>
									<<if $slaves[$i].mpreg == 0>>
										come <<if canDoVaginal($slaves[$i])>>inside<<else>>on<</if>> $him; @@.lightcoral;$he's a pregnancy fetishist!@@
									<<else>>
										come <<if canDoAnal($slaves[$i])>>inside<<else>>on<</if>> $him; @@.lightcoral;$he's a pregnancy fetishist!@@
									<</if>>
								<<else>>
									fuck $him; @@.lightcoral;$he's got a normal sexuality.@@
								<</if>>
								<</if>>
							<</if>>

<</widget>>

<<widget "saRulesPermissiveDrugEffects">>

					<<if $slaves[$i].balls > 0>>
						<<if $slaves[$i].drugs == "testicle enhancement" || $slaves[$i].drugs == "intensive testicle enhancement">>
							<<if ($slaves[$i].devotion > 20) || ($slaves[$i].trust < -20)>>
								<<if $slaves[$i].hormoneBalance >= 100>>
									$He can't seem to get enough cum out of $his terribly swollen balls in one orgasm to relieve the pressure:
									<<if $slaves[$i].dick>>
										$his poor soft dick produces slow, anemic ejaculations, no matter how backed up $he is.
									<<else>>
										$his cumhole produces slow, anemic ejaculations, no matter how backed up $he is.
									<</if>>
									$He is very reliant on your other slaves to help $him, which @@.mediumaquamarine;habituates $him@@ to slave sex.
								<<else>>
									$His terribly swollen balls force $him to rely on other slaves for release several times a day, and jetting cum into and onto them @@.mediumaquamarine;habituates $him@@ to slave sex.
								<</if>>
								<<set $slaves[$i].trust += 1>>
							<<else>>
								$He can't seem to get enough cum out of $his terribly swollen balls to relieve the pressure and is either unwilling or unable to get help with it, something $he @@.mediumorchid;blames you for.@@
								<<set $slaves[$i].devotion -= 1>>
							<</if>>
						<<elseif $slaves[$i].drugs == "hyper testicle enhancement">>
							<<if ($slaves[$i].devotion > 20) || ($slaves[$i].trust < -20) || !canPenetrate($slaves[$i])>>
								<<if $slaves[$i].hormoneBalance >= 100>>
									$He can't seem to get enough cum out of $his grotesquely swollen balls in one orgasm to get relieve the pressure:
									<<if $slaves[$i].dick>>
										$his poor soft dick produces slow, anemic ejaculations, no matter how backed up $he is.
									<<else>>
										$his cumhole produces slow, anemic ejaculations, no matter how backed up $he is.
									<</if>>
									$He is completely dependent on your other slaves to help $him, which @@.mediumaquamarine;habituates $him@@ to slave sex.
								<<else>>
									$His grotesquely swollen balls force $him to rely on other slaves for release throughout times a day, and swelling them with cum @@.mediumaquamarine;habituates $him@@ to slave sex, though you have to take precautions so $he doesn't knock up your entire stock.
								<</if>>
								<<set $slaves[$i].trust += 1>>
							<<else>>
								$He can't seem to get enough cum out of $his grotesquely swollen balls to relieve the pressure and is either unwilling or unable to get help with it, something $he @@.mediumorchid;blames you for.@@
								<<set $slaves[$i].devotion -= 1>>
							<</if>>
						<</if>>
					<</if>>
					<<if $slaves[$i].drugs == "super fertility drugs" && canGetPregnant($slaves[$i])>>
							$His reproductive system is in overdrive leading $him to seek out any dicked slaves $he can find several times a day. $He @@.mediumaquamarine;desperately longs@@ for the day $his efforts fill $his womb with child.
							<<set $slaves[$i].trust += 1>>
					<</if>>

<</widget>>