Skip to content
Snippets Groups Projects
Commit 2030ce87 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

closing link

parent 91f30e2a
No related branches found
No related tags found
1 merge request!8402Pc body intro to js and options system
......@@ -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;
}
*/
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment