diff --git a/src/gui/Encyclopedia/encyclopedia.tw b/src/gui/Encyclopedia/encyclopedia.tw index 7e6fbe17fc4f678d8a5604b4156465951e20d337..f65b43ba72f1480ee083da788cb8bb25fc32f7d2 100644 --- a/src/gui/Encyclopedia/encyclopedia.tw +++ b/src/gui/Encyclopedia/encyclopedia.tw @@ -1,15 +1,20 @@ :: Encyclopedia [nobr] +<div class="center"> + <<if $encyclopedia !== "Table of Contents">> <<= App.Encyclopedia.Dialog.linkSC("Table of Contents", "Table of Contents")>> - <br><br> <</if>> +<h2> +$encyclopedia +</h2> +</div> + <<switch $encyclopedia>> <<case "Table of Contents">> - <center> - <h2>Table of Contents</h2> + <div class="center"> <h3>Introduction</h3> <<= App.Encyclopedia.Dialog.linkSC("Playing Free Cities", "Playing Free Cities")>> <br><br> @@ -36,7 +41,7 @@ <<= App.Encyclopedia.Dialog.linkSC("Game Mods", "Game Mods")>> <br><<= App.Encyclopedia.Dialog.linkSC("Lore", "Lore")>> <br><<= App.Encyclopedia.Dialog.linkSC("Credits", "Credits")>> - </center> + </div> /********** PLAYING FREE CITIES @@ -151,7 +156,7 @@ Design Your Master <<case "Design Your Master">> This happens at the start of a game of FC: it is not possible to change the PC during the main game. The player must select a career background, a rumored method of acquiring the arcology, and their age group; then choose between some broad body and gender options. - <br><br> ''Wealth'' is a choice for both the ''career background'' and ''rumored method of acquiring the arcology'' options. Both provide you with @@.yellowgreen;<<print cashFormat(10000)>>@@ each for a total of @@.yellowgreen;<<print cashFormat(30000)>>@@ if both are chosen. As a ''background option'' it means that your starting slaves will have two free levels of sex skills available. + <br><br>''Wealth'' is a choice for both the ''career background'' and ''rumored method of acquiring the arcology'' options. Both provide you with @@.yellowgreen;<<print cashFormat(10000)>>@@ each for a total of @@.yellowgreen;<<print cashFormat(30000)>>@@ if both are chosen. As a ''background option'' it means that your starting slaves will have two free levels of sex skills available. <br><br>__Career background options__ <br>Being an ex- @@ -182,14 +187,14 @@ Design Your Master Starts having already mastered <<= App.Encyclopedia.Dialog.linkSC("Hacking", "PC Skills")>>. <br><br> - Players using the <<= App.Encyclopedia.Dialog.linkSC("Security Expansion", "Security Expansion")>> mod may want to view this page with <<= App.Encyclopedia.Dialog.linkSC("additional details", "Design Your Master SecExp")>>. + Players using the <<= App.Encyclopedia.Dialog.linkSC("Security Expansion", "Security Expansion")>> mod may want to view this page with <<= App.Encyclopedia.Dialog.linkSC("additional details", "Design Your Master in SecExp")>>. <br><br>__Rumored acquisition options__ <br>''Hard Work'' provides a one-time bonus to both @@.hotpink;<<= App.Encyclopedia.Dialog.linkSC("devotion", "From Rebellious to Devoted")>>@@ and @@.mediumaquamarine;<<= App.Encyclopedia.Dialog.linkSC("trust", "Trust")>>@@ when a new slave is acquired. <br><br>''Force'' means that if a slave does not have enough @@.hotpink;<<= App.Encyclopedia.Dialog.linkSC("devotion", "From Rebellious to Devoted")>>@@ to obey when acquired, this option will terrify her and reduce her @@.mediumaquamarine;<<= App.Encyclopedia.Dialog.linkSC("trust", "Trust")>>@@ to the point where she should comply. - <br><br>''social engineering'' means that you will start with the first societal option unlocked, since you manipulated the arcology's citizens. + <br><br>''Social Engineering'' means that you will start with the first societal option unlocked, since you manipulated the arcology's citizens. <br><br>''Luck'' provides extra @@.green;<<= App.Encyclopedia.Dialog.linkSC("reputation", "Arcologies and Reputation")>>@@ at game start, but no ongoing advantages once the main game begins. @@ -199,11 +204,10 @@ Design Your Master <br><br>__Body and gender options__ <br>All PC body changes will alter scenes, but their main mechanical effect is on @@.green;<<= App.Encyclopedia.Dialog.linkSC("reputation", "Arcologies and Reputation")>>@@ maintenance. Feminine options will make it harder to maintain @@.green;<<= App.Encyclopedia.Dialog.linkSC("reputation", "Arcologies and Reputation")>>@@ without providing any gameplay advantage, making playing as a feminine PC a form of increased difficulty. There are other minor gameplay differences including differing slave reactions to the PC based on attraction, but these are fairly minor. -<<case "Design Your Master SecExp">> +<<case "Design Your Master in SecExp">> This happens at the start of a game of FC: it is not possible to change the PC during the main game. The player must select a career background, a rumored method of acquiring the arcology, and their age group; then choose between some broad body and gender options. - <br><br> ''Wealth'' is a choice for both the ''career background'' and ''rumored method of acquiring the arcology'' options. Both provide you with @@.yellowgreen;<<print cashFormat(10000)>>@@ each for a total of @@.yellowgreen;<<print cashFormat(30000)>>@@ if both are chosen. - <br> As a ''background option'' it means that your starting slaves will have two free levels of sex skills available and maintaining @@.darkviolet;<<= App.Encyclopedia.Dialog.linkSC("authority", "Security Expansion")>>@@ will be harder, but upgrades in the propaganda hub will be @@.yellowgreen;<<= App.Encyclopedia.Dialog.linkSC("cheaper", "Money")>>@@. + <br><br>''Wealth'' is a choice for both the ''career background'' and ''rumored method of acquiring the arcology'' options. Both provide you with @@.yellowgreen;<<print cashFormat(10000)>>@@ each for a total of @@.yellowgreen;<<print cashFormat(30000)>>@@ if both are chosen. As a ''background option'' it means that your starting slaves will have two free levels of sex skills available and maintaining @@.darkviolet;<<= App.Encyclopedia.Dialog.linkSC("authority", "Security Expansion")>>@@ will be harder, but upgrades in the propaganda hub will be @@.yellowgreen;<<= App.Encyclopedia.Dialog.linkSC("cheaper", "Money")>>@@. <br><br>__Career background options__ <br>Being an ex- @@ -243,7 +247,7 @@ Design Your Master <br><br>''Force'' means that if a slave does not have enough @@.hotpink;<<= App.Encyclopedia.Dialog.linkSC("devotion", "From Rebellious to Devoted")>>@@ to obey when acquired, this option will terrify her and reduce her @@.mediumaquamarine;<<= App.Encyclopedia.Dialog.linkSC("trust", "Trust")>>@@ to the point where she should comply. - <br><br>''social engineering'' means that you will start with the first societal option unlocked, since you manipulated the arcology's citizens. + <br><br>''Social Engineering'' means that you will start with the first societal option unlocked, since you manipulated the arcology's citizens. <br><br>''Luck'' provides extra @@.green;<<= App.Encyclopedia.Dialog.linkSC("reputation", "Arcologies and Reputation")>>@@ at game start, but no ongoing advantages once the main game begins. @@ -400,7 +404,7 @@ PC Skills Can be increased through acquiring performing the duties of a slave driver. <br>''Engineering'' is a sign of how effective you are building and maintenance. Mastering the skill reduces the cost of @@.yellowgreen;arcology upgrades and expansions.@@ - Can be increased through purchasing arcology upgrades or expanding facility capacity<<if $SecExp.settings.show > 0>> and repairing your arcology<</if>>. + Can be increased through purchasing arcology upgrades or expanding facility capacity. If the <<= App.Encyclopedia.Dialog.linkSC("Security Expansion", "Security Expansion")>> mod is enabled, the skill is also increased by repairing your arcology. <br>''Medicine'' shows how effective you are treating wounds. Max level reduces a slave's health and @@.mediumaquamarine;<<= App.Encyclopedia.Dialog.linkSC("trust", "Trust")>>@@ loss during surgery. @@ -1301,11 +1305,11 @@ SLAVE BEHAVIORAL QUIRKS <br><br>The <<= App.Encyclopedia.Dialog.linkSC("Head Girl", "Head Girl")>> can be ordered to soften flaws, and the player character can soften flaws with personal attention. Flaws can also be naturally softened into quirks by fetishes. -<<case "Adores men">> +<<case "Adores Men">> ''Adores men'' is a behavioral <<= App.Encyclopedia.Dialog.linkSC("quirk", "Quirks")>> developed from the <<= App.Encyclopedia.Dialog.linkSC("hates women", "Hates women")>> <<= App.Encyclopedia.Dialog.linkSC("flaw", "Flaws")>>. Slaves who adore men may naturally become <<= App.Encyclopedia.Dialog.linkSC("pregnancy fetishists", "Pregnancy Fetishists")>>. In addition to the standard value and sexual assignment advantages, they get bonus @@.mediumaquamarine;<<= App.Encyclopedia.Dialog.linkSC("trust", "Trust")>>@@ on <<= App.Encyclopedia.Dialog.linkSC("fucktoy", "Fucktoy")>> duty if the player character is masculine, and increased chance of gaining additional XY attraction. -<<case "Adores women">> +<<case "Adores Women">> ''Adores women'' is a behavioral <<= App.Encyclopedia.Dialog.linkSC("quirk", "Quirks")>> developed from the <<= App.Encyclopedia.Dialog.linkSC("hates men", "Hates men")>> <<= App.Encyclopedia.Dialog.linkSC("flaw", "Flaws")>>. Slaves who adore women may naturally become <<= App.Encyclopedia.Dialog.linkSC("breast fetishists", "Boob Fetishists")>>. In addition to the standard value and sexual assignment advantages, they get bonus @@.mediumaquamarine;<<= App.Encyclopedia.Dialog.linkSC("trust", "Trust")>>@@ on <<= App.Encyclopedia.Dialog.linkSC("fucktoy", "Fucktoy")>> duty if the player character is feminine, and increased chance of gaining additional XX attraction. @@ -1403,11 +1407,11 @@ SLAVE BEHAVIORAL FLAWS ''Gluttonous '' is a behavioral <<= App.Encyclopedia.Dialog.linkSC("flaw", "Flaws")>> that can be softened into the <<= App.Encyclopedia.Dialog.linkSC("fitness", "Fitness")>> <<= App.Encyclopedia.Dialog.linkSC("quirk", "Quirks")>>. In addition to the standard penalties to value and performance on sexual assignments, gluttons will enjoy gaining weight but dislike dieting, and may bilk attempts to make them lose weight. -<<case "Hates men">> +<<case "Hates Men">> ''Hates men '' is a behavioral <<= App.Encyclopedia.Dialog.linkSC("flaw", "Flaws")>> that can be softened into the <<= App.Encyclopedia.Dialog.linkSC("adores women", "Adores women")>> <<= App.Encyclopedia.Dialog.linkSC("quirk", "Quirks")>> by training, a good <<= App.Encyclopedia.Dialog.linkSC("Attendant", "Attendant")>>, a powerful sex drive, strong attraction to men, or the <<= App.Encyclopedia.Dialog.linkSC("boob fetish", "Boob Fetishists")>>. The <<= App.Encyclopedia.Dialog.linkSC("pregnancy fetish", "Pregnancy Fetishists")>> will soften it so she <<= App.Encyclopedia.Dialog.linkSC("adores men", "Adores men")>> instead. This flaw can also be removed by serving a player character or another slave with a dick. -<<case "Hates women">> +<<case "Hates Women">> ''Hates women '' is a behavioral <<= App.Encyclopedia.Dialog.linkSC("flaw", "Flaws")>> that can be softened into the <<= App.Encyclopedia.Dialog.linkSC("adores men", "Adores men")>> <<= App.Encyclopedia.Dialog.linkSC("quirk", "Quirks")>> by training, a good <<= App.Encyclopedia.Dialog.linkSC("Attendant", "Attendant")>>, a powerful sex drive, strong attraction to men, or the <<= App.Encyclopedia.Dialog.linkSC("cumslut", "Cumsluts")>> fetish. The <<= App.Encyclopedia.Dialog.linkSC("pregnancy fetish", "Pregnancy Fetishists")>> will soften it so she <<= App.Encyclopedia.Dialog.linkSC("adores women", "Adores women")>> instead. This flaw can also be removed by serving a player character or another slave with a vagina. @@ -1429,15 +1433,15 @@ SLAVE SEXUAL FLAWS ''Crude '' is a sexual <<= App.Encyclopedia.Dialog.linkSC("flaw", "Flaws")>> that can be softened into the <<= App.Encyclopedia.Dialog.linkSC("unflinching", "Unflinching")>> <<= App.Encyclopedia.Dialog.linkSC("quirk", "Quirks")>> by training, a good <<= App.Encyclopedia.Dialog.linkSC("Attendant", "Attendant")>>, a powerful sex drive, or the <<= App.Encyclopedia.Dialog.linkSC("buttslut", "Buttsluts")>> fetish. -<<case "Hates anal">> +<<case "Hates Anal">> ''Hates anal '' is a sexual <<= App.Encyclopedia.Dialog.linkSC("flaw", "Flaws")>> that can be softened into the <<= App.Encyclopedia.Dialog.linkSC("painal queen", "Painal Queen")>> <<= App.Encyclopedia.Dialog.linkSC("quirk", "Quirks")>> by training, a good <<= App.Encyclopedia.Dialog.linkSC("Attendant", "Attendant")>>, a powerful sex drive, or the <<= App.Encyclopedia.Dialog.linkSC("buttslut", "Buttsluts")>> fetish. This flaw can also be removed by serving the player character. -<<case "Hates oral">> +<<case "Hates Oral">> ''Hates oral '' is a sexual <<= App.Encyclopedia.Dialog.linkSC("flaw", "Flaws")>> that can be softened into the <<= App.Encyclopedia.Dialog.linkSC("gagfuck queen", "Gagfuck Queen")>> <<= App.Encyclopedia.Dialog.linkSC("quirk", "Quirks")>> by training, a good <<= App.Encyclopedia.Dialog.linkSC("Attendant", "Attendant")>>, a powerful sex drive, or the <<= App.Encyclopedia.Dialog.linkSC("cumslut", "Cumsluts")>> fetish. This flaw can also be removed by serving the player character. -<<case "Hates penetration">> +<<case "Hates Penetration">> ''Hates penetration '' is a sexual <<= App.Encyclopedia.Dialog.linkSC("flaw", "Flaws")>> that can be softened into the <<= App.Encyclopedia.Dialog.linkSC("strugglefuck queen", "Strugglefuck Queen")>> <<= App.Encyclopedia.Dialog.linkSC("quirk", "Quirks")>> by training, a good <<= App.Encyclopedia.Dialog.linkSC("Attendant", "Attendant")>>, a powerful sex drive, or the <<= App.Encyclopedia.Dialog.linkSC("buttslut", "Buttsluts")>> fetish. This flaw can also be removed by serving the player character. @@ -2613,7 +2617,7 @@ LORE: INTERVIEWS <<case "Credits">> This game was created by a person with no coding experience whatsoever. If I can create a playable h-game, so can you. - <br><br>__I do not give credit without explicit permission to do so.__ If you have contributed content and are not credited, please email me via the blog so I can give credit where it is due. + <br><br>__I do not give credit without explicit permission to do so.__ If you have contributed content and are not credited, please reach out on gitgud so credit can be given where due. <br><br>''Boney M'' of JoNT /hgg/ mod fame has been invaluable, combing tirelessly through the code to find and report my imbecilities. <br> Coded an improvement to the relative recruitment system. @@ -2862,19 +2866,19 @@ LORE: INTERVIEWS <br> Provides demand for skilled slaves from the corporation. <br> Mutually exclusive with <<= App.Encyclopedia.Dialog.linkSC("Physical Idealism", "Physical Idealism")>>. -<<case "Gender Radicalism research">> +<<case "Gender Radicalism Research">> Advanced Gender Radicalist societies can fund research to produce modified uteri and ovaries designed to be implanted into male slaves to grant them the ability to become pregnant, thus leaving no gender specific traits remaining. -<<case "Slave Professionalism research">> +<<case "Slave Professionalism Research">> Advanced Slave Professionalism societies can fund efforts to synthesize a compound capable of improving mental capacities. -<<case "Transformation Fetishism research">> +<<case "Transformation Fetishism Research">> Advanced Transformation Fetishist societies can fund research to produce implants capable of reaching previously undocumented sizes. -<<case "Asset Expansionist research">> +<<case "Asset Expansionist Research">> Advanced Asset Expansionist societies can fund research to produce extremely powerful growth drugs capable of growing body parts to previously undocumented sizes. Drugs are also standardized in slave diets to prevent loss of asset size. Due to the rapid growth in said assets, and the strength of the drug cocktails, slaves are more likely to develop side effects of excessive drug use. -<<case "Slimness Enthusiast research">> +<<case "Slimness Enthusiast Research">> Advanced Slimness Enthusiast societies can fund research into several drugs designed to slim slaves down. <br>They include: <br> Appetite suppressants to make dieting easier. @@ -2884,7 +2888,7 @@ LORE: INTERVIEWS <<case "Hedonistic Decadence Research">> Advanced Hedonistic Decadence societies can purchase plans for specialized slave food. Said food is shaped to resemble actual food and flavored accordingly, however, its texture can only be described as gooey or gummy. A plus if that is how the food should be, but a shocker otherwise, given how tantalizing that steak looks after nothing but liquid slave food for so long. Since the food is essentially compacted liquid slave food, it is highly addictive thanks to the, typically, low presence of aphrodisiacs and can easily lead to excessive <<= App.Encyclopedia.Dialog.linkSC("weight gain", "Weight")>> as slaves are driven to gorge themselves on it. They'll be happy, at least, as they steadily outgrow their clothes. Alterations to the recipe exist to prevent <<= App.Encyclopedia.Dialog.linkSC("weight gain", "Weight")>> for Slimness Enthusiast societies and to cause gastric distress in Degradationist societies. -<<case "Hyper-pregnancy">> +<<case "Hyper-Pregnancy">> ''Hyper Pregnancy'' refers to when a slave is carrying ten or more children in one pregnancy. It is largely unhealthy for a slave, and can lead to immobilization and even death, so be sure to keep your overfilled slaves happy and healthy. Due to the size of the pregnancy, a slaves abdomen is greatly stretched, causing it to sag after the pregnancy is complete. Surgery, time, or refilling the slave's belly will eliminate sag, if only temporary. Only achievable via powerful fertility agents researched through the dispensary. <<case "Super Fertility Drugs">> @@ -3285,11 +3289,11 @@ LORE: INTERVIEWS | <<= App.Encyclopedia.Dialog.linkSC("Submissives", "Submissives")>> <</if>> - <<if ["Adores men", "Adores women", "Advocate", "Confident", "Cutting", "Fitness", "Funny", "Insecure", "Quirks", "Sinful"].includes($encyclopedia)>> + <<if ["Adores Men", "Adores Women", "Advocate", "Confident", "Cutting", "Fitness", "Funny", "Insecure", "Quirks", "Sinful"].includes($encyclopedia)>> <br><br>//Behavioral <<= App.Encyclopedia.Dialog.linkSC("Quirks", "Quirks")>>:// - <br><<= App.Encyclopedia.Dialog.linkSC("Adores men", "Adores men")>> - | <<= App.Encyclopedia.Dialog.linkSC("Adores women", "Adores women")>> + <br><<= App.Encyclopedia.Dialog.linkSC("Adores men", "Adores Men")>> + | <<= App.Encyclopedia.Dialog.linkSC("Adores women", "Adores Women")>> | <<= App.Encyclopedia.Dialog.linkSC("Advocate", "Advocate")>> | <<= App.Encyclopedia.Dialog.linkSC("Confident", "Confident")>> | <<= App.Encyclopedia.Dialog.linkSC("Cutting", "Cutting")>> @@ -3313,7 +3317,7 @@ LORE: INTERVIEWS | <<= App.Encyclopedia.Dialog.linkSC("Unflinching", "Unflinching")>> <</if>> - <<if ["Anorexic", "Arrogant", "Bitchy", "Devout", "Flaws", "Gluttonous", "Hates men", "Hates women", "Liberated", "Odd"].includes($encyclopedia)>> + <<if ["Anorexic", "Arrogant", "Bitchy", "Devout", "Flaws", "Gluttonous", "Hates Men", "Hates Women", "Liberated", "Odd"].includes($encyclopedia)>> <br><br>//Behavioral <<= App.Encyclopedia.Dialog.linkSC("Flaws", "Flaws")>>:// <br><<= App.Encyclopedia.Dialog.linkSC("Anorexic", "Anorexic")>> @@ -3321,20 +3325,20 @@ LORE: INTERVIEWS | <<= App.Encyclopedia.Dialog.linkSC("Bitchy", "Bitchy")>> | <<= App.Encyclopedia.Dialog.linkSC("Devout", "Devout")>> | <<= App.Encyclopedia.Dialog.linkSC("Gluttonous", "Gluttonous")>> - | <<= App.Encyclopedia.Dialog.linkSC("Hates men", "Hates men")>> - | <<= App.Encyclopedia.Dialog.linkSC("Hates women", "Hates women")>> + | <<= App.Encyclopedia.Dialog.linkSC("Hates men", "Hates Men")>> + | <<= App.Encyclopedia.Dialog.linkSC("Hates women", "Hates Women")>> | <<= App.Encyclopedia.Dialog.linkSC("Liberated", "Liberated")>> | <<= App.Encyclopedia.Dialog.linkSC("Odd", "Odd")>> <</if>> - <<if ["Abusiveness", "Anal Addicts", "Apathetic", "Attention Whores", "Breast Obsession", "Breeding Obsession", "Crude", "Cum Addicts", "Flaws", "Hates anal", "Hates oral", "Hates penetration", "Idealistic", "Judgemental", "Maliciousness", "Repressed", "Self Hatred", "Self Neglect", "Shamefast"].includes($encyclopedia)>> + <<if ["Abusiveness", "Anal Addicts", "Apathetic", "Attention Whores", "Breast Obsession", "Breeding Obsession", "Crude", "Cum Addicts", "Flaws", "Hates Anal", "Hates Oral", "Hates penetration", "Idealistic", "Judgemental", "Maliciousness", "Repressed", "Self Hatred", "Self Neglect", "Shamefast"].includes($encyclopedia)>> <br><br>//Sexual <<= App.Encyclopedia.Dialog.linkSC("Flaws", "Flaws")>>:// <br>//Standard flaws:// <<= App.Encyclopedia.Dialog.linkSC("Apathetic", "Apathetic")>> | <<= App.Encyclopedia.Dialog.linkSC("Crude", "Crude")>> - | <<= App.Encyclopedia.Dialog.linkSC("Hates anal", "Hates anal")>> - | <<= App.Encyclopedia.Dialog.linkSC("Hates oral", "Hates oral")>> + | <<= App.Encyclopedia.Dialog.linkSC("Hates anal", "Hates Anal")>> + | <<= App.Encyclopedia.Dialog.linkSC("Hates oral", "Hates Oral")>> | <<= App.Encyclopedia.Dialog.linkSC("Hates penetration", "Hates penetration")>> | <<= App.Encyclopedia.Dialog.linkSC("Idealistic", "Idealistic")>> | <<= App.Encyclopedia.Dialog.linkSC("Judgemental", "Judgemental")>> @@ -3498,11 +3502,11 @@ LORE: INTERVIEWS | <<= App.Encyclopedia.Dialog.linkSC("Petite Admiration", "Petite Admiration")>> | <<= App.Encyclopedia.Dialog.linkSC("Statuesque Glorification", "Statuesque Glorification")>> | <<= App.Encyclopedia.Dialog.linkSC("Hedonistic Decadence", "Hedonistic Decadence")>> - | <<= App.Encyclopedia.Dialog.linkSC("Gender Radicalism research", "Gender Radicalism research")>> - | <<= App.Encyclopedia.Dialog.linkSC("Slave Professionalism research", "Slave Professionalism research")>> - | <<= App.Encyclopedia.Dialog.linkSC("Transformation Fetishism research", "Transformation Fetishism research")>> - | <<= App.Encyclopedia.Dialog.linkSC("Asset Expansionist research", "Asset Expansionist research")>> - | <<= App.Encyclopedia.Dialog.linkSC("Slimness Enthusiast research", "Slimness Enthusiast research")>> + | <<= App.Encyclopedia.Dialog.linkSC("Gender Radicalism Research", "Gender Radicalism Research")>> + | <<= App.Encyclopedia.Dialog.linkSC("Slave Professionalism Research", "Slave Professionalism Research")>> + | <<= App.Encyclopedia.Dialog.linkSC("Transformation Fetishism Research", "Transformation Fetishism Research")>> + | <<= App.Encyclopedia.Dialog.linkSC("Asset Expansionist Research", "Asset Expansionist Research")>> + | <<= App.Encyclopedia.Dialog.linkSC("Slimness Enthusiast Research", "Slimness Enthusiast Research")>> | <<= App.Encyclopedia.Dialog.linkSC("Youth Preferentialism Research", "Youth Preferentialism Research")>> | <<= App.Encyclopedia.Dialog.linkSC("Hedonistic Decadence Research", "Hedonistic Decadence Research")>> | <<= App.Encyclopedia.Dialog.linkSC("Eugenics Breeding Proposal", "Eugenics Breeding Proposal")>> @@ -3510,7 +3514,7 @@ LORE: INTERVIEWS | <<= App.Encyclopedia.Dialog.linkSC("Corrective Diet", "Corrective Diet")>> | <<= App.Encyclopedia.Dialog.linkSC("Slave Fertility", "Slave Fertility")>> | <<= App.Encyclopedia.Dialog.linkSC("Player Pregnancy", "Player Pregnancy")>> - | <<= App.Encyclopedia.Dialog.linkSC("Hyper-pregnancy", "Hyper-pregnancy")>> + | <<= App.Encyclopedia.Dialog.linkSC("Hyper-Pregnancy", "Hyper-Pregnancy")>> | <<= App.Encyclopedia.Dialog.linkSC("Super Fertility Drugs", "Super Fertility Drugs")>> | <<= App.Encyclopedia.Dialog.linkSC("Fertility Mix", "Fertility Mix")>> | <<= App.Encyclopedia.Dialog.linkSC("Breeders Dietary Blend", "Breeders Dietary Blend")>> @@ -3559,5 +3563,5 @@ LORE: INTERVIEWS <br> <<= App.Encyclopedia.Dialog.linkSC("Credits", "Credits")>> <br><br> - <<= App.Encyclopedia.Dialog.linkSC("Table of Contents", "Table of Contents")>> + <div class="center"><<= App.Encyclopedia.Dialog.linkSC("Table of Contents", "Table of Contents")>></div> <</if>>/* closes Table of Contents check*/ diff --git a/src/gui/Encyclopedia/encyclopediaDialog.js b/src/gui/Encyclopedia/encyclopediaDialog.js index 355db4f8a3ad7d0e99e747a563f1a19703ffea21..b6f5521a71e1df351a856ead8ad5a36c283b9a07 100644 --- a/src/gui/Encyclopedia/encyclopediaDialog.js +++ b/src/gui/Encyclopedia/encyclopediaDialog.js @@ -21,6 +21,7 @@ App.Encyclopedia.Dialog = (function() { * @param {string} article */ function showArticleInDialog(article) { + let origEncyclopedia = V.encyclopedia; if (Dialog.isOpen()) { Dialog.close(); } @@ -28,6 +29,7 @@ App.Encyclopedia.Dialog = (function() { V.encyclopedia = article; $(Dialog.body()).empty().wiki(jsInclude("Encyclopedia")); Dialog.open(); + V.encyclopedia = origEncyclopedia; } return { diff --git a/src/gui/Encyclopedia/encyclopediaEntries.js b/src/gui/Encyclopedia/encyclopediaEntries.js index d001c999475654e7b3b2f0812d0499db8dee2b09..3962b84229b21b51cf6e2eb19ca582993d3ff2f8 100644 --- a/src/gui/Encyclopedia/encyclopediaEntries.js +++ b/src/gui/Encyclopedia/encyclopediaEntries.js @@ -15,13 +15,7 @@ App.Encyclopedia.Entries = (function() { * @returns {HTMLElement} */ function encyLink(linkText, topic) { - return App.UI.DOM.passageLink(linkText, "Encyclopedia", () => { - V.encyclopedia = topic; - if (passage() !== "Encyclopedia") { - V.nextButton = "Back"; - V.nextLink = "Main"; - } - }); + return App.Encyclopedia.Dialog.linkDOM(linkText, topic); } const entries = {}; @@ -82,7 +76,7 @@ App.Encyclopedia.Entries = (function() { entries.sexualServitude = () => App.UI.DOM.combineNodes(topic("Sexual servitude"), " is an assignment which pleases other slaves by forcing the slave to service them sexually. Useful for driving the targeted slave's ", - encyLink("devotion", "Devotion"), "up quickly."); + encyLink("devotion", "Devotion"), " up quickly."); entries.servitude = () => App.UI.DOM.combineNodes(topic("Servitude"), " is an assignment which reduces your upkeep based on the slave's ",