diff --git a/src/facilities/cellblock/WardenessSelect.js b/src/facilities/cellblock/WardenessSelect.js index ab9b749520f639806bb2db72f841b5958d28ba8e..b9dfea914f6dada4b993c7ab2a302fed9c2d865a 100644 --- a/src/facilities/cellblock/WardenessSelect.js +++ b/src/facilities/cellblock/WardenessSelect.js @@ -4,7 +4,7 @@ App.Facilities.WardenessSelect = function() { if (S.Wardeness) { f.append(`Wardeness: ${SlaveFullName(S.Wardeness)}, helps breaking your prisoners. `); f.append(App.UI.DOM.link("Remove Wardeness", () => { - removeJob(S.Wardeness, Job.WARDENESS); + removeJob(S.Wardeness, Job.WARDEN); }, [], "Cellblock" )); diff --git a/src/gui/Encyclopedia/encyclopediaBody.js b/src/gui/Encyclopedia/encyclopediaBody.js index ff8f91b403040c29dec8c5f8a6f56ec5a1111d35..79a36bb0b964819483a0142c58cfdbed9dadeee7 100644 --- a/src/gui/Encyclopedia/encyclopediaBody.js +++ b/src/gui/Encyclopedia/encyclopediaBody.js @@ -279,20 +279,20 @@ App.Encyclopedia.addArticle("Ovaries", function() { }, "body"); App.Encyclopedia.addArticle("Pregnancy", function() { - return App.UI.DOM.combineNodes( - `Slaves require both `, - App.Encyclopedia.Dialog.linkDOM("vaginas", "Vaginas"), - ` and `, - App.Encyclopedia.Dialog.linkDOM("ovaries", "Ovaries"), - ` to become`, - App.Encyclopedia.topic("pregnant."), - `However, it's rumored that Gender Radicalist societies have developed a method for `, - App.Encyclopedia.Dialog.linkDOM("male impregnation", "Gender Radicalism Research"), - `. Fertile slaves can be impregnated by the player character or a slave with `, - App.Encyclopedia.Dialog.linkDOM("testicles", "Testicles"), - ` from the fertile slave's individual menu. Otherwise, slaves with vaginas and ovaries who aren't wearing chastity belts or taking contraceptives, and have not had their tubes tied via surgery, will likely become pregnant if performing sexual jobs or if allowed to have sex with slaves with balls. Pregnancy has a number of minor physical effects and will induce `, - App.Encyclopedia.Dialog.linkDOM("lactation", "Lactation") - ); + const fragment = new DocumentFragment(); + let r = []; + r.push(`Slaves require both`); + r.push(App.Encyclopedia.Dialog.linkDOM("vaginas", "Vaginas")); + r.push(`and`); + r.push(App.Encyclopedia.Dialog.linkDOM("ovaries", "Ovaries")); + r.push(`to become pregnant. However, it's rumored that Gender Radicalist societies have developed a method for `); + r.push(App.UI.DOM.combineNodes(App.Encyclopedia.Dialog.linkDOM("male impregnation", "Gender Radicalism Research"), ".")); + r.push(`Fertile slaves can be impregnated by the player character or a slave with`); + r.push(App.Encyclopedia.Dialog.linkDOM("testicles", "Testicles")); + r.push(`from the fertile slave's individual menu. Otherwise, slaves with vaginas and ovaries who aren't wearing chastity belts or taking contraceptives, and have not had their tubes tied via surgery, will likely become pregnant if performing sexual jobs or if allowed to have sex with slaves with balls. Pregnancy has a number of minor physical effects and will induce`); + r.push(App.Encyclopedia.Dialog.linkDOM("lactation", "Lactation")); + App.Events.addParagraph(fragment, r); + return fragment; }, "body"); App.Encyclopedia.addArticle("Skin Distinctions", function() {