diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt index 968eb4a055354d555d965c9910e88fb2d5b6b20f..0974c23f63bab45db2410232ad9c53a0ce76925f 100644 --- a/devNotes/twine JS.txt +++ b/devNotes/twine JS.txt @@ -7174,6 +7174,534 @@ window.PlayerName = function PlayerName() { return names.join(" ").trim(); }; +window.PCTitle = function PCTitle() { + const V = State.variables; + let titles = []; + + V.PCTitle = PlayerName(); + + if (V.cheater === 1) { + V.PCTitle = (V.PCTitle + " the Cheater"); + } else if (V.arcologies[0].FSRestart > 10) { + V.PCTitle = (V.PCTitle + " of the Societal Elite"); + } else if (V.rep > 18000) { + V.PCTitle = (V.PCTitle + " the Great") + } else if (V.rep > 17000) { + V.PCTitle = ("the exalted " + V.PCTitle) + } else if (V.rep > 16000) { + V.PCTitle = ("the illustrious " + V.PCTitle) + } else if (V.rep > 15000) { + V.PCTitle = ("the prestigious " + V.PCTitle) + } else if (V.rep > 14000) { + V.PCTitle = ("the renowned " + V.PCTitle) + } else if (V.rep > 13000) { + V.PCTitle = ("the famed " + V.PCTitle) + } else if (V.rep > 12000) { + V.PCTitle = ("the celebrated " + V.PCTitle) + } else if (V.rep > 11000) { + V.PCTitle = ("the honored " + V.PCTitle) + } else if (V.rep > 10000) { + V.PCTitle = ("the acclaimed " + V.PCTitle) + } else if (V.rep > 9000) { + V.PCTitle = ("the eminent " + V.PCTitle) + } else if (V.rep > 8250) { + V.PCTitle = ("the prominent " + V.PCTitle) + } else if (V.rep > 7500) { + V.PCTitle = ("the distinguished " + V.PCTitle) + } else if (V.rep > 6750) { + V.PCTitle = ("the admired " + V.PCTitle) + } else if (V.rep > 6000) { + V.PCTitle = ("the esteemed " + V.PCTitle) + } else if (V.rep > 5250) { + V.PCTitle = ("the respected " + V.PCTitle) + } else if (V.rep > 4500) { + V.PCTitle = ("the known " + V.PCTitle) + } else if (V.rep > 3750) { + V.PCTitle = ("the recognized " + V.PCTitle) + } else if (V.rep > 3000) { + V.PCTitle = ("the rumored " + V.PCTitle) + } + + V.PCTitle = (V.PCTitle + ", "); + + if (V.PC.name == "FC Dev") { + titles.push("the Creator"); + } + + + if (V.plot === 1) { + if (V.invasionVictory === 3) { + if (V.PC.title === 1) { + titles.push("Hero of the City"); + } else { + titles.push("Heroine of the City"); + } + } else if (V.invasionVictory === 2) { + titles.push("Defender of the City"); + } + if (V.daughtersVictory === 3) { + titles.push("Destroyer of the Daughters"); + } else if (V.daughtersVictory === 2) { + if (V.PC.title === 1) { + titles.push("Victor over the Daughters"); + } else { + titles.push("Victrix over the Daughters"); + } + } + } + + if (V.mercenaries >= 5) { + if (V.mercenariesTitle === "Evocati") { + titles.push("Princeps of the " + V.mercenariesTitle); + } else if (V.mercenariesTitle === "Knights") { + if (V.PC.title === 1) { + titles.push("Lord Commander of the " + V.mercenariesTitle); + } else { + titles.push("Lady Commander of the " + V.mercenariesTitle); + } + } else if (V.mercenariesTitle === "Immortals") { + titles.push("Tyrant of the " + V.mercenariesTitle); + } else { + titles.push("Commander of the " + V.mercenariesTitle); + } + } else if (V.mercenaries >= 1) { + titles.push("Commander of the Mercenaries"); + } + + + if (V.dispensary === 1) { + if (V.PC.title === 1) { + titles.push("Pharmacologos"); + } else { + titles.push("Pharmacologes"); + } + } + + if (V.arcologies[0].FSSupremacist >= V.FSLockinLevel * 0.9) { + titles.push("Grand Champion of the Blood"); + } else if (V.arcologies[0].FSSupremacist >= V.FSLockinLevel * 0.6) { + titles.push("Champion of the Blood"); + } else if (V.arcologies[0].FSSupremacist >= V.FSLockinLevel * 0.3) { + titles.push("Defender of the Blood"); + } + + if (V.arcologies[0].FSSubjugationist >= V.FSLockinLevel * 0.9) { + titles.push("Grand Overseer of the Inferior Race"); + } else if (V.arcologies[0].FSSubjugationist >= V.FSLockinLevel * 0.6) { + titles.push("Overseer of the Inferior Race"); + } else if (V.arcologies[0].FSSubjugationist >= V.FSLockinLevel * 0.3) { + titles.push("Subduer of the Inferior Race"); + } + + + if (V.arcologies[0].FSGenderRadicalist >= V.FSLockinLevel * 0.9) { + titles.push("Buttfucker of All Slaves"); + } else if (V.arcologies[0].FSGenderRadicalist >= V.FSLockinLevel * 0.6) { + titles.push("Sodomizer of the Traps"); + } else if (V.arcologies[0].FSGenderRadicalist >= V.FSLockinLevel * 0.3) { + if (V.PC.title === 1) { + titles.push("Penetrator of the Sissies"); + } else { + titles.push("Penetratrix of the Sissies"); + } + } + + if (V.arcologies[0].FSGenderFundamentalist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("Father to the City"); + } else { + titles.push("Mother to the City"); + } + } else if (V.arcologies[0].FSGenderFundamentalist >= V.FSLockinLevel * 0.6) { + titles.push("Defender of Women"); + } else if (V.arcologies[0].FSGenderFundamentalist >= V.FSLockinLevel * 0.3) { + titles.push("Restorer of Morals"); + } + + if (V.arcologies[0].FSPaternalist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("Protector to All Slaves"); + } else { + titles.push("Protectrix to All Slaves"); + } + } else if (V.arcologies[0].FSPaternalist >= V.FSLockinLevel * 0.6) { + if (V.PC.title === 1) { + titles.push("Benefactor of Slaves"); + } else { + titles.push("Benefactrix of Slaves"); + } + } else if (V.arcologies[0].FSPaternalist >= V.FSLockinLevel * 0.3) { + titles.push("Pursuer of Justice"); + } + + if (V.arcologies[0].FSRepopulationFocus >= V.FSLockinLevel * 0.9) { + titles.push("the Savior of the Future"); + } else if (V.arcologies[0].FSRepopulationFocus >= V.FSLockinLevel * 0.6) { + titles.push("the Holder of the Future"); + } else if (V.arcologies[0].FSRepopulationFocus >= V.FSLockinLevel * 0.3) { + titles.push("the Repopulist"); + } + + if (V.arcologies[0].FSDegradationist >= V.FSLockinLevel * 0.9) { + titles.push("Holder of the Rod and the Lash"); + } else if (V.arcologies[0].FSDegradationist >= V.FSLockinLevel * 0.6) { + titles.push("Subduer of Slaves"); + } else if (V.arcologies[0].FSDegradationist >= V.FSLockinLevel * 0.3) { + titles.push("Pursuer of Justice"); + } + + if (V.arcologies[0].FSBodyPurist >= V.FSLockinLevel * 0.9) { + titles.push("the Purifier of the Breasts"); + } else if (V.arcologies[0].FSBodyPurist >= V.FSLockinLevel * 0.6) { + titles.push("the Discerning"); + } else if (V.arcologies[0].FSBodyPurist >= V.FSLockinLevel * 0.3) { + titles.push("the Tasteful"); + } + + if (V.arcologies[0].FSAssetExpansionist >= V.FSLockinLevel * 0.9) { + titles.push("the Expander of the Breasts"); + } else if (V.arcologies[0].FSAssetExpansionist >= V.FSLockinLevel * 0.6) { + titles.push("the Expander"); + } else if (V.arcologies[0].FSAssetExpansionist >= V.FSLockinLevel * 0.3) { + if (V.PC.title === 1) { + titles.push("the Implantor"); + } else { + titles.push("the Implantrix"); + } + } + + if (V.arcologies[0].FSPastoralist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("the Master of Stock"); + } else { + titles.push("the Mistress of Stock"); + } + } else if (V.arcologies[0].FSPastoralist >= V.FSLockinLevel * 0.6) { + titles.push("the Rancher"); + } else if (V.arcologies[0].FSPastoralist >= V.FSLockinLevel * 0.3) { + titles.push("the Farmer"); + } + + + if (V.arcologies[0].FSPhysicalIdealist >= V.FSLockinLevel * 0.9) { + titles.push("beloved of Brodin"); + } else if (V.arcologies[0].FSPhysicalIdealist >= V.FSLockinLevel * 0.6) { + if (V.PC.title === 1) { + titles.push("he of the godlike Body"); + } else { + titles.push("she of the godlike Body"); + } + } else if (V.arcologies[0].FSPhysicalIdealist >= V.FSLockinLevel * 0.3) { + titles.push("advancer of Gains"); + } + + + if (V.arcologies[0].FSHedonisticDecadence >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("Master of Softness"); + } else { + titles.push("Lady of Softness"); + } + } else if (V.arcologies[0].FSHedonisticDecadence >= V.FSLockinLevel * 0.6) { + titles.push("Thickness Enthusiast"); + } else if (V.arcologies[0].FSHedonisticDecadence >= V.FSLockinLevel * 0.3) { + titles.push("the Feeder"); + } + + + if (V.arcologies[0].FSMaturityPreferentialist >= V.FSLockinLevel * 0.9) { + titles.push("Grand Preserver of MILFS"); + } else if (V.arcologies[0].FSMaturityPreferentialist >= V.FSLockinLevel * 0.6) { + titles.push("Fucker of MILFS"); + } else if (V.arcologies[0].FSMaturityPreferentialist >= V.FSLockinLevel * 0.3) { + if (V.PC.title === 1) { + titles.push("he of the notorious MILF preference"); + } else { + titles.push("she of the notorious MILF preference"); + } + } + + if (V.arcologies[0].FSYouthPreferentialist >= V.FSLockinLevel * 0.9) { + titles.push("Keeper of the Magnificent Young Harem"); + } else if (V.arcologies[0].FSYouthPreferentialist >= V.FSLockinLevel * 0.6) { + titles.push("Keeper of Virgins"); + } else if (V.arcologies[0].FSYouthPreferentialist >= V.FSLockinLevel * 0.3) { + titles.push("the Virginbreaker"); + } + + + if (V.arcologies[0].FSChattelReligionistLaw === 1) { + titles.push("the Prophet"); + } else if (V.arcologies[0].FSChattelReligionist >= V.FSLockinLevel * 0.9) { + titles.push("Keeper of the Blade and Chalice"); + } else if (V.arcologies[0].FSChattelReligionist >= V.FSLockinLevel * 0.6) { + titles.push("Champion of the Faith"); + } else if (V.arcologies[0].FSChattelReligionist >= V.FSLockinLevel * 0.3) { + titles.push("the Holy"); + } + + + if (V.arcologies[0].FSRomanRevivalist >= V.FSLockinLevel * 0.9) { + titles.push("First Consul"); + } else if (V.arcologies[0].FSRomanRevivalist >= V.FSLockinLevel * 0.6) { + titles.push("Aedile"); + } else if (V.arcologies[0].FSRomanRevivalist >= V.FSLockinLevel * 0.3) { + titles.push("Quaestor"); + } + + + if (V.arcologies[0].FSAztecRevivalist >= V.FSLockinLevel * 0.9) { + titles.push("Tlatcani"); + } else if (V.arcologies[0].FSAztecRevivalist >= V.FSLockinLevel * 0.6) { + titles.push("Cihuacoatl"); + } else if (V.arcologies[0].FSAztecRevivalist >= V.FSLockinLevel * 0.3) { + titles.push("Tlatoani"); + } + + if (V.arcologies[0].FSEgyptianRevivalist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("the Living God"); + } else { + titles.push("the Living Goddess"); + } + } else if (V.arcologies[0].FSEgyptianRevivalist >= V.FSLockinLevel * 0.6) { + titles.push("Pharaoh"); + } else if (V.arcologies[0].FSEgyptianRevivalist >= V.FSLockinLevel * 0.3) { + if (V.PC.title === 1) { + titles.push("Prince of the Nile"); + } else { + titles.push("Princess of the Nile"); + } + } + + if (V.arcologies[0].FSEdoRevivalist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("Emperor and Descendant of Amaterasu"); + } else { + titles.push("Amaterasu Reborn"); + } + } else if (V.arcologies[0].FSEdoRevivalist >= V.FSLockinLevel * 0.6) { + titles.push("Shogun"); + } else if (V.arcologies[0].FSEdoRevivalist >= V.FSLockinLevel * 0.3) { + titles.push("Daimyo"); + } + + + if (V.arcologies[0].FSArabianRevivalist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("Caliph"); + } else { + titles.push("Handmaiden of Allah"); + } + } else if (V.arcologies[0].FSArabianRevivalist >= V.FSLockinLevel * 0.6) { + if (V.PC.title === 1) { + titles.push("Sultan"); + } else { + titles.push("Sultana"); + } + } else if (V.arcologies[0].FSArabianRevivalist >= V.FSLockinLevel * 0.3) { + titles.push("Beloved of Allah"); + } + + if (V.arcologies[0].FSChineseRevivalist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("Emperor and Holder of the Mandate of Heaven"); + } else { + titles.push("Empress and Holder of the Mandate of Heaven"); + } + } else if (V.arcologies[0].FSChineseRevivalist >= V.FSLockinLevel * 0.6) { + if (V.PC.title === 1) { + titles.push("Emperor"); + } else { + titles.push("Empress"); + } + } else if (V.arcologies[0].FSChineseRevivalist >= V.FSLockinLevel * 0.3) { + if (V.PC.title === 1) { + titles.push("Governor of the Province"); + } else { + titles.push("Governess of the Province"); + } + } + + + if (V.brothelSlaves >= 15) { + if (V.PC.title === 1) { + titles.push("Procurator of the Brothel"); + } else { + titles.push("Procuratrix of the Brothel"); + } + } + + if (V.clubSlaves >= 15) { + titles.push("First on the Club"); + } + if (V.dairySlaves >= 15) { + titles.push("Keeper of the Cattle"); + } + if (V.cumSlaves >= 15) { + if (V.PC.title === 1) { + titles.push("Extractor of the Ejaculate"); + } else { + titles.push("Extractrix of the Ejaculate"); + } + } + if (V.servantsQuartersSlaves >= 15) { + if (V.PC.title === 1) { + titles.push("Director of the Servants"); + } else { + titles.push("Directrix of the Servants"); + } + } + if (V.schoolroomSlaves >= 10) { + if (V.PC.title === 1) { + titles.push("Educator of the Slaves"); + } else { + titles.push("Educatrix of the Slaves"); + } + } + if (V.spaSlaves >= 10) { + titles.push("Order of the Bath"); + } + if (V.arcadeSlaves >= 15) { + titles.push("Comptroller of the Arcade"); + } + + let schoolsPresent = [], schoolsPerfected = [], schoolTitle = ""; + if (V.TSS.schoolProsperity >= 10) { + schoolsPerfected.push("The Slave School"); + } else if (V.TSS.schoolPresent === 1) { + schoolsPresent.push("The Slave School"); + } + if (V.GRI.schoolProsperity >= 10) { + schoolsPerfected.push("The Growth Research Institute"); + } else if (V.GRI.schoolPresent === 1) { + schoolsPresent.push("The Growth Research Institute"); + } + if (V.SCP.schoolProsperity >= 10) { + schoolsPerfected.push("St. Claver Preparatory"); + } else if (V.SCP.schoolPresent === 1) { + schoolsPresent.push("St. Claver Preparatory"); + } + if (V.LDE.schoolProsperity >= 10) { + schoolsPerfected.push("L'École des Enculées"); + } else if (V.LDE.schoolPresent === 1) { + schoolsPresent.push("L'École des Enculées"); + } + if (V.TGA.schoolProsperity >= 10) { + schoolsPerfected.push("The Gymnasium-Academy"); + } else if (V.TGA.schoolPresent === 1) { + schoolsPresent.push("The Gymnasium-Academy"); + } + if (V.HA.schoolProsperity >= 10) { + schoolsPerfected.push("The Hippolyta Academy"); + } else if (V.HA.schoolPresent === 1) { + schoolsPresent.push("The Hippolyta Academy"); + } + if (V.TCR.schoolProsperity >= 10) { + schoolsPerfected.push("The Cattle Ranch"); + } else if (V.TCR.schoolPresent === 1) { + schoolsPresent.push("The Cattle Ranch"); + } + if (schoolsPerfected.length > 0) { + if (V.PC.title === 1) { + schoolTitle = "Benefactor of "; + } else { + schoolTitle = "Benefactrix of "; + } + if (schoolsPerfected.length === 1) { + schoolTitle += schoolsPerfected[0]; + } else if (schoolsPerfected.length === 2) { + schoolTitle += schoolsPerfected[0] + " and " + schoolsPerfected[1]; + } else { + schoolsPerfected[schoolsPerfected.length - 1] = "and " + schoolsPerfected[schoolsPerfected.length - 1]; + schoolTitle += schoolsPerfected.join(", "); + } + titles.push(schoolTitle); + } + + if (schoolsPresent.length > 0) { + schoolTitle = "Supporter of "; + if (schoolsPresent.length === 1) { + schoolTitle += schoolsPresent[0]; + } else if (schoolsPresent.length === 2) { + schoolTitle += schoolsPresent[0] + " and " + schoolsPresent[1]; + } else { + schoolsPresent[schoolsPresent.length - 1] = "and " + schoolsPresent[schoolsPresent.length - 1]; + schoolTitle += schoolsPresent.join(", "); + } + titles.push(schoolTitle); + } + + if (V.TFS.schoolProsperity >= 10) { + titles.push("Honorary Sibling of the Futanari Sisters"); + } else if (V.TFS.schoolPresent === 1) { + if (V.PC.title === 1) { + titles.push("Protector of the Futanari Sisters"); + } else { + titles.push("Protectrix of the Futanari Sisters"); + } + } + + if (V.slaves.length > 50) { + if (V.PC.title === 1) { + titles.push("Master of Slaves"); + } else { + titles.push("Mistress of Slaves"); + } + } else if (V.slaves.length > 40) { + titles.push("Holder of Slaves"); + } else if (V.slaves.length > 30) { + titles.push("Keeper of Slaves"); + } else if (V.slaves.length > 20) { + titles.push("Manager of Slaves"); + } else if (V.slaves.length > 10) { + titles.push("owner of slaves"); + } + + if (V.corpValue > 500000) { + titles.push("Corporate Titan"); + } else if (V.corpValue > 250000) { + titles.push("corporate innovator"); + } else if (V.corpValue > 100000) { + titles.push("corporate founder"); + } else if (V.corpValue > 0) { + if (V.PC.title === 1) { + titles.push("noted corporate businessman"); + } else { + titles.push("noted corporate businesswoman"); + } + } + + if (V.rep > 18000) { + if (V.PC.title === 1) { + titles.push("unquestioned Master of the Arcology"); + } else { + titles.push("unquestioned Mistress of the Arcology"); + } + } else if (V.rep > 15000) { + if (V.PC.title === 1) { + titles.push("Lord of the Arcology"); + } else { + titles.push("Lady of the Arcology"); + } + } else if (V.rep > 12000) { + titles.push("Ruler of the Arcology"); + } else if (V.rep > 9000) { + titles.push("chief officer of the arcology"); + } else { + titles.push("owner of the arcology"); + } + + if (titles.length === 1) { + V.PCTitle += titles[0]; + } else if (titles.length === 2) { + V.PCTitle += titles[0] + " and " + titles[1]; + } else { + titles[titles.length - 1] = "and " + titles[titles.length - 1]; + V.PCTitle += titles.join(", "); + } +}; + window.PoliteRudeTitle = function PoliteRudeTitle(slave) { const V = State.variables, PC = V.PC, s = V.sEnunciate, ss = V.ssEnunciate; diff --git a/src/js/assayJS.tw b/src/js/assayJS.tw index 0a1a30e2d2fdddd4fccdcbdeedffa38844b3aed3..f7bb0bca0b77e123bab0d64a1ac6e73fc1be2de5 100644 --- a/src/js/assayJS.tw +++ b/src/js/assayJS.tw @@ -552,6 +552,534 @@ window.PlayerName = function PlayerName() { return names.join(" ").trim(); }; +window.PCTitle = function PCTitle() { + const V = State.variables; + let titles = []; + + V.PCTitle = PlayerName(); + + if (V.cheater === 1) { + V.PCTitle = (V.PCTitle + " the Cheater"); + } else if (V.arcologies[0].FSRestart > 10) { + V.PCTitle = (V.PCTitle + " of the Societal Elite"); + } else if (V.rep > 18000) { + V.PCTitle = (V.PCTitle + " the Great") + } else if (V.rep > 17000) { + V.PCTitle = ("the exalted " + V.PCTitle) + } else if (V.rep > 16000) { + V.PCTitle = ("the illustrious " + V.PCTitle) + } else if (V.rep > 15000) { + V.PCTitle = ("the prestigious " + V.PCTitle) + } else if (V.rep > 14000) { + V.PCTitle = ("the renowned " + V.PCTitle) + } else if (V.rep > 13000) { + V.PCTitle = ("the famed " + V.PCTitle) + } else if (V.rep > 12000) { + V.PCTitle = ("the celebrated " + V.PCTitle) + } else if (V.rep > 11000) { + V.PCTitle = ("the honored " + V.PCTitle) + } else if (V.rep > 10000) { + V.PCTitle = ("the acclaimed " + V.PCTitle) + } else if (V.rep > 9000) { + V.PCTitle = ("the eminent " + V.PCTitle) + } else if (V.rep > 8250) { + V.PCTitle = ("the prominent " + V.PCTitle) + } else if (V.rep > 7500) { + V.PCTitle = ("the distinguished " + V.PCTitle) + } else if (V.rep > 6750) { + V.PCTitle = ("the admired " + V.PCTitle) + } else if (V.rep > 6000) { + V.PCTitle = ("the esteemed " + V.PCTitle) + } else if (V.rep > 5250) { + V.PCTitle = ("the respected " + V.PCTitle) + } else if (V.rep > 4500) { + V.PCTitle = ("the known " + V.PCTitle) + } else if (V.rep > 3750) { + V.PCTitle = ("the recognized " + V.PCTitle) + } else if (V.rep > 3000) { + V.PCTitle = ("the rumored " + V.PCTitle) + } + + V.PCTitle = (V.PCTitle + ", "); + + if (V.PC.name == "FC Dev") { + titles.push("the Creator"); + } + + + if (V.plot === 1) { + if (V.invasionVictory === 3) { + if (V.PC.title === 1) { + titles.push("Hero of the City"); + } else { + titles.push("Heroine of the City"); + } + } else if (V.invasionVictory === 2) { + titles.push("Defender of the City"); + } + if (V.daughtersVictory === 3) { + titles.push("Destroyer of the Daughters"); + } else if (V.daughtersVictory === 2) { + if (V.PC.title === 1) { + titles.push("Victor over the Daughters"); + } else { + titles.push("Victrix over the Daughters"); + } + } + } + + if (V.mercenaries >= 5) { + if (V.mercenariesTitle === "Evocati") { + titles.push("Princeps of the " + V.mercenariesTitle); + } else if (V.mercenariesTitle === "Knights") { + if (V.PC.title === 1) { + titles.push("Lord Commander of the " + V.mercenariesTitle); + } else { + titles.push("Lady Commander of the " + V.mercenariesTitle); + } + } else if (V.mercenariesTitle === "Immortals") { + titles.push("Tyrant of the " + V.mercenariesTitle); + } else { + titles.push("Commander of the " + V.mercenariesTitle); + } + } else if (V.mercenaries >= 1) { + titles.push("Commander of the Mercenaries"); + } + + + if (V.dispensary === 1) { + if (V.PC.title === 1) { + titles.push("Pharmacologos"); + } else { + titles.push("Pharmacologes"); + } + } + + if (V.arcologies[0].FSSupremacist >= V.FSLockinLevel * 0.9) { + titles.push("Grand Champion of the Blood"); + } else if (V.arcologies[0].FSSupremacist >= V.FSLockinLevel * 0.6) { + titles.push("Champion of the Blood"); + } else if (V.arcologies[0].FSSupremacist >= V.FSLockinLevel * 0.3) { + titles.push("Defender of the Blood"); + } + + if (V.arcologies[0].FSSubjugationist >= V.FSLockinLevel * 0.9) { + titles.push("Grand Overseer of the Inferior Race"); + } else if (V.arcologies[0].FSSubjugationist >= V.FSLockinLevel * 0.6) { + titles.push("Overseer of the Inferior Race"); + } else if (V.arcologies[0].FSSubjugationist >= V.FSLockinLevel * 0.3) { + titles.push("Subduer of the Inferior Race"); + } + + + if (V.arcologies[0].FSGenderRadicalist >= V.FSLockinLevel * 0.9) { + titles.push("Buttfucker of All Slaves"); + } else if (V.arcologies[0].FSGenderRadicalist >= V.FSLockinLevel * 0.6) { + titles.push("Sodomizer of the Traps"); + } else if (V.arcologies[0].FSGenderRadicalist >= V.FSLockinLevel * 0.3) { + if (V.PC.title === 1) { + titles.push("Penetrator of the Sissies"); + } else { + titles.push("Penetratrix of the Sissies"); + } + } + + if (V.arcologies[0].FSGenderFundamentalist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("Father to the City"); + } else { + titles.push("Mother to the City"); + } + } else if (V.arcologies[0].FSGenderFundamentalist >= V.FSLockinLevel * 0.6) { + titles.push("Defender of Women"); + } else if (V.arcologies[0].FSGenderFundamentalist >= V.FSLockinLevel * 0.3) { + titles.push("Restorer of Morals"); + } + + if (V.arcologies[0].FSPaternalist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("Protector to All Slaves"); + } else { + titles.push("Protectrix to All Slaves"); + } + } else if (V.arcologies[0].FSPaternalist >= V.FSLockinLevel * 0.6) { + if (V.PC.title === 1) { + titles.push("Benefactor of Slaves"); + } else { + titles.push("Benefactrix of Slaves"); + } + } else if (V.arcologies[0].FSPaternalist >= V.FSLockinLevel * 0.3) { + titles.push("Pursuer of Justice"); + } + + if (V.arcologies[0].FSRepopulationFocus >= V.FSLockinLevel * 0.9) { + titles.push("the Savior of the Future"); + } else if (V.arcologies[0].FSRepopulationFocus >= V.FSLockinLevel * 0.6) { + titles.push("the Holder of the Future"); + } else if (V.arcologies[0].FSRepopulationFocus >= V.FSLockinLevel * 0.3) { + titles.push("the Repopulist"); + } + + if (V.arcologies[0].FSDegradationist >= V.FSLockinLevel * 0.9) { + titles.push("Holder of the Rod and the Lash"); + } else if (V.arcologies[0].FSDegradationist >= V.FSLockinLevel * 0.6) { + titles.push("Subduer of Slaves"); + } else if (V.arcologies[0].FSDegradationist >= V.FSLockinLevel * 0.3) { + titles.push("Pursuer of Justice"); + } + + if (V.arcologies[0].FSBodyPurist >= V.FSLockinLevel * 0.9) { + titles.push("the Purifier of the Breasts"); + } else if (V.arcologies[0].FSBodyPurist >= V.FSLockinLevel * 0.6) { + titles.push("the Discerning"); + } else if (V.arcologies[0].FSBodyPurist >= V.FSLockinLevel * 0.3) { + titles.push("the Tasteful"); + } + + if (V.arcologies[0].FSAssetExpansionist >= V.FSLockinLevel * 0.9) { + titles.push("the Expander of the Breasts"); + } else if (V.arcologies[0].FSAssetExpansionist >= V.FSLockinLevel * 0.6) { + titles.push("the Expander"); + } else if (V.arcologies[0].FSAssetExpansionist >= V.FSLockinLevel * 0.3) { + if (V.PC.title === 1) { + titles.push("the Implantor"); + } else { + titles.push("the Implantrix"); + } + } + + if (V.arcologies[0].FSPastoralist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("the Master of Stock"); + } else { + titles.push("the Mistress of Stock"); + } + } else if (V.arcologies[0].FSPastoralist >= V.FSLockinLevel * 0.6) { + titles.push("the Rancher"); + } else if (V.arcologies[0].FSPastoralist >= V.FSLockinLevel * 0.3) { + titles.push("the Farmer"); + } + + + if (V.arcologies[0].FSPhysicalIdealist >= V.FSLockinLevel * 0.9) { + titles.push("beloved of Brodin"); + } else if (V.arcologies[0].FSPhysicalIdealist >= V.FSLockinLevel * 0.6) { + if (V.PC.title === 1) { + titles.push("he of the godlike Body"); + } else { + titles.push("she of the godlike Body"); + } + } else if (V.arcologies[0].FSPhysicalIdealist >= V.FSLockinLevel * 0.3) { + titles.push("advancer of Gains"); + } + + + if (V.arcologies[0].FSHedonisticDecadence >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("Master of Softness"); + } else { + titles.push("Lady of Softness"); + } + } else if (V.arcologies[0].FSHedonisticDecadence >= V.FSLockinLevel * 0.6) { + titles.push("Thickness Enthusiast"); + } else if (V.arcologies[0].FSHedonisticDecadence >= V.FSLockinLevel * 0.3) { + titles.push("the Feeder"); + } + + + if (V.arcologies[0].FSMaturityPreferentialist >= V.FSLockinLevel * 0.9) { + titles.push("Grand Preserver of MILFS"); + } else if (V.arcologies[0].FSMaturityPreferentialist >= V.FSLockinLevel * 0.6) { + titles.push("Fucker of MILFS"); + } else if (V.arcologies[0].FSMaturityPreferentialist >= V.FSLockinLevel * 0.3) { + if (V.PC.title === 1) { + titles.push("he of the notorious MILF preference"); + } else { + titles.push("she of the notorious MILF preference"); + } + } + + if (V.arcologies[0].FSYouthPreferentialist >= V.FSLockinLevel * 0.9) { + titles.push("Keeper of the Magnificent Young Harem"); + } else if (V.arcologies[0].FSYouthPreferentialist >= V.FSLockinLevel * 0.6) { + titles.push("Keeper of Virgins"); + } else if (V.arcologies[0].FSYouthPreferentialist >= V.FSLockinLevel * 0.3) { + titles.push("the Virginbreaker"); + } + + + if (V.arcologies[0].FSChattelReligionistLaw === 1) { + titles.push("the Prophet"); + } else if (V.arcologies[0].FSChattelReligionist >= V.FSLockinLevel * 0.9) { + titles.push("Keeper of the Blade and Chalice"); + } else if (V.arcologies[0].FSChattelReligionist >= V.FSLockinLevel * 0.6) { + titles.push("Champion of the Faith"); + } else if (V.arcologies[0].FSChattelReligionist >= V.FSLockinLevel * 0.3) { + titles.push("the Holy"); + } + + + if (V.arcologies[0].FSRomanRevivalist >= V.FSLockinLevel * 0.9) { + titles.push("First Consul"); + } else if (V.arcologies[0].FSRomanRevivalist >= V.FSLockinLevel * 0.6) { + titles.push("Aedile"); + } else if (V.arcologies[0].FSRomanRevivalist >= V.FSLockinLevel * 0.3) { + titles.push("Quaestor"); + } + + + if (V.arcologies[0].FSAztecRevivalist >= V.FSLockinLevel * 0.9) { + titles.push("Tlatcani"); + } else if (V.arcologies[0].FSAztecRevivalist >= V.FSLockinLevel * 0.6) { + titles.push("Cihuacoatl"); + } else if (V.arcologies[0].FSAztecRevivalist >= V.FSLockinLevel * 0.3) { + titles.push("Tlatoani"); + } + + if (V.arcologies[0].FSEgyptianRevivalist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("the Living God"); + } else { + titles.push("the Living Goddess"); + } + } else if (V.arcologies[0].FSEgyptianRevivalist >= V.FSLockinLevel * 0.6) { + titles.push("Pharaoh"); + } else if (V.arcologies[0].FSEgyptianRevivalist >= V.FSLockinLevel * 0.3) { + if (V.PC.title === 1) { + titles.push("Prince of the Nile"); + } else { + titles.push("Princess of the Nile"); + } + } + + if (V.arcologies[0].FSEdoRevivalist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("Emperor and Descendant of Amaterasu"); + } else { + titles.push("Amaterasu Reborn"); + } + } else if (V.arcologies[0].FSEdoRevivalist >= V.FSLockinLevel * 0.6) { + titles.push("Shogun"); + } else if (V.arcologies[0].FSEdoRevivalist >= V.FSLockinLevel * 0.3) { + titles.push("Daimyo"); + } + + + if (V.arcologies[0].FSArabianRevivalist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("Caliph"); + } else { + titles.push("Handmaiden of Allah"); + } + } else if (V.arcologies[0].FSArabianRevivalist >= V.FSLockinLevel * 0.6) { + if (V.PC.title === 1) { + titles.push("Sultan"); + } else { + titles.push("Sultana"); + } + } else if (V.arcologies[0].FSArabianRevivalist >= V.FSLockinLevel * 0.3) { + titles.push("Beloved of Allah"); + } + + if (V.arcologies[0].FSChineseRevivalist >= V.FSLockinLevel * 0.9) { + if (V.PC.title === 1) { + titles.push("Emperor and Holder of the Mandate of Heaven"); + } else { + titles.push("Empress and Holder of the Mandate of Heaven"); + } + } else if (V.arcologies[0].FSChineseRevivalist >= V.FSLockinLevel * 0.6) { + if (V.PC.title === 1) { + titles.push("Emperor"); + } else { + titles.push("Empress"); + } + } else if (V.arcologies[0].FSChineseRevivalist >= V.FSLockinLevel * 0.3) { + if (V.PC.title === 1) { + titles.push("Governor of the Province"); + } else { + titles.push("Governess of the Province"); + } + } + + + if (V.brothelSlaves >= 15) { + if (V.PC.title === 1) { + titles.push("Procurator of the Brothel"); + } else { + titles.push("Procuratrix of the Brothel"); + } + } + + if (V.clubSlaves >= 15) { + titles.push("First on the Club"); + } + if (V.dairySlaves >= 15) { + titles.push("Keeper of the Cattle"); + } + if (V.cumSlaves >= 15) { + if (V.PC.title === 1) { + titles.push("Extractor of the Ejaculate"); + } else { + titles.push("Extractrix of the Ejaculate"); + } + } + if (V.servantsQuartersSlaves >= 15) { + if (V.PC.title === 1) { + titles.push("Director of the Servants"); + } else { + titles.push("Directrix of the Servants"); + } + } + if (V.schoolroomSlaves >= 10) { + if (V.PC.title === 1) { + titles.push("Educator of the Slaves"); + } else { + titles.push("Educatrix of the Slaves"); + } + } + if (V.spaSlaves >= 10) { + titles.push("Order of the Bath"); + } + if (V.arcadeSlaves >= 15) { + titles.push("Comptroller of the Arcade"); + } + + let schoolsPresent = [], schoolsPerfected = [], schoolTitle = ""; + if (V.TSS.schoolProsperity >= 10) { + schoolsPerfected.push("The Slave School"); + } else if (V.TSS.schoolPresent === 1) { + schoolsPresent.push("The Slave School"); + } + if (V.GRI.schoolProsperity >= 10) { + schoolsPerfected.push("The Growth Research Institute"); + } else if (V.GRI.schoolPresent === 1) { + schoolsPresent.push("The Growth Research Institute"); + } + if (V.SCP.schoolProsperity >= 10) { + schoolsPerfected.push("St. Claver Preparatory"); + } else if (V.SCP.schoolPresent === 1) { + schoolsPresent.push("St. Claver Preparatory"); + } + if (V.LDE.schoolProsperity >= 10) { + schoolsPerfected.push("L'École des Enculées"); + } else if (V.LDE.schoolPresent === 1) { + schoolsPresent.push("L'École des Enculées"); + } + if (V.TGA.schoolProsperity >= 10) { + schoolsPerfected.push("The Gymnasium-Academy"); + } else if (V.TGA.schoolPresent === 1) { + schoolsPresent.push("The Gymnasium-Academy"); + } + if (V.HA.schoolProsperity >= 10) { + schoolsPerfected.push("The Hippolyta Academy"); + } else if (V.HA.schoolPresent === 1) { + schoolsPresent.push("The Hippolyta Academy"); + } + if (V.TCR.schoolProsperity >= 10) { + schoolsPerfected.push("The Cattle Ranch"); + } else if (V.TCR.schoolPresent === 1) { + schoolsPresent.push("The Cattle Ranch"); + } + if (schoolsPerfected.length > 0) { + if (V.PC.title === 1) { + schoolTitle = "Benefactor of "; + } else { + schoolTitle = "Benefactrix of "; + } + if (schoolsPerfected.length === 1) { + schoolTitle += schoolsPerfected[0]; + } else if (schoolsPerfected.length === 2) { + schoolTitle += schoolsPerfected[0] + " and " + schoolsPerfected[1]; + } else { + schoolsPerfected[schoolsPerfected.length - 1] = "and " + schoolsPerfected[schoolsPerfected.length - 1]; + schoolTitle += schoolsPerfected.join(", "); + } + titles.push(schoolTitle); + } + + if (schoolsPresent.length > 0) { + schoolTitle = "Supporter of "; + if (schoolsPresent.length === 1) { + schoolTitle += schoolsPresent[0]; + } else if (schoolsPresent.length === 2) { + schoolTitle += schoolsPresent[0] + " and " + schoolsPresent[1]; + } else { + schoolsPresent[schoolsPresent.length - 1] = "and " + schoolsPresent[schoolsPresent.length - 1]; + schoolTitle += schoolsPresent.join(", "); + } + titles.push(schoolTitle); + } + + if (V.TFS.schoolProsperity >= 10) { + titles.push("Honorary Sibling of the Futanari Sisters"); + } else if (V.TFS.schoolPresent === 1) { + if (V.PC.title === 1) { + titles.push("Protector of the Futanari Sisters"); + } else { + titles.push("Protectrix of the Futanari Sisters"); + } + } + + if (V.slaves.length > 50) { + if (V.PC.title === 1) { + titles.push("Master of Slaves"); + } else { + titles.push("Mistress of Slaves"); + } + } else if (V.slaves.length > 40) { + titles.push("Holder of Slaves"); + } else if (V.slaves.length > 30) { + titles.push("Keeper of Slaves"); + } else if (V.slaves.length > 20) { + titles.push("Manager of Slaves"); + } else if (V.slaves.length > 10) { + titles.push("owner of slaves"); + } + + if (V.corpValue > 500000) { + titles.push("Corporate Titan"); + } else if (V.corpValue > 250000) { + titles.push("corporate innovator"); + } else if (V.corpValue > 100000) { + titles.push("corporate founder"); + } else if (V.corpValue > 0) { + if (V.PC.title === 1) { + titles.push("noted corporate businessman"); + } else { + titles.push("noted corporate businesswoman"); + } + } + + if (V.rep > 18000) { + if (V.PC.title === 1) { + titles.push("unquestioned Master of the Arcology"); + } else { + titles.push("unquestioned Mistress of the Arcology"); + } + } else if (V.rep > 15000) { + if (V.PC.title === 1) { + titles.push("Lord of the Arcology"); + } else { + titles.push("Lady of the Arcology"); + } + } else if (V.rep > 12000) { + titles.push("Ruler of the Arcology"); + } else if (V.rep > 9000) { + titles.push("chief officer of the arcology"); + } else { + titles.push("owner of the arcology"); + } + + if (titles.length === 1) { + V.PCTitle += titles[0]; + } else if (titles.length === 2) { + V.PCTitle += titles[0] + " and " + titles[1]; + } else { + titles[titles.length - 1] = "and " + titles[titles.length - 1]; + V.PCTitle += titles.join(", "); + } +}; + window.PoliteRudeTitle = function PoliteRudeTitle(slave) { const V = State.variables, PC = V.PC, s = V.sEnunciate, ss = V.ssEnunciate; diff --git a/src/pregmod/managePersonalAffairs.tw b/src/pregmod/managePersonalAffairs.tw index 3bb86444fe97dce9745938992b09ba527ef6b581..f5699a25937f3dde7db7e529854e4b5fe7ddabc5 100644 --- a/src/pregmod/managePersonalAffairs.tw +++ b/src/pregmod/managePersonalAffairs.tw @@ -1,7 +1,7 @@ :: Manage Personal Affairs [nobr] <<set $nextButton = "Back", $nextLink = "Main", $showEncyclopedia = 0>> -<<PCTitle>> +<<run PCTitle()>> <<if $cheatMode == 1>> <center>//[[Cheat Edit Player|PCCheatMenu][$cheater = 1]]<br><br>//</center> diff --git a/src/pregmod/reMaleCitizenHookup.tw b/src/pregmod/reMaleCitizenHookup.tw index 91a93c753628203dfa9c2b4b288c9e10b6c0e4c2..680916c450f41ee94d0af84e8c1bf0771769f77f 100644 --- a/src/pregmod/reMaleCitizenHookup.tw +++ b/src/pregmod/reMaleCitizenHookup.tw @@ -175,7 +175,7 @@ He's yours for the taking, if you want him, and if his praise and proximity were <<default>> flirt with you quite hard without crossing any lines between a citizen and an arcology owner. <</switch>> -He's clearly attracted to you; even the most consummate actor would have difficulty fooling you, and his breath is a little quick, his pupils are a bit dilated, and he's blushing cutely. But he's no fool, either. A casual liaison with <<PCTitle>>$PCTitle would be a tremendous social boost for him. +He's clearly attracted to you; even the most consummate actor would have difficulty fooling you, and his breath is a little quick, his pupils are a bit dilated, and he's blushing cutely. But he's no fool, either. A casual liaison with <<run PCTitle()>>$PCTitle would be a tremendous social boost for him. <br><br> <span id="result"> diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw index fe5beda585e280ba1fcbefe6579eb30207f4ac3a..0f711524ea1bfc6cb2a6811659ef30766c3b1d2e 100644 --- a/src/uncategorized/BackwardsCompatibility.tw +++ b/src/uncategorized/BackwardsCompatibility.tw @@ -184,6 +184,9 @@ <<if def $fetishChangeChance>> <<unset $fetishChangeChance>> <</if>> +<<if def $titles || def $schoolsPresent || def $schoolsPerfected || def $schoolTitle>> + <<unset $titles, $schoolsPresent, $schoolsPerfected, $schoolTitle>> +<</if>> /* pregmod stuff */ diff --git a/src/uncategorized/reCitizenHookup.tw b/src/uncategorized/reCitizenHookup.tw index e3f58c1032382e90e0dda9f7aafae6f1b09e2145..e4f0595bd82298ada023a53fd013e839be899b66 100644 --- a/src/uncategorized/reCitizenHookup.tw +++ b/src/uncategorized/reCitizenHookup.tw @@ -189,7 +189,7 @@ She's yours for the taking, if you want her, and if her praise and proximity wer <<default>> flirt with you quite hard without crossing any lines between a citizen and an arcology owner. <</switch>> -She's clearly attracted to you; even the most consummate actress would have difficulty fooling you, and her breath is a little quick, her pupils are a bit dilated, and she's blushing cutely. But she's no fool, either. A casual liaison with <<PCTitle>>$PCTitle would be a tremendous social boost for her. +She's clearly attracted to you; even the most consummate actress would have difficulty fooling you, and her breath is a little quick, her pupils are a bit dilated, and she's blushing cutely. But she's no fool, either. A casual liaison with <<run PCTitle()>>$PCTitle would be a tremendous social boost for her. <br><br> <span id="result"> diff --git a/src/uncategorized/reDevotees.tw b/src/uncategorized/reDevotees.tw index 7a06f3dc4b0e7631f953aeaecbe24d06e2065347..3aed7533860d468ef0df12620c93748967973d8d 100644 --- a/src/uncategorized/reDevotees.tw +++ b/src/uncategorized/reDevotees.tw @@ -29,7 +29,7 @@ You have a mature, well-trained household of slaves. $slaves[_red1].slaveName, $ <span id="result"> <<link "See an operetta with four attendants">> <<replace "#result">> - <<PCTitle>> + <<run PCTitle()>> You reserve a box at an upcoming operetta; classical Italian music is enjoying a renaissance these days. The doormen at the fashionable opera house promptly widen the velvet ropes so that you and your party may proceed unimpeded. Their quick thinking is necessary, since there are five of you walking sedately up the steps: you in the middle, impeccable in <<if $PC.title == 1>>gentleman's evening wear, complete with gloves and cane<<else>>a fine and noble lady's tuxedo<</if>>; and $slaves[_red1].slaveName, $slaves[_red2].slaveName, $slaves[_red3].slaveName, and $slaves[_red4].slaveName, all dressed in the gorgeous fashion of the seventeenth century, all plunging necklines, piled hair, and ruffled petticoats. The splendid master of ceremonies clears his throat and announces in a sonorous voice, "$PCTitle." The ostentation @@.green;turns every head and catches every eye.@@ <<set $rep += 500>> <</replace>> diff --git a/src/uncategorized/reputation.tw b/src/uncategorized/reputation.tw index d8754e565aafec12db53377218af5fcdc8630fc8..c1add7dc181ed66e6f2e358a7e5b724585bfaba3 100644 --- a/src/uncategorized/reputation.tw +++ b/src/uncategorized/reputation.tw @@ -3,7 +3,7 @@ <<if $useTabs == 0>>__Reputation__<</if>> <br> -<<PCTitle>> +<<run PCTitle()>> On formal occasions, you are announced as $PCTitle. diff --git a/src/uncategorized/sellSlave.tw b/src/uncategorized/sellSlave.tw index cd6a317ee72a3954ccdfa3a920761697ce292e23..eebeafc7f6dc988fb70360aec8c21076c16e89e4 100644 --- a/src/uncategorized/sellSlave.tw +++ b/src/uncategorized/sellSlave.tw @@ -151,25 +151,25 @@ A reputable slave appraiser arrives promptly to inspect her and certify her qual <<elseif $appraiser == "chinese">> an older and rather stout woman<<if $arcologies[0].FSRepopulationFocusLaw == 1>>, with a noticeably heavy pregnancy,<</if>> in traditional Chinese dress, gives you a precise and proper greeting. She extracts a tablet from one of her wide sleeves and reviews video of the slave in action before performing a physical inspection. Then she seats herself, stows her tablet again, and recites in a didactic tone, "Honored <<if def $PC.customTitle>> - "$PC.customTitle, + $PC.customTitle, <<else>> <<if $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> - <<set $titles.push("Emperor and Holder of the Mandate of Heaven")>> + Emperor and Holder of the Mandate of Heaven, <<else>> - <<set $titles.push("Empress and Holder of the Mandate of Heaven")>> + Empress and Holder of the Mandate of Heaven, <</if>> <<elseif $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.6>> <<if $PC.title == 1>> - <<set $titles.push("Emperor")>> + Emperor, <<else>> - <<set $titles.push("Empress")>> + Empress, <</if>> <<else>> <<if $PC.title == 1>> - <<set $titles.push("Governor of the Province")>> + Governor of the Province, <<else>> - <<set $titles.push("Governess of the Province")>> + Governess of the Province, <</if>> <</if>> <</if>> diff --git a/src/utility/miscWidgets.tw b/src/utility/miscWidgets.tw index 40793215da37d5a8a9cf07f9e1c2ac1707ac42b1..a762bfaf34a1729fcb04ad5ff57469e399292eeb 100644 --- a/src/utility/miscWidgets.tw +++ b/src/utility/miscWidgets.tw @@ -510,556 +510,6 @@ <</if>> <</widget>> -/% - Call as <<PCTitle>> -%/ -<<widget "PCTitle">> - -<<if $surnameOrder != 1>> - <<switch $PC.nationality>> - <<case "Cambodian" "Chinese" "Hungarian" "Japanese" "Korean" "Mongolian" "Taiwanese" "Vietnamese">> - <<if $PC.surname>><<set $PCTitle = $PC.surname>><<set $PCTitle += " " + $PC.name>><<else>><<set $PCTitle = $PC.name>><</if>> - <<default>> - <<set $PCTitle = $PC.name>> - <<if $PC.surname>><<set $PCTitle += " " + $PC.surname>><</if>> - <</switch>> -<<else>> - <<set $PCTitle = $PC.name>> - <<if $PC.surname>><<set $PCTitle += " " + $PC.surname>><</if>> -<</if>> -<<set $titles = []>> - -<<if $cheater == 1>> - <<set $PCTitle = ($PCTitle + " the Cheater")>> -<<elseif $arcologies[0].FSRestart > 10>> - <<set $PCTitle = ($PCTitle + " of the Societal Elite")>> -<<elseif $rep > 18000>> - <<set $PCTitle = ($PCTitle + " the Great")>> -<<elseif $rep > 17000>> - <<set $PCTitle = ("the exalted " + $PCTitle)>> -<<elseif $rep > 16000>> - <<set $PCTitle = ("the illustrious " + $PCTitle)>> -<<elseif $rep > 15000>> - <<set $PCTitle = ("the prestigious " + $PCTitle)>> -<<elseif $rep > 14000>> - <<set $PCTitle = ("the renowned " + $PCTitle)>> -<<elseif $rep > 13000>> - <<set $PCTitle = ("the famed " + $PCTitle)>> -<<elseif $rep > 12000>> - <<set $PCTitle = ("the celebrated " + $PCTitle)>> -<<elseif $rep > 11000>> - <<set $PCTitle = ("the honored " + $PCTitle)>> -<<elseif $rep > 10000>> - <<set $PCTitle = ("the acclaimed " + $PCTitle)>> -<<elseif $rep > 9000>> - <<set $PCTitle = ("the eminent " + $PCTitle)>> -<<elseif $rep > 8250>> - <<set $PCTitle = ("the prominent " + $PCTitle)>> -<<elseif $rep > 7500>> - <<set $PCTitle = ("the distinguished " + $PCTitle)>> -<<elseif $rep > 6750>> - <<set $PCTitle = ("the admired " + $PCTitle)>> -<<elseif $rep > 6000>> - <<set $PCTitle = ("the esteemed " + $PCTitle)>> -<<elseif $rep > 5250>> - <<set $PCTitle = ("the respected " + $PCTitle)>> -<<elseif $rep > 4500>> - <<set $PCTitle = ("the known " + $PCTitle)>> -<<elseif $rep > 3750>> - <<set $PCTitle = ("the recognized " + $PCTitle)>> -<<elseif $rep > 3000>> - <<set $PCTitle = ("the rumored " + $PCTitle)>> -<</if>> - -<<set $PCTitle = ($PCTitle + ", ")>> - -<<if $PC.name == "FC Dev">> - <<set $titles.push("the Creator")>> -<</if>> - -<<if $plot == 1>> - <<if $invasionVictory == 3>> - <<if $PC.title == 1>> - <<set $titles.push("Hero of the City")>> - <<else>> - <<set $titles.push("Heroine of the City")>> - <</if>> - <<elseif $invasionVictory == 2>> - <<set $titles.push("Defender of the City")>> - <</if>> - <<if $daughtersVictory == 3>> - <<set $titles.push("Destroyer of the Daughters")>> - <<elseif $daughtersVictory == 2>> - <<if $PC.title == 1>> - <<set $titles.push("Victor over the Daughters")>> - <<else>> - <<set $titles.push("Victrix over the Daughters")>> - <</if>> - <</if>> -<</if>> - -<<if $mercenaries >= 5>> - <<if $mercenariesTitle == "Evocati">> - <<set $seed = $mercenariesTitle>> - <<set $seed = ("Princeps of the " + $seed)>> - <<set $titles.push($seed)>> - <<elseif $mercenariesTitle == "Knights">> - <<set $seed = $mercenariesTitle>> - <<if $PC.title == 1>> - <<set $seed = ("Lord Commander of the " + $seed)>> - <<else>> - <<set $seed = ("Lady Commander of the " + $seed)>> - <</if>> - <<set $titles.push($seed)>> - <<elseif $mercenariesTitle == "Immortals">> - <<set $seed = $mercenariesTitle>> - <<set $seed = ("Tyrant of the " + $seed)>> - <<set $titles.push($seed)>> - <<else>> - <<set $seed = $mercenariesTitle>> - <<set $seed = ("Commander of the " + $seed)>> - <<set $titles.push($seed)>> - <</if>> -<<elseif $mercenaries >= 1>> - <<set $titles.push("Commander of the Mercenaries")>> -<</if>> - -<<if $dispensary == 1>> - <<if $PC.title == 1>> - <<set $titles.push("Pharmacologos")>> - <<else>> - <<set $titles.push("Pharmacologes")>> - <</if>> -<</if>> - -<<if $arcologies[0].FSSupremacist >= $FSLockinLevel*0.9>> - <<set $titles.push("Grand Champion of the Blood")>> -<<elseif $arcologies[0].FSSupremacist >= $FSLockinLevel*0.6>> - <<set $titles.push("Champion of the Blood")>> -<<elseif $arcologies[0].FSSupremacist >= $FSLockinLevel*0.3>> - <<set $titles.push("Defender of the Blood")>> -<</if>> - -<<if $arcologies[0].FSSubjugationist >= $FSLockinLevel*0.9>> - <<set $titles.push("Grand Overseer of the Inferior Race")>> -<<elseif $arcologies[0].FSSubjugationist >= $FSLockinLevel*0.6>> - <<set $titles.push("Overseer of the Inferior Race")>> -<<elseif $arcologies[0].FSSubjugationist >= $FSLockinLevel*0.3>> - <<set $titles.push("Subduer of the Inferior Race")>> -<</if>> - -<<if $arcologies[0].FSGenderRadicalist >= $FSLockinLevel*0.9>> - <<set $titles.push("Buttfucker of All Slaves")>> -<<elseif $arcologies[0].FSGenderRadicalist >= $FSLockinLevel*0.6>> - <<set $titles.push("Sodomizer of the Traps")>> -<<elseif $arcologies[0].FSGenderRadicalist >= $FSLockinLevel*0.3>> - <<if $PC.title == 1>> - <<set $titles.push("Penetrator of the Sissies")>> - <<else>> - <<set $titles.push("Penetratrix of the Sissies")>> - <</if>> -<</if>> - -<<if $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel*0.9>> - <<if $PC.title == 1>> - <<set $titles.push("Father to the City")>> - <<else>> - <<set $titles.push("Mother to the City")>> - <</if>> -<<elseif $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel*0.6>> - <<set $titles.push("Defender of Women")>> -<<elseif $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel*0.3>> - <<set $titles.push("Restorer of Morals")>> -<</if>> - -<<if $arcologies[0].FSPaternalist >= $FSLockinLevel*0.9>> - <<if $PC.title == 1>> - <<set $titles.push("Protector to All Slaves")>> - <<else>> - <<set $titles.push("Protectrix to All Slaves")>> - <</if>> -<<elseif $arcologies[0].FSPaternalist >= $FSLockinLevel*0.6>> - <<if $PC.title == 1>> - <<set $titles.push("Benefactor of Slaves")>> - <<else>> - <<set $titles.push("Benefactrix of Slaves")>> - <</if>> -<<elseif $arcologies[0].FSPaternalist >= $FSLockinLevel*0.3>> - <<set $titles.push("Pursuer of Justice")>> -<</if>> - -<<if $arcologies[0].FSRepopulationFocus >= $FSLockinLevel*0.9>> - <<set $titles.push("the Savior of the Future")>> -<<elseif $arcologies[0].FSRepopulationFocus >= $FSLockinLevel*0.6>> - <<set $titles.push("the Holder of the Future")>> -<<elseif $arcologies[0].FSRepopulationFocus >= $FSLockinLevel*0.3>> - <<set $titles.push("the Repopulist")>> -<</if>> - -<<if $arcologies[0].FSDegradationist >= $FSLockinLevel*0.9>> - <<set $titles.push("Holder of the Rod and the Lash")>> -<<elseif $arcologies[0].FSDegradationist >= $FSLockinLevel*0.6>> - <<set $titles.push("Subduer of Slaves")>> -<<elseif $arcologies[0].FSDegradationist >= $FSLockinLevel*0.3>> - <<set $titles.push("Pursuer of Justice")>> -<</if>> - -<<if $arcologies[0].FSBodyPurist >= $FSLockinLevel*0.9>> - <<set $titles.push("the Purifier of the Breasts")>> -<<elseif $arcologies[0].FSBodyPurist >= $FSLockinLevel*0.6>> - <<set $titles.push("the Discerning")>> -<<elseif $arcologies[0].FSBodyPurist >= $FSLockinLevel*0.3>> - <<set $titles.push("the Tasteful")>> -<</if>> - -<<if $arcologies[0].FSAssetExpansionist >= $FSLockinLevel*0.9>> - <<set $titles.push("the Expander of the Breasts")>> -<<elseif $arcologies[0].FSAssetExpansionist >= $FSLockinLevel*0.6>> - <<set $titles.push("the Expander")>> -<<elseif $arcologies[0].FSAssetExpansionist >= $FSLockinLevel*0.3>> - <<if $PC.title == 1>> - <<set $titles.push("the Implantor")>> - <<else>> - <<set $titles.push("the Implantrix")>> - <</if>> -<</if>> - -<<if $arcologies[0].FSPastoralist >= $FSLockinLevel*0.9>> - <<if $PC.title == 1>> - <<set $titles.push("the Master of Stock")>> - <<else>> - <<set $titles.push("the Mistress of Stock")>> - <</if>> -<<elseif $arcologies[0].FSPastoralist >= $FSLockinLevel*0.6>> - <<set $titles.push("the Rancher")>> -<<elseif $arcologies[0].FSPastoralist >= $FSLockinLevel*0.3>> - <<set $titles.push("the Farmer")>> -<</if>> - -<<if $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.9>> - <<set $titles.push("beloved of Brodin")>> -<<elseif $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.6>> - <<if $PC.title == 1>> - <<set $titles.push("he of the godlike Body")>> - <<else>> - <<set $titles.push("she of the godlike Body")>> - <</if>> -<<elseif $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.3>> - <<set $titles.push("advancer of Gains")>> -<</if>> - -<<if $arcologies[0].FSHedonisticDecadence >= $FSLockinLevel*0.9>> - <<if $PC.title == 1>> - <<set $titles.push("Master of Softness")>> - <<else>> - <<set $titles.push("Lady of Softness")>> - <</if>> -<<elseif $arcologies[0].FSHedonisticDecadence >= $FSLockinLevel*0.6>> - <<set $titles.push("Thickness Eunthusiast")>> -<<elseif $arcologies[0].FSHedonisticDecadence >= $FSLockinLevel*0.3>> - <<set $titles.push("the Feeder")>> -<</if>> - -<<if $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel*0.9>> - <<set $titles.push("Grand Preserver of MILFS")>> -<<elseif $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel*0.6>> - <<set $titles.push("Fucker of MILFS")>> -<<elseif $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel*0.3>> - <<if $PC.title == 1>> - <<set $titles.push("he of the notorious MILF preference")>> - <<else>> - <<set $titles.push("she of the notorious MILF preference")>> - <</if>> -<</if>> - -<<if $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel*0.9>> - <<set $titles.push("Keeper of the Magnificent Young Harem")>> -<<elseif $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel*0.6>> - <<set $titles.push("Keeper of Virgins")>> -<<elseif $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel*0.3>> - <<set $titles.push("the Virginbreaker")>> -<</if>> - -<<if $arcologies[0].FSChattelReligionistLaw == 1>> - <<set $titles.push("the Prophet")>> -<<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.9>> - <<set $titles.push("Keeper of the Blade and Chalice")>> -<<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.6>> - <<set $titles.push("Champion of the Faith")>> -<<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.3>> - <<set $titles.push("the Holy")>> -<</if>> - -<<if $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.9>> - <<set $titles.push("First Consul")>> -<<elseif $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.6>> - <<set $titles.push("Aedile")>> -<<elseif $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.3>> - <<set $titles.push("Quaestor")>> -<</if>> - -<<if $arcologies[0].FSAztecRevivalist >= $FSLockinLevel*0.9>> - <<set $titles.push("Tlatcani")>> -<<elseif $arcologies[0].FSAztecRevivalist >= $FSLockinLevel*0.6>> - <<set $titles.push("Cihuacoatl")>> -<<elseif $arcologies[0].FSAztecRevivalist >= $FSLockinLevel*0.3>> - <<set $titles.push("Tlatoani")>> -<</if>> - -<<if $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.9>> - <<if $PC.title == 1>> - <<set $titles.push("the Living God")>> - <<else>> - <<set $titles.push("the Living Goddess")>> - <</if>> -<<elseif $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.6>> - <<set $titles.push("Pharaoh")>> -<<elseif $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.3>> - <<if $PC.title == 1>> - <<set $titles.push("Prince of the Nile")>> - <<else>> - <<set $titles.push("Princess of the Nile")>> - <</if>> -<</if>> - -<<if $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.9>> - <<if $PC.title == 1>> - <<set $titles.push("Emperor and Descendant of Amaterasu")>> - <<else>> - <<set $titles.push("Amaterasu Reborn")>> - <</if>> -<<elseif $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.6>> - <<set $titles.push("Shogun")>> -<<elseif $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.3>> - <<set $titles.push("Daimyo")>> -<</if>> - -<<if $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.9>> - <<if $PC.title == 1>> - <<set $titles.push("Caliph")>> - <<else>> - <<set $titles.push("Handmaiden of Allah")>> - <</if>> -<<elseif $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.6>> - <<if $PC.title == 1>> - <<set $titles.push("Sultan")>> - <<else>> - <<set $titles.push("Sultana")>> - <</if>> -<<elseif $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.3>> - <<set $titles.push("Beloved of Allah")>> -<</if>> - -<<if $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.9>> - <<if $PC.title == 1>> - <<set $titles.push("Emperor and Holder of the Mandate of Heaven")>> - <<else>> - <<set $titles.push("Empress and Holder of the Mandate of Heaven")>> - <</if>> -<<elseif $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.6>> - <<if $PC.title == 1>> - <<set $titles.push("Emperor")>> - <<else>> - <<set $titles.push("Empress")>> - <</if>> -<<elseif $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.3>> - <<if $PC.title == 1>> - <<set $titles.push("Governor of the Province")>> - <<else>> - <<set $titles.push("Governess of the Province")>> - <</if>> -<</if>> - -<<if $brothelSlaves >= 15>> - <<if $PC.title == 1>> - <<set $titles.push("Procurator of the Brothel")>> - <<else>> - <<set $titles.push("Procuratrix of the Brothel")>> - <</if>> -<</if>> -<<if $clubSlaves >= 15>> - <<set $titles.push("First on the Club")>> -<</if>> -<<if $dairySlaves >= 15>> - <<set $titles.push("Keeper of the Cattle")>> -<</if>> -<<if $cumSlaves >= 15>> - <<if $PC.title == 1>> - <<set $titles.push("Extractor of the Ejaculate")>> - <<else>> - <<set $titles.push("Extractrix of the Ejaculate")>> - <</if>> -<</if>> -<<if $servantsQuartersSlaves >= 15>> - <<if $PC.title == 1>> - <<set $titles.push("Director of the Servants")>> - <<else>> - <<set $titles.push("Directrix of the Servants")>> - <</if>> -<</if>> -<<if $schoolroomSlaves >= 10>> - <<if $PC.title == 1>> - <<set $titles.push("Educator of the Slaves")>> - <<else>> - <<set $titles.push("Educatrix of the Slaves")>> - <</if>> -<</if>> -<<if $spaSlaves >= 10>> - <<set $titles.push("Order of the Bath")>> -<</if>> -<<if $arcadeSlaves >= 15>> - <<set $titles.push("Comptroller of the Arcade")>> -<</if>> - -<<set $schoolsPresent = []>> -<<set $schoolsPerfected = []>> -<<if $TSS.schoolProsperity >= 10>> - <<set $schoolsPerfected.push("The Slave School")>> -<<elseif $TSS.schoolPresent == 1>> - <<set $schoolsPresent.push("The Slave School")>> -<</if>> -<<if $GRI.schoolProsperity >= 10>> - <<set $schoolsPerfected.push("The Growth Research Institute")>> -<<elseif $GRI.schoolPresent == 1>> - <<set $schoolsPresent.push("The Growth Research Institute")>> -<</if>> -<<if $SCP.schoolProsperity >= 10>> - <<set $schoolsPerfected.push("St. Claver Preparatory")>> -<<elseif $SCP.schoolPresent == 1>> - <<set $schoolsPresent.push("St. Claver Preparatory")>> -<</if>> -<<if $LDE.schoolProsperity >= 10>> - <<set $schoolsPerfected.push("L'École des Enculées")>> -<<elseif $LDE.schoolPresent == 1>> - <<set $schoolsPresent.push("L'École des Enculées")>> -<</if>> -<<if $TGA.schoolProsperity >= 10>> - <<set $schoolsPerfected.push("The Gymnasium-Academy")>> -<<elseif $TGA.schoolPresent == 1>> - <<set $schoolsPresent.push("The Gymnasium-Academy")>> -<</if>> -<<if $HA.schoolProsperity >= 10>> - <<set $schoolsPerfected.push("The Hippolyta Academy")>> -<<elseif $HA.schoolPresent == 1>> - <<set $schoolsPresent.push("The Hippolyta Academy")>> -<</if>> -<<if $TCR.schoolProsperity >= 10>> - <<set $schoolsPerfected.push("The Cattle Ranch")>> -<<elseif $TCR.schoolPresent == 1>> - <<set $schoolsPresent.push("The Cattle Ranch")>> -<</if>> -<<if $schoolsPerfected.length > 0>> - <<if $PC.title == 1>> - <<set $schoolTitle = "Benefactor of ">> - <<else>> - <<set $schoolTitle = "Benefactrix of ">> - <</if>> - <<for _mwi = 0; _mwi < $schoolsPerfected.length; _mwi++>> - <<set $seed = $schoolsPerfected[_mwi]>> - <<set $schoolTitle = ($schoolTitle + $seed)>> - <<if _mwi < $schoolsPerfected.length-2>> - <<set $schoolTitle = ($schoolTitle + ", ")>> - <<elseif _mwi == $schoolsPerfected.length-2>> - <<if $schoolsPerfected.length > 2>> - <<set $schoolTitle = ($schoolTitle + ", and ")>> - <<else>> - <<set $schoolTitle = ($schoolTitle + " and ")>> - <</if>> - <</if>> - <</for>> - <<set $titles.push($schoolTitle)>> -<</if>> -<<if $schoolsPresent.length > 0>> - <<set $schoolTitle = "Supporter of ">> - <<for _mwi = 0; _mwi < $schoolsPresent.length; _mwi++>> - <<set $seed = $schoolsPresent[_mwi]>> - <<set $schoolTitle = ($schoolTitle + $seed)>> - <<if _mwi < $schoolsPresent.length-2>> - <<set $schoolTitle = ($schoolTitle + ", ")>> - <<elseif _mwi == $schoolsPresent.length-2>> - <<if $schoolsPresent.length > 2>> - <<set $schoolTitle = ($schoolTitle + ", and ")>> - <<else>> - <<set $schoolTitle = ($schoolTitle + " and ")>> - <</if>> - <</if>> - <</for>> - <<set $titles.push($schoolTitle)>> -<</if>> -<<if $TFS.schoolProsperity >= 10>> - <<set $titles.push("Honorary Sibling of the Futanari Sisters")>> -<<elseif $TFS.schoolPresent == 1>> - <<if $PC.title == 1>> - <<set $titles.push("Protector of the Futanari Sisters")>> - <<else>> - <<set $titles.push("Protectrix of the Futanari Sisters")>> - <</if>> -<</if>> - -<<if $slaves.length > 50>> - <<if $PC.title == 1>> - <<set $titles.push("Master of Slaves")>> - <<else>> - <<set $titles.push("Mistress of Slaves")>> - <</if>> -<<elseif $slaves.length > 40>> - <<set $titles.push("Holder of Slaves")>> -<<elseif $slaves.length > 30>> - <<set $titles.push("Keeper of Slaves")>> -<<elseif $slaves.length > 20>> - <<set $titles.push("Manager of Slaves")>> -<<elseif $slaves.length > 10>> - <<set $titles.push("owner of slaves")>> -<</if>> - -<<if $corpValue > 500000>> - <<set $titles.push("Corporate Titan")>> -<<elseif $corpValue > 250000>> - <<set $titles.push("corporate innovator")>> -<<elseif $corpValue > 100000>> - <<set $titles.push("corporate founder")>> -<<elseif $corpValue > 0>> - <<if $PC.title == 1>> - <<set $titles.push("noted corporate businessman")>> - <<else>> - <<set $titles.push("noted corporate businesswoman")>> - <</if>> -<</if>> - -<<if $titles.length > 0>> - <<set $titles.push("and ")>> -<</if>> - -<<if $rep > 18000>> - <<if $PC.title == 1>> - <<set $titles.push("unquestioned Master of the Arcology")>> - <<else>> - <<set $titles.push("unquestioned Mistress of the Arcology")>> - <</if>> -<<elseif $rep > 15000>> - <<if $PC.title == 1>> - <<set $titles.push("Lord of the Arcology")>> - <<else>> - <<set $titles.push("Lady of the Arcology")>> - <</if>> -<<elseif $rep > 12000>> - <<set $titles.push("Ruler of the Arcology")>> -<<elseif $rep > 9000>> - <<set $titles.push("chief officer of the arcology")>> -<<else>> - <<set $titles.push("owner of the arcology")>> -<</if>> - -<<for _mwi = 0; _mwi < $titles.length; _mwi++>> - <<set $seed = $titles[_mwi]>> - <<set $PCTitle = ($PCTitle + $seed)>> - <<if _mwi < $titles.length-2>> - <<set $PCTitle = ($PCTitle + ", ")>> - <</if>> -<</for>> - -<</widget>> - /% Call as <<OralSkillIncrease>> $args[0]: Slave.