diff --git a/src/cheats/cheatEditSlave.js b/src/cheats/cheatEditSlave.js index 27f3cb941ad1110b24624673067b232112b6009f..40df95e2c83f2a46416856bc22083265828c03a0 100644 --- a/src/cheats/cheatEditSlave.js +++ b/src/cheats/cheatEditSlave.js @@ -9,7 +9,7 @@ App.UI.SlaveInteract.cheatEditSlave = function(slave) { App.UI.tabBar.handlePreSelectedTab(V.tabChoice.RemoteSurgery); App.UI.DOM.appendNewElement("h1", el, `Cheat edit ${slave.slaveName}`); App.UI.DOM.appendNewElement("div", el, App.UI.DOM.link( - "Apply", + "Apply cheat edits", () => { V.slaves[V.slaveIndices[slave.ID]] = tempSlave; }, @@ -17,6 +17,8 @@ App.UI.SlaveInteract.cheatEditSlave = function(slave) { "Cheat Edit JS Apply" )); + el.append(App.Desc.longSlave(slave, {market: "generic"})); + // TODO: move me /** * @@ -32,35 +34,36 @@ App.UI.SlaveInteract.cheatEditSlave = function(slave) { } const tabCaptions = { - "hairAndFace": 'Hair and Face', - "upper": 'Upper', - "lower": 'Lower', - "structural": 'Structural', - "exotic": 'Exotic', - "extreme": 'Extreme', + "profile": 'Profile', + "physical": 'Physical', + "mental": 'Mental', + "skills": 'Skills', + "family": 'Family', + "bodyMods": 'Body Mods', + "salon": 'Salon', + "finalize": 'Finalize', }; const tabBar = App.UI.DOM.appendNewElement("div", el, '', "tab-bar"); tabBar.append( - App.UI.tabBar.tabButton('hair-and-face', tabCaptions.hairAndFace), - App.UI.tabBar.tabButton('upper', tabCaptions.upper), - App.UI.tabBar.tabButton('lower', tabCaptions.lower), - App.UI.tabBar.tabButton('structural', tabCaptions.structural), - App.UI.tabBar.tabButton('exotic', tabCaptions.exotic), + App.UI.tabBar.tabButton('profile', tabCaptions.profile), + App.UI.tabBar.tabButton('physical', tabCaptions.physical), + App.UI.tabBar.tabButton('mental', tabCaptions.mental), + App.UI.tabBar.tabButton('skills', tabCaptions.skills), + App.UI.tabBar.tabButton('family', tabCaptions.family), + App.UI.tabBar.tabButton('body-mods', tabCaptions.bodyMods), + App.UI.tabBar.tabButton('salon', tabCaptions.salon), + App.UI.tabBar.tabButton('finalize', tabCaptions.finalize), ); - if (V.seeExtreme) { - tabBar.append(App.UI.tabBar.tabButton('extreme', tabCaptions.extreme)); - } - el.append(App.UI.tabBar.makeTab('hair-and-face', makeSpanIded("content-hair-and-face", App.UI.surgeryPassageHairAndFace(tempSlave, true)))); - el.append(App.UI.tabBar.makeTab('upper', makeSpanIded("content-upperr", App.UI.surgeryPassageUpper(tempSlave, true)))); - el.append(App.UI.tabBar.makeTab('lower', makeSpanIded("content-lower", App.UI.surgeryPassageLower(tempSlave, true)))); - el.append(App.UI.tabBar.makeTab('structural', makeSpanIded("content-structural", App.UI.surgeryPassageStructural(tempSlave, true)))); - el.append(App.UI.tabBar.makeTab('exotic', makeSpanIded("content-exotic", App.UI.surgeryPassageExotic(tempSlave, true)))); - - if (V.seeExtreme) { - el.append(App.UI.tabBar.makeTab('extreme', makeSpanIded("content-extreme", App.UI.surgeryPassageExtreme(tempSlave, true)))); - } + el.append(App.UI.tabBar.makeTab('profile', makeSpanIded("content-profile", App.StartingGirls.profile(slave)))); + el.append(App.UI.tabBar.makeTab('physical', makeSpanIded("content-physical", App.StartingGirls.physical(slave)))); + el.append(App.UI.tabBar.makeTab('mental', makeSpanIded("content-mental", App.StartingGirls.mental(slave)))); + el.append(App.UI.tabBar.makeTab('skills', makeSpanIded("content-skills", App.StartingGirls.skills(slave)))); + el.append(App.UI.tabBar.makeTab('family', makeSpanIded("content-family", App.Intro.editFamily(slave)))); + el.append(App.UI.tabBar.makeTab('body-mods', makeSpanIded("content-body-mods", App.UI.bodyModification(slave, true)))); + el.append(App.UI.tabBar.makeTab('salon', makeSpanIded("content-salon", App.UI.salon(slave, true)))); + el.append(App.UI.tabBar.makeTab('finalize', makeSpanIded("content-finalize", App.StartingGirls.finalize(slave)))); return el; };