diff --git a/src/js/modification.js b/src/js/modification.js index ab6a0f33a0de13ce462089e880fb7d99df9765fd..5e56cd04709a1fec27248a2e2e85cb85613222b3 100644 --- a/src/js/modification.js +++ b/src/js/modification.js @@ -5,19 +5,22 @@ App.Medicine.Modification = {}; * @param {string} scar * @param {string} design */ -App.Medicine.Modification.addScar = function(slave, scar, design) { +App.Medicine.Modification.addScar = function(slave, scar, design, weight) { /* const V = State.variables; V.scarApplied = 1; V.degradation += 10; slave.health -= 10; //dangerous to uncomment this as sometimes many scars are applied at once. cashX(forceNeg(surgery.costs), "slaveSurgery", slave); slave.health -= (V.PC.medicine >= 100) ? Math.round(surgery.healthCosts / 2) : surgery.healthCosts;*/ + if (!weight) { + weight = 1; + } if (!slave.scar.hasOwnProperty(scar)) { slave.scar[scar] = new App.Entity.scarState(); } if (!slave.scar[scar].hasOwnProperty(design)) { - slave.scar[scar][design] = 1; + slave.scar[scar][design] = weight; } else { - slave.scar[scar][design] += 1; + slave.scar[scar][design] += weight; } }; diff --git a/src/uncategorized/bodyModification.tw b/src/uncategorized/bodyModification.tw index aee6e814ea371fba6b2faa395a918168eb77a89c..ca7e8fdc0ee63ccd93c319adb1f08a7ecb495e7a 100644 --- a/src/uncategorized/bodyModification.tw +++ b/src/uncategorized/bodyModification.tw @@ -1258,6 +1258,7 @@ Or a custom site: <<textbox "$scarTarget.local" $scarTarget.local "Body Modifica <</if>> Scar $him now with ''$scarDesign.local'' on the <<link "left">> + <<set $scarTarget.local = _leftTarget>> <<set $scarApplied = 1>> <<run App.Medicine.Modification.addScar($activeSlave, _leftTarget, $scarDesign.local)>> <<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>> @@ -1266,6 +1267,7 @@ Or a custom site: <<textbox "$scarTarget.local" $scarTarget.local "Body Modifica <</link>> $scarTarget.local, or the <<link "right">> + <<set $scarTarget.local = _rightTarget>> <<set $scarApplied = 1>> <<run App.Medicine.Modification.addScar($activeSlave, _rightTarget, $scarDesign.local)>> <<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>> diff --git a/src/uncategorized/pRivalryActions.tw b/src/uncategorized/pRivalryActions.tw index aa212706caa7e89562dde79e8bfed171eeafecd7..9252b185c5206c082c740d33d62a8e3861b9d278 100644 --- a/src/uncategorized/pRivalryActions.tw +++ b/src/uncategorized/pRivalryActions.tw @@ -391,6 +391,10 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.stampTat = "degradation">> <<set $hostage.fetish = "masochist">> <<set $hostage.fetishStrength = 10>> + <<run App.Medicine.Modification.addScar($hostage, "left ankle", "surgical", 2>> + <<run App.Medicine.Modification.addScar($hostage, "right ankle", "surgical", 2>> + <<run App.Medicine.Modification.addScar($hostage, "left calf", "surgical", 2>> + <<run App.Medicine.Modification.addScar($hostage, "right calf", "surgical", 2>> undergoing surgery to sever the tendons in $his heels. <<case "Degradationism">> <<set $hostage.trust -= 5>> @@ -669,6 +673,23 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.behavioralQuirk = "none">> <<set $hostage.behavioralFlaw = "odd">> <<set $hostage.sexualFlaw = "apathetic">> + /* Scars: */ + <<set _scarArray = ["left breast", "right breast", "back", "lower back", "left buttock", "right buttock"]>> + <<if $hostage.amp != 1>> + <<set _scarArray.push("left upper arm", "right upper arm", "left thigh", "right thigh")>> + <</if>> + <<for _i to 0; _i < _scarArray.length; _i++>> + <<run App.Medicine.Modification.addScar($hostage, _scarArray[_i], "whip">> + <</for>> + /* Manacles */ + <<if $hostage.amp != 1>> + <<set _scarArray = ["left wrist", "right wrist", "left ankle", "right ankle"]>> + <<for _i to 0; _i < _scarArray.length; _i++>> + <<run App.Medicine.Modification.addScar($hostage, _scarArray[_i], "chain")>> + <</for>> + <</if>> + <<run App.Medicine.Modification.addScar($hostage, "anus", "generic">> + <<run App.Medicine.Modification.addScar($hostage, "vagina", "generic">> collapsing into $his rancid cot, hands on $his <<if $seePreg != 0>>rounded middle<<else>>empty belly<</if>>, sobbing in terror. <<case "Repopulation Focus">> <<set $hostage.trust -= 5>> @@ -777,7 +798,10 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.shouldersTat = "degradation">> <<set $hostage.armsTat = "degradation">> <<set $hostage.legsTat = "degradation">> + <<run App.Medicine.Modification.addScar($hostage, "anus", "generic">> + <<run App.Medicine.Modification.addScar($hostage, "vagina", "generic">> <<set $hostage.fetishStrength = 65>> + <<run App.Medicine.Modification.addScar($hostage, "neck", "surgical", 2>> screaming as $his throat is prepared for surgery, knowing this will be the last sound $he ever vocalizes. <<case "Degradationism">> <<set $hostage.trust -= 5>> @@ -1053,6 +1077,21 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.counter.anal += 50>> <<set $hostage.counter.mammary += 50>> <<set $hostage.fetishStrength = 100>> + /* Make scars worse: */ + <<set _scarArray = ["left breast", "right breast", "back", "lower back", "left buttock", "right buttock"]>> + <<if $hostage.amp != 1>> + <<set _scarArray.push("left upper arm", "right upper arm", "left thigh", "right thigh")>> + <</if>> + <<for _i to 0; _i < _scarArray.length; _i++>> + <<run App.Medicine.Modification.addScar($hostage, _scarArray[_i], "whip">> + <</for>> + /* Manacles */ + <<if $hostage.amp != 1>> + <<set _scarArray = ["left wrist", "right wrist", "left ankle", "right ankle"]>> + <<for _i to 0; _i < _scarArray.length; _i++>> + <<run App.Medicine.Modification.addScar($hostage, _scarArray[_i], "chain")>> + <</for>> + <</if>> collapsing into $his rancid cot and curling into the fetal position<<if $seePreg != 0>> around $his pregnant belly<</if>>. $He's audibly begging for someone, anyone, to save $him. <<case "Repopulation Focus">> <<set $hostage.trust -= 5>> @@ -1102,7 +1141,7 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.counter.mammary += 100>> <<set $hostage.fetishStrength = 100>> <<set $hostage.sexualFlaw = "breeder">> - <<set $activeSlave.bellySag = 2, $activeSlave.bellySagPreg = 2>> + <<set $hostage.bellySag = 2, $hostage.bellySagPreg = 2>> orgasming lewdly from the obscene movements happening within $his straining womb. $He looks like $he wants this to never end. <</if>> <<case "Gender Radicalism">> @@ -1146,6 +1185,21 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.tonguePiercing = 2>> <<set $hostage.lipsTat = "degradation">> <<set $hostage.anusTat = "degradation">> + <<set _seed = random(1,100)>> + <<if _seed < 40>> + <<run App.Medicine.Modification.addScar($hostage, "left breast", "burn", 2>> + <<elseif _seed < 80>> + <<run App.Medicine.Modification.addScar($hostage, "right breast", "burn", 2>> + <<else>> + <<run App.Medicine.Modification.addScar($hostage, "left breast", "burn", 2>> + <<run App.Medicine.Modification.addScar($hostage, "right breast", "burn", 2>> + <<run App.Medicine.Modification.addScar($hostage, "belly", "burn", 2>> + <</if>> + /* Next scene will mention nasty surgical arm scars, but immediately amputate, so adding them here. */ + <<run App.Medicine.Modification.addScar($hostage, "left upper arm", "surgical", 2>> + <<run App.Medicine.Modification.addScar($hostage, "right upper arm", "surgical", 2>> + <<run App.Medicine.Modification.addScar($hostage, "left thigh", "surgical", 2>> + <<run App.Medicine.Modification.addScar($hostage, "right thigh", "surgical", 2>> <<set $hostage.fetishStrength = 100>> strapped to an operating table, eyes wide with terror, as a pair of syringes approach them. <<case "Degradationism">> @@ -1352,6 +1406,25 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.lactationDuration = 2>> <<set $hostage.fetish = "mindbroken">> <<set $hostage.fetishStrength = 10>> + /* Make scars worse: */ + <<set _scarArray = ["left breast", "right breast", "back", "lower back", "left buttock", "right buttock"]>> + <<if $hostage.amp != 1>> + <<set _scarArray.push("left upper arm", "right upper arm", "left thigh", "right thigh")>> + <</if>> + <<for _i to 0; _i < _scarArray.length; _i++>> + <<run App.Medicine.Modification.addScar($hostage, _scarArray[_i], "whip">> + <</for>> + /* Manacles */ + <<if $hostage.amp != 1>> + <<set _scarArray = ["left wrist", "right wrist", "left ankle", "right ankle"]>> + <<for _i to 0; _i < _scarArray.length; _i++>> + <<run App.Medicine.Modification.addScar($hostage, _scarArray[_i], "chain")>> + <</for>> + <</if>> + <<run App.Medicine.Modification.addScar($hostage, "left cheek", "generic", 3>> + <<run App.Medicine.Modification.addScar($hostage, "right cheek", "generic", 3>> + <<run App.Medicine.Modification.addScar($hostage, "left lower arm", "generic", 2>> + <<run App.Medicine.Modification.addScar($hostage, "right lower arm", "generic", 3>> with a pair of slavers threatening <<if $seePreg != 0>>$his pregnancy<<else>>$him<</if>>. $He keeps blocking the blows, again and again, until $he can barely stay upright. With a final, brutal kick to the head, $he falls to the floor, unmoving. Several seconds later, $he struggles upright, a blank expression across $his bloodied face. <<case "Repopulation Focus">> <<set $hostage.counter.oral += 5>> @@ -1376,7 +1449,7 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.counter.vaginal += 100>> <<set $hostage.counter.anal += 100>> <<set $hostage.counter.mammary += 100>> - <<set $activeSlave.bellySag = 2, $activeSlave.bellySagPreg = 2>> + <<set $hostage.bellySag = 2, $hostage.bellySagPreg = 2>> <<else>> <<set $hostage.preg = 1>> <<set $hostage.pregType = 40>> @@ -1393,7 +1466,7 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.counter.vaginal += 100>> <<set $hostage.counter.anal += 100>> <<set $hostage.counter.mammary += 100>> - <<set $activeSlave.bellySag = 5, $activeSlave.bellySagPreg = 5>> + <<set $hostage.bellySag = 5, $hostage.bellySagPreg = 5>> <</if>> giving an interview. $He gushes over how important it is for women to conceive and carry as many children as they can, as well as how terrible it is that some people strip away a woman's most important purpose. Before $he can continue, $his water breaks and $he drops to the floor. You close the video in disgust of what's coming. <<case "Gender Radicalism">> @@ -1440,6 +1513,16 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.tonguePiercing = 2>> <<set $hostage.fetish = "mindbroken">> <<set $hostage.fetishStrength = 10>> + <<set _seed = random(1,100)>> + <<if _seed < 40>> + <<run App.Medicine.Modification.addScar($hostage, "anus", "burn", 2>> + <<elseif _seed < 80>> + <<run App.Medicine.Modification.addScar($hostage, "vagina", "burn", 2>> + <<else>> + <<run App.Medicine.Modification.addScar($hostage, "anus", "burn", 2>> + <<run App.Medicine.Modification.addScar($hostage, "vagina", "burn", 2>> + <<run App.Medicine.Modification.addScar($hostage, "left cheek", "burn", 2>> + <</if>> strapped to an operating table, with surgical marks on $his bare arms and legs. $His face contorts into absolute horror as $he hears the running saw lowering towards $his right arm. As it makes contact, $his mouth opens wide in a silent scream, ceasing only once $his arm is severed completely. As it comes into contact with $his other arm, $his silent screams stop completely, $his mind having completely shattered. You end the video early, disgusted by what you just saw. <<case "Degradationism">> <<set $hostage.counter.vaginal += 1>>