diff --git a/src/npc/generate/newChildIntro.js b/src/npc/generate/newChildIntro.js index 5a6dcc75f2e298598fd1ce252834dc0b0070e81e..1795613b600cdcc3b5ac7a8d1318f562cdb88cd2 100644 --- a/src/npc/generate/newChildIntro.js +++ b/src/npc/generate/newChildIntro.js @@ -1,8 +1,7 @@ /** * @param {App.Entity.SlaveState} slave - * @param {App.Entity.SlaveState} [slave2] recruiter slave, if present in the scene */ -App.UI.newChildIntro = function(slave, slave2) { +App.UI.newChildIntro = function(slave, slave2, hideInspect = true) { const { His, He, his, him, he, girl, hers, himself, daughter } = getPronouns(slave); @@ -904,7 +903,7 @@ App.UI.newChildIntro = function(slave, slave2) { } // Normal intro stuff - el.append(App.UI.newSlaveIntro(slave)); + el.append(App.UI.newSlaveIntro(slave, null, hideInspect)); // Unique stuff again el.append(parentInterest()); diff --git a/src/npc/generate/newSlaveIntro.js b/src/npc/generate/newSlaveIntro.js index 174911b1a3d353a491ef9325513a999c8be6b851..54dd2d90fb2606b020d5fc0c01152a0f284f74ab 100644 --- a/src/npc/generate/newSlaveIntro.js +++ b/src/npc/generate/newSlaveIntro.js @@ -3,7 +3,7 @@ * @param {App.Entity.SlaveState} [slave2] recruiter slave, if present in the scene * @returns {DocumentFragment} */ -App.UI.newSlaveIntro = function(slave, slave2) { +App.UI.newSlaveIntro = function(slave, slave2, hideInspect = false) { const desc = SlaveTitle(slave); const {title: Master} = getEnunciation(slave); const { @@ -22,7 +22,9 @@ App.UI.newSlaveIntro = function(slave, slave2) { modSetup(); - el.append(inspect()); + if (!hideInspect) { + el.append(inspect()); + } el.append(choices()); diff --git a/src/pregmod/incubatorRetrievalWorkaround.tw b/src/pregmod/incubatorRetrievalWorkaround.tw index 8826d551814165dae0912a2e1097831ebb61c2f0..057280aba9f6790585640aad742c5a39c35a029c 100644 --- a/src/pregmod/incubatorRetrievalWorkaround.tw +++ b/src/pregmod/incubatorRetrievalWorkaround.tw @@ -25,8 +25,7 @@ <</if>> <</for>> <</if>> - <<run newSlave($activeSlave)>> - <<include "New Child Intro">> + <<includeDOM App.UI.newChildIntro($activeSlave, null, true)>> <<else>> A husk is ready to be used. <br>