:: Rename

<<nobr>>
<<set $nextButton = "Back">>
<<set $nextLink = "Slave Interact">>

<<if $activeSlave.fetish == "mindbroken">>
	She doesn't even recognize that she's been renamed. It simply does not register.
<<elseif ($oldName == $activeSlave.birthName) && ($activeSlave.devotion > 50)>>
	She accepts her new name cheerfully. This attachment to you @@color:hotpink; increases her devotion.@@
	<<set $activeSlave.devotion += 4>>
<<elseif ($oldName == $activeSlave.birthName) && ($activeSlave.devotion >= -20)>>
	She accepts her new name. This surrender to you @@color:hotpink; increases her obedience.@@
	<<set $activeSlave.devotion += 4>>
<<elseif ($oldName == $activeSlave.birthName) && ($activeSlave.devotion >= -50)>>
	She reluctantly accepts her new name.
<<elseif ($oldName == $activeSlave.birthName)>>
	She angrily tries to resist her new name. This resistance @@color:mediumorchid; increases her rebelliousness.@@
	<<set $activeSlave.devotion -= 5>>
<<else>>
	Since $activeSlave.slaveName has already had a new name forced on her before, she accepts this fresh name without fuss.
<</if>>

<<set $insultingName = 0>>

<<for $i = 0; $i < $badWords.length; $i++>>
<<set $toSearch = $activeSlave.slaveName.toLowerCase();>>
<<if $toSearch.indexOf($badWords[$i]) != -1>>
	<<set $insultingName = 1>>
<</if>>
<</for>>

<<if ($activeSlave.fetish == "mindbroken") && ($insultingName == 1)>>
	Her new name would be insulting to a normal girl, but she dully accepts that it is an accurate description and goes about her duties.
<<elseif ($insultingName == 1) && ($activeSlave.devotion <= 50) && ($activeSlave.devotion >= -20)>>
	Accepting such a degrading name @@color:hotpink;further increases her devotion.@@
	<<set $activeSlave.devotion += 4>>
<<elseif ($insultingName == 1) && ($activeSlave.devotion < -50)>>
	Being given such a degrading name @@color:mediumorchid;further increases her hatred.@@
	<<set $activeSlave.devotion -= 5>>
<</if>>

<</nobr>>
