Select the background you want: \n\n* [[Arland|I selected a background][$bkgr = "Arland"]] (sheltered princess). \n* [[Corval|I selected a background][$bkgr = "Corval"]] (court lady). \n* [[Hise|I selected a background][$bkgr = "Hise"]] (pirate's daughter). \n* [[Jiyel|I selected a background][$bkgr = "Jiyel"]] (minor scholar). \n* [[Revaire|I selected a background][$bkgr = "Revaire"]] (ambitious widow). \n* [[Wellin|I selected a background][$bkgr = "Wellin"]] (tomboy countess).
<<silently>>\n<<set $from = ["charm", "eloquence", "beauty", "leadership", "charisma", "intelligence", "grace", "poise"]>>\n\n<<if $bkgr neq "Arland">>\n<<set $from.push("self defense", "courage", "cunning")>>\n\t<<if $bkgr neq "Wellin">>\n\t<<set $from.push("manipulation")>>\n\t<<else>>\n\t<<set $from.push("etiquette")>>\n\t<<endif>>\n<<else>>\n<<set $from.push("etiquette")>>\n<<endif>>\n\n<<if $skills eq 0>>\n<<set $skills = []>>\n<<endif>>\n\n<<set $rand = either($from)>>\n<<set $i = $skills.indexOf($rand)>>\n\n<<if $i gte 0>>\n<<set $rand = either($from)>>\n<<endif>>\n\n<<set $skills.push($rand)>>\n<<endsilently>>Your strengths are: <<print $skills>>. \n\n* [[I accept these strengths|I selected a background]]. \n* [[No, randomize again|Random strengths]]. \n* [[Actually, randomize from scratch|Random strengths][$skills = 0]].
<<silently>>\n<<set $from = ["arrogant", "humble", "selfish", "noble", "sensible", "imaginative", "introverted", "social", "indifferent", "compassionate", "spontaneous", "methodical", "immoral", "ethical"]>>\n<<set $count = 7>>\n\n<<if $bkgr neq "Arland">>\n<<set $from.push("overt", "subtle", "autonomous", "dependent", "cynical", "romantic")>>\n<<set $count = $count + 3>>\n\n<<if $bkgr neq "Wellin" and $bkgr neq "Hise">>\n<<set $from.push("traditional", "innovative")>>\n<<set $count = $count + 1>>\n<<endif>>\n<<endif>>\n\n<<if $bkgr neq "Revaire">>\n<<set $from.push("ambitious", "unassuming")>>\n<<set $count = $count + 1>>\n<<endif>>\n\n<<if $bkgr neq "Jiyel">>\n<<set $from.push("logical", "emotional")>>\n<<set $count = $count + 1>>\n<<endif>>\n\n<<if $personality eq 0>>\n<<set $personality = []>>\n<<endif>>\n\n<<set $index = random(1, $count)>>\n<<set $offset = random(1, 2)>>\n<<set $j = $index * 2 - $offset>>\n<<set $rand = $from[$j]>>\n\n<<set $i = $personality.indexOf($rand)>>\n\n<<if $i gte 0>>\n<<set $index = random(1, $count)>>\n<<set $offset = random(1, 2)>>\n<<set $j = $index * 2 - $offset>>\n<<set $rand = $from[$j]>>\n<<endif>>\n\n<<set $personality.push($rand)>>\n<<endsilently>>Your personality is: <<print $personality>>. \n\n* [[I accept these traits|I selected a background]]. \n* [[No, randomize again|Random personality]]. \n* [[Actually, randomize from scratch|Random personality][$personality = 0]].
Excellent! First, let's detemine the background: \n\n* [[I know which background I want]]. \n* [[I want a random background]].
/% Place your story's setup code in this passage.\nAny macros in this passage will be run before the Start passage (or any passage you wish to Test Play) is run. %/\n<<set $backgrounds = ["Arland", "Corval", "Hise", "Jiyel", "Revaire", "Wellin"]>>\n\n<<set $strengths = 0>>\n<<set $weaknesses = 0>>\n<<set $knowledge = 0>>\n<<set $personality = 0>>\n\n\n\n\n<<set $sk_charm = 25>>\n<<set $sk_eloquence = 25>>\n<<set $sk_beauty = 25>>\n<<set $sk_leadership = 25>>\n<<set $sk_selfdefense = 0>>\n<<set $sk_charisma = 25>>\n<<set $sk_manipulation = 0>>\n<<set $sk_courage = 25>>\n<<set $sk_intelligence = 25>>\n<<set $sk_etiquette = 25>>\n<<set $sk_grace = 25>>\n<<set $sk_poise = 25>>\n<<set $sk_cunning = 0>>\n\n<<set $kn_history = 0>>\n<<set $kn_politics = 0>>\n<<set $kn_streetsmarts = 0>>\n<<set $kn_warfare = 0>>\n<<set $kn_practical = 0>>\n<<set $kn_academic = 0>>\n<<set $kn_people = 0>>\n<<set $kn_florafauna = 0>>\n
Your background is ''<<print $bkgr>>''. \n\n''Strengths'': <<print $skills>>. \n''Weaknesses'': <<print $weaknesses>>. \n''Knowledge'': <<print $knowledge>>. \n''Personality'': <<print $personality>>. \n\n[[Back to randomizer|I selected a background]].
<<silently>>\n<<set $bkgr = either($backgrounds)>>\n<<endsilently>>Your automatically generated background is: ''<<print $bkgr>>''! \n\nAre you happy with your randomly chosen background? \n\n* [[I'm satisfied|I selected a background]]. \n* [[No, randomize again|I want a random background]]. \n* [[Actually, I think I know which background I want|I know which background I want]].
!7KPP Auto MC Generator\n\n[[I want a new MC]].
<<silently>>\n<<set $from = ["charm", "beauty", "leadership", "charisma", "grace"]>>\n\n<<if $bkgr neq "Wellin" or $bkgr neq "Hise">>\n<<set $from.push("courage")>>\n<<endif>>\n\n<<if $bkgr neq "Jiyel">>\n<<set $from.push("intelligence")>>\n<<endif>>\n\n<<if $bkgr neq "Corval">>\n<<set $from.push("eloquence")>>\n<<endif>>\n\n<<if $weaknesses eq 0>>\n<<set $weaknesses = []>>\n<<endif>>\n\n<<set $rand = either($from)>>\n<<set $i = $weaknesses.indexOf($rand)>>\n<<set $j = $skills.indexOf($rand)>>\n\n<<if $i gte 0 or $j gte 0>>\n<<set $rand = either($from)>>\n<<endif>>\n\n<<set $weaknesses.push($rand)>>\n<<endsilently>>Your weaknesses are: <<print $weaknesses>>. \n\n* [[I accept these weaknesses|I selected a background]]. \n* [[No, randomize again|Random weaknesses]]. \n* [[Actually, randomize from scratch|Random weaknesses][$weaknesses = 0]].
The background you selected is ''<<print $bkgr>>''. \n\n* [[Random strengths]]. \n* [[Random weaknesses]]. \n* [[Random knowledge]]. \n* [[Random personality]]. \n\n* [[Check your character profile|My profile]].
7KPP Auto MC Generator
by Hazel
<<silently>>\n<<set $from = ["history", "politics", "practical", "academic", "people", "flora and fauna"]>>\n\n<<if $bkgr neq "Arland">>\n<<set $from.push("street smarts", "warfare")>>\n<<endif>>\n\n<<if $knowledge eq 0>>\n<<set $knowledge = []>>\n<<endif>>\n\n<<set $rand = either($from)>>\n<<set $i = $knowledge.indexOf($rand)>>\n\n<<if $i gte 0>>\n<<set $rand = either($from)>>\n<<endif>>\n\n<<set $knowledge.push($rand)>>\n<<endsilently>>Your knowledge is: <<print $knowledge>>. \n\n* [[I accept this knowledge|I selected a background]]. \n* [[No, randomize again|Random knowledge]]. \n* [[Actually, randomize from scratch|Random knowledge][$knowledge = 0]].
/* Your story will use the CSS in this passage to style the page.\nGive this passage more tags, and it will only affect passages with those tags.\nExample selectors: */\n\nbody {\n\t/* This affects the entire page */\n\t\n\tbackground-color: #fee;\n\tcolor: #555;\n\tfont-family: Lucida Console, Calibri, sans serif;\n\tfont-size: 14pt;\n}\n.passage {\n\t/* This only affects passages */\n\tcolor: #955;\n\t\n}\n.passage a {\n\t/* This affects passage links */\n\tcolor: #622;\n\t\n}\n.passage a:hover {\n\t/* This affects links while the cursor is over them */\n\tcolor: #c99;\n\t\n}\n\n.passage h1 {\n\tfont-size: 24pt;\n\tfont-weight: normal;\n}\n\n.passage h2 {\n\tfont-size: 16pt;\n\tfont-weight: normal;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n