diff --git a/src/markets/specialSlave.js b/src/markets/specialSlave.js index 6122f265c5f36c7cf80b4aa8cf0137db77510821..603c5724efe1479e73f3473939b94ab7487b8aec 100644 --- a/src/markets/specialSlave.js +++ b/src/markets/specialSlave.js @@ -101,7 +101,7 @@ App.Markets.specialSlave = function() { V.nextButton = "Continue"; V.nextLink = "AS Dump"; V.returnTo = "Main"; - V.specialSlave = 1; + V.heroSlavesPurchased.push(selectedID); cashX(forceNeg(slaveCost), "slaveTransfer", slave); V.activeSlave = slave; }, diff --git a/src/npc/generate/heroCreator.js b/src/npc/generate/heroCreator.js index 33ca1a146f59aedda1df76c025c5f77b749cfb75..0af91090c780f27e8eec22b1dea3c2bf0d6c8481 100644 --- a/src/npc/generate/heroCreator.js +++ b/src/npc/generate/heroCreator.js @@ -107,7 +107,6 @@ App.Utils.getHeroSlave = function(heroSlave) { // WombInit(heroSlave); const newSlave = BaseSlave(); deepAssign(newSlave, heroSlave); - V.heroSlaveID = heroSlave.ID; newSlave.ID = generateSlaveID(); repairLimbs(newSlave); generatePuberty(newSlave); @@ -139,7 +138,7 @@ App.Utils.getHeroSlave = function(heroSlave) { if (newSlave.override_Skin !== 1) { newSlave.skin = getGeneticSkinColor(newSlave); } - setHealth(newSlave, newSlave.health.condition, 0, 0, 0, newSlave.health.tired) + setHealth(newSlave, newSlave.health.condition, 0, 0, 0, newSlave.health.tired); SetBellySize(newSlave); diff --git a/src/uncategorized/newSlaveIntro.tw b/src/uncategorized/newSlaveIntro.tw index 55f704430e8cf77cf78015f718fabfe54fb936a0..ff15013fe6b41d98de577a3eecbd127d2c80d920 100644 --- a/src/uncategorized/newSlaveIntro.tw +++ b/src/uncategorized/newSlaveIntro.tw @@ -88,12 +88,6 @@ <</if>> <</if>> -<<if $specialSlave == 1>> - <<run $heroSlavesPurchased.push($heroSlaveID)>> - <<unset $heroSlaveID>> - <<set $specialSlave = 0>> -<</if>> - <p> The legalities completed, <span class='slave-name'><<= SlaveFullName($activeSlave)>></span> <<if !hasAnyLegs($activeSlave)>><<if isAmputee($activeSlave)>>lies<<else>>rests<</if>> helplessly on your desk,<<elseif !canStand($activeSlave)>>kneels before your desk,<<else>>stands before your desk,<</if>> <<if $activeSlave.devotion < -50>>