diff --git a/src/events/intro/pcBodyIntro.js b/src/events/intro/pcBodyIntro.js index ecfd284ea0abc0b8269cea149708036e29956635..efb896259cf1a3367ad94329305295921d7b8c12 100644 --- a/src/events/intro/pcBodyIntro.js +++ b/src/events/intro/pcBodyIntro.js @@ -13,6 +13,7 @@ App.Intro.PCBodyIntro = function() { el.append(body()); el.append(age()); el.append(nameIndulgence()); + el.append(endScene()); return el; @@ -150,7 +151,7 @@ App.Intro.PCBodyIntro = function() { App.UI.DOM.appendNewElement("div", el, `What is your name and alternate indulgence?`, ["intro", "question"]); options.addOption(`Name your character: `, "slaveName", V.PC).showTextBox().addComment(`As with all text boxes in FC, press the enter key to commit your changes.`); - options.addOption(`Surname: `, "slaveSurname", V.PC).showTextBox(); + options.addOption(`Surname: `, "slaveSurname", V.PC).showTextBox().addComment("Optional"); if (V.PC.slaveSurname) { options.addOption("Go by a single name") @@ -185,7 +186,6 @@ App.Intro.PCBodyIntro = function() { .addValueList(Array.from(App.Data.player.refreshmentType, (v, i) => [v, i])) .addComment(`Flavor only; no mechanical effect. If entering a custom refreshment, please assign proper usage.`); - el.append(options.render()); if (V.PC.refreshmentType === 0) { App.UI.DOM.appendNewElement("div", el, `"Smoke" must fit into the following sentence: "I smoked a ${V.PC.refreshment}" to fit events properly`); @@ -197,25 +197,15 @@ App.Intro.PCBodyIntro = function() { return el; } -}; - - - -/* -<p> - if (V.PC.vagina !== -1) { - [[Confirm player character customization|PC Preg Intro]] - } else { - [[Confirm player character customization|PC Appearance Intro]] + function endScene() { + const el = document.createElement("p"); + const linkTitle = "Confirm player character customization"; + if (V.PC.vagina !== -1) { + el.append(App.UI.DOM.passageLink(linkTitle, "PC Preg Intro")); + } else { + el.append(App.UI.DOM.passageLink(linkTitle, "PC Appearance Intro")); + } + return el; } -</p> - - - return el; -} - - - - -*/ +};