diff --git a/src/facilities/surgery/surgeryPasageFaceAndHair.js b/src/facilities/surgery/surgeryPasageFaceAndHair.js index aef323e06400fc0b9c63f080f125b887e9376c9e..418c601c4b1b3d2bae9c3f63daa3f94b07a005a8 100644 --- a/src/facilities/surgery/surgeryPasageFaceAndHair.js +++ b/src/facilities/surgery/surgeryPasageFaceAndHair.js @@ -50,7 +50,7 @@ App.UI.surgeryPassageHairAndFace = function(slave, cheat = false) { App.UI.DOM.appendNewElement("div", el, makeLink( `Surgically remove ${his} ability to grow eyebrows`, - "eyebrow removal", + "eyebrow removal" ), "choices"); } @@ -1260,7 +1260,9 @@ App.UI.surgeryPassageHairAndFace = function(slave, cheat = false) { return App.UI.DOM.link( title, () => { - func(); + if (typeof func === "function") { + func(); + } if (cheat) { jQuery(container).empty().append(content()); } else { diff --git a/src/uncategorized/surgeryDegradation.tw b/src/uncategorized/surgeryDegradation.tw index e8a66c8f58fe890b3448e477adcfcd538e150831..7cc42bb222416b40db089170c1026daee7d7d1da 100644 --- a/src/uncategorized/surgeryDegradation.tw +++ b/src/uncategorized/surgeryDegradation.tw @@ -378,7 +378,15 @@ As the remote surgery's long recovery cycle completes, <<if canSee(getSlave($AS))>>$He looks in the mirror and turns $his head side to side admiring $his new ears, <<else>>$He can't see but it's clear from the dull ache in $his ears that they have been modified, <</if>><<if hasAnyArms(getSlave($AS))>>they're still a bit sore, but $he reaches up to feel them gently,<</if>> $he turns to you with a smile, tilting $his head at various angles to show them off. $He seems to think $his new ears are @@.hotpink;cute.@@ The modification surgery is brief, with @@.health.dec;nothing more than minor health effects.@@ <<set getSlave($AS).devotion += 4>> <<elseif (getSlave($AS).devotion >= -20)>> - <<if canSee(getSlave($AS))>>$He eyes $his new ears skeptically.<<else>>$He can't see but it's clear from the dull ache in $his ears that they have been modified.<</if>><<if hasAnyArms(getSlave($AS))>>$He's still a bit sore, but $he reaches up to feel them gently.<</if>>$He's come to terms with the fact that $he's a slave, so $he isn't much affected mentally despite the surprise of having $his ears reshaped. The modification surgery is brief, with @@.health.dec;nothing more than minor health effects.@@ $He is @@.gold;sensibly fearful@@ of your total power over $his body. + <<if canSee(getSlave($AS))>> + $He eyes $his new ears skeptically. + <<else>> + $He can't see but it's clear from the dull ache in $his ears that they have been modified. + <</if>> + <<if hasAnyArms(getSlave($AS))>> + $He's still a bit sore, but $he reaches up to feel them gently. + <</if>> + $He's come to terms with the fact that $he's a slave, so $he isn't much affected mentally despite the surprise of having $his ears reshaped. The modification surgery is brief, with @@.health.dec;nothing more than minor health effects.@@ $He is @@.gold;sensibly fearful@@ of your total power over $his body. <<set getSlave($AS).trust -= 5>> <<else>> <<if canSee(getSlave($AS))>>$He eyes $his new ears with disdain.<<else>>$He can't see but it's clear from the dull ache in $his ears that they have been modified.<</if>><<if hasAnyArms(getSlave($AS))>>$He's still a bit sore, but $he reaches up to feel them gently, as if to confirm it's not some trick.<</if>> For now, @@.mediumorchid;$he seems to view $his altered ears as a cruel imposition.@@ The modification surgery is brief, with @@.health.dec;nothing more than minor health effects.@@ $He is now @@.gold;terribly afraid@@ of your total power over $his body.