diff --git a/src/js/DefaultRules.tw b/src/js/DefaultRules.tw index 6360fd160e612030e4d615146c5d145ea85cdafb..6627ed3f8f11272d6e8800af32f53cc959dc3290 100644 --- a/src/js/DefaultRules.tw +++ b/src/js/DefaultRules.tw @@ -45,6 +45,11 @@ window.DefaultRules = (function() { ProcessDietCum(slave, rule) ProcessDietMilk(slave, rule) ProcessTeeth(slave, rule) + ProcessStyle(slave, rule) + ProcessPiercings(slave, rule) + ProcessSmartPiercings(slave, rule) + ProcessTattoos(slave, rule) + ProcessPorn(slave, rule) return r } @@ -1682,502 +1687,505 @@ window.DefaultRules = (function() { } function ProcessTeeth(slave, rule) { + if ((rule.teeth !== undefined) && (rule.teeth !== "no default setting")) { + if ((rule.teeth == "universal")) { + if ((slave.teeth == "crooked")) { + slave.teeth = "straightening braces" + V.cash -= V.surgeryCost + r += `<br>${slave.slaveName} has been given braces for her crooked teeth.` + } else if ((slave.teeth == "normal")) { + slave.teeth = "cosmetic braces" + V.cash -= V.surgeryCost + r += `<br>${slave.slaveName} has been given cosmetic braces.` + } + } else if ((rule.teeth == "straighten")) { + if ((slave.teeth == "crooked")) { + slave.teeth = "straightening braces" + V.cash -= V.surgeryCost + r += `<br>${slave.slaveName} has been given braces for her crooked teeth.` + } else if ((slave.teeth == "cosmetic braces")) { + slave.teeth = "normal" + r += `<br>${slave.slaveName} has gotten her braces off, since her teeth are straight.` + } + } else if ((rule.teeth == "none")) { + if ((slave.teeth == "straightening braces")) { + slave.teeth = "crooked" + r += `<br>${slave.slaveName} has gotten her braces off.` + } else if ((slave.teeth == "cosmetic braces")) { + slave.teeth = "normal" + r += `<br>${slave.slaveName} has gotten her braces off.` + } + } + } + } + + function ProcessStyle(slave, rule) { + if (rule.eyeColor !== undefined && (rule.eyeColor !== "no default setting")) { + if ((slave.eyeColor !== rule.eyeColor)) { + slave.eyeColor = rule.eyeColor + V.cash -= V.modCost + r += `<br>${slave.slaveName} has been given ${slave.eyeColor} contact lenses.` + } + } + + if (rule.makeup !== undefined && (rule.makeup !== "no default setting")) { + if ((slave.makeup !== rule.makeup)) { + slave.makeup = rule.makeup + V.cash -= V.modCost + r += `<br>${slave.slaveName} has been assigned the standard makeup.` + } + } + + if ((slave.amp != 1)) { + if (rule.nails !== undefined && (rule.nails !== "no default setting")) { + if ((slave.nails !== rule.nails)) { + slave.nails = rule.nails + V.cash -= V.modCost + r += `<br>${slave.slaveName} has been assigned the standard nails.` + } + } + } + + if (rule.hColor !== undefined && (rule.hColor !== "no default setting")) { + if (slave.bald != 1) { + if ((slave.hColor !== rule.hColor)) { + slave.hColor = rule.hColor + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s hair has been dyed ${rule.hColor}.` + } + } + } + + if (rule.hStyle !== undefined && (rule.hStyle !== "no default setting")) { + if (slave.bald != 1) { + if ((slave.hStyle !== rule.hStyle)) { + slave.hStyle = rule.hStyle + V.cash -= V.modCost + if ((rule.hStyle == "shaved")) { + slave.hLength = 0 + r += `<br>${slave.slaveName}'s hair has been shaved.` + } else + r += `<br>${slave.slaveName}'s hair has been restyled.` + } + } + } + + if (rule.hLength !== undefined && (rule.hLength !== "no default setting")) { + if (slave.bald != 1) { + if ((slave.hLength !== rule.hLength)) { + if ((slave.hLength > rule.hLength)) { + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s hair has been cut; it ` + } else { + V.cash -= V.modCost*Math.trunc((rule.hLength-slave.hLength)/10) + r += `<br>${slave.slaveName} has been given extensions; her hair ` + } + r += `is now rule.hLength cm long.` + slave.hLength = rule.hLength + } + } + } + + if (rule.pubicHColor !== undefined && (rule.pubicHColor !== "no default setting")) { + if (slave.pubicHStyle != "bald" && slave.pubicHStyle != "hairless") { + if ((slave.pubicHColor !== rule.pubicHColor)) { + slave.pubicHColor = rule.pubicHColor + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s pubic hair, if present, has been dyed ${rule.pubicHColor}.` + } + } + } + + if (rule.pubicHStyle !== undefined && (rule.pubicHStyle !== "no default setting")) { + if (slave.pubicHStyle != "bald" && slave.pubicHStyle != "hairless") { + if ((slave.pubicHStyle !== rule.pubicHStyle)) { + slave.pubicHStyle = rule.pubicHStyle + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s pubic hair has been restyled; it is now ${rule.pubicHStyle}.` + } + } + } + + if (rule.underArmHColor !== undefined && (rule.underArmHColor !== "no default setting")) { + if (slave.underArmHStyle != "bald" && slave.underArmHStyle != "hairless") { + if ((slave.underArmHColor !== rule.underArmHColor)) { + slave.underArmHColor = rule.underArmHColor + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s underarm hair, if present, has been dyed ${rule.underArmHColor}.` + } + } + } + + if (rule.underArmHStyle !== undefined && (rule.underArmHStyle !== "no default setting")) { + if (slave.underArmHStyle != "bald" && slave.underArmHStyle != "hairless") { + if ((slave.underArmHStyle !== rule.underArmHStyle)) { + slave.underArmHStyle = rule.underArmHStyle + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s underarm hair has been restyled; it is now ${rule.underArmHStyle}.` + } + } + } + } + + function ProcessPiercings(slave, rule) { + if (rule.nipplesPiercing !== undefined && (rule.nipplesPiercing !== "no default setting")) { + if ((slave.nipplesPiercing !== rule.nipplesPiercing)) { + if ((rule.nipplesPiercing == 0)) { + slave.nipplesPiercing = 0 + r += `<br>${slave.slaveName}'s nipple piercings have been removed.` + } else { + slave.nipplesPiercing = rule.nipplesPiercing + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s nipples have been pierced.` + } + } + } + + if (rule.areolaePiercing !== undefined && (rule.areolaePiercing !== "no default setting")) { + if ((slave.areolaePiercing !== rule.areolaePiercing)) { + if ((rule.areolaePiercing == 0)) { + slave.areolaePiercing = 0 + r += `<br>${slave.slaveName}'s areolae piercings have been removed.` + } else { + slave.areolaePiercing = rule.areolaePiercing + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s areolae have been given stud piercings.` + } + } + } + + if (rule.clitPiercing !== undefined && (rule.clitPiercing !== "no default setting")) { + if ((slave.clitPiercing !== rule.clitPiercing)) { + if ((rule.clitPiercing == 0)) { + slave.clitPiercing = 0 + if (slave.dick > 0) + r += `<br>${slave.slaveName}'s frenulum piercing has been removed.` + else + r += `<br>${slave.slaveName}'s clit piercing has been removed.` + + } else if ((slave.vagina != -1) || (slave.dick != 0)) { + slave.clitPiercing = rule.clitPiercing + if (slave.dick > 0) + r += `<br>${slave.slaveName}'s frenulum has been pierced.` + else + r += `<br>${slave.slaveName}'s clit has been pierced.` + + if (rule.clitPiercing == 3) + V.cash -= 1000 + else + V.cash -= V.modCost + } + } + } + + if ((slave.vagina != -1)) { + if (rule.vaginaPiercing !== undefined && (rule.vaginaPiercing !== "no default setting")) { + if ((slave.vaginaPiercing !== rule.vaginaPiercing)) { + if ((rule.vaginaPiercing == 0)) { + slave.vaginaPiercing = 0 + r += `<br>${slave.slaveName}'s labia piercings have been removed.` + } else { + slave.vaginaPiercing = rule.vaginaPiercing + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s pussylips have been pierced.` + } + } + } + } + + if ((slave.dick > 0)) { + if (rule.dickPiercing !== undefined && (rule.dickPiercing !== "no default setting")) { + if ((slave.dickPiercing !== rule.dickPiercing)) { + if ((rule.dickPiercing == 0)) { + slave.dickPiercing = 0 + r += `<br>${slave.slaveName}'s shaft piercings have been removed.` + } else { + slave.dickPiercing = rule.dickPiercing + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s shaft has been pierced.` + } + } + } + } + + if (rule.anusPiercing !== undefined && (rule.anusPiercing !== "no default setting")) { + if ((slave.anusPiercing !== rule.anusPiercing)) { + if ((rule.anusPiercing == 0)) { + slave.anusPiercing = 0 + r += `<br>${slave.slaveName}'s asshole piercings have been removed.` + } else { + slave.anusPiercing = rule.anusPiercing + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s asshole has been pierced.` + } + } + } + + if (rule.lipsPiercing !== undefined && (rule.lipsPiercing !== "no default setting")) { + if ((slave.lipsPiercing !== rule.lipsPiercing)) { + if ((rule.lipsPiercing == 0)) { + slave.lipsPiercing = 0 + r += `<br>${slave.slaveName}'s lip piercings have been removed.` + } else { + slave.lipsPiercing = rule.lipsPiercing + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s lips have been pierced.` + } + } + } + + if (rule.tonguePiercing !== undefined && (rule.tonguePiercing !== "no default setting")) { + if ((slave.tonguePiercing !== rule.tonguePiercing)) { + if ((rule.tonguePiercing == 0)) { + slave.tonguePiercing = 0 + r += `<br>${slave.slaveName}'s tongue piercings have been removed.` + } else { + slave.tonguePiercing = rule.tonguePiercing + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s tongue has been pierced.` + } + } + } + + if (rule.earPiercing !== undefined && (rule.earPiercing !== "no default setting")) { + if ((slave.earPiercing !== rule.earPiercing)) { + if ((rule.earPiercing == 0)) { + slave.earPiercing = 0 + r += `<br>${slave.slaveName}'s ear piercings have been removed.` + } else { + slave.earPiercing = rule.earPiercing + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s ears have been pierced.` + } + } + } + + if (rule.nosePiercing !== undefined && (rule.nosePiercing !== "no default setting")) { + if ((slave.nosePiercing !== rule.nosePiercing)) { + if ((rule.nosePiercing == 0)) { + slave.nosePiercing = 0 + r += `<br>${slave.slaveName}'s nose piercing has been removed.` + } else { + slave.nosePiercing = rule.nosePiercing + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s nose has been pierced.` + } + } + } + + if (rule.eyebrowPiercing !== undefined && (rule.eyebrowPiercing !== "no default setting")) { + if ((slave.eyebrowPiercing !== rule.eyebrowPiercing)) { + if ((rule.eyebrowPiercing == 0)) { + slave.eyebrowPiercing = 0 + r += `<br>${slave.slaveName}'s eyebrow piercings have been removed.` + } else { + slave.eyebrowPiercing = rule.eyebrowPiercing + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s eyebrows have been pierced.` + } + } + } + + if (rule.navelPiercing !== undefined && (rule.navelPiercing !== "no default setting")) { + if ((slave.navelPiercing !== rule.navelPiercing)) { + if ((rule.navelPiercing == 0)) { + slave.navelPiercing = 0 + r += `<br>${slave.slaveName}'s navel piercing have been removed.` + } else { + slave.navelPiercing = rule.navelPiercing + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s navel has been pierced.` + } + } + } + + if (rule.corsetPiercing !== undefined && (rule.corsetPiercing !== "no default setting")) { + if ((slave.corsetPiercing !== rule.corsetPiercing)) { + if ((rule.corsetPiercing == 0)) { + slave.corsetPiercing = 0 + r += `<br>${slave.slaveName}'s corset piercings have been removed.` + } else { + slave.corsetPiercing = rule.corsetPiercing + V.cash -= V.modCost + r += `<br>${slave.slaveName} has been given a set of corset piercings.` + } + } + } + } + + function ProcessSmartPiercings(slave, rule) { + if ((slave.clitPiercing == 3)) { + let _used = 0 + if (rule.clitSetting !== undefined && (rule.clitSetting !== "no default setting")) { + if (slave.clitSetting !== rule.clitSetting) { + slave.clitSetting = rule.clitSetting + _used = 1 + r += `<br>${slave.slaveName}'s smart piercing has been set to slave.clitSetting.` + } else if (slave.fetishStrength < 100) { + _used = 1 + } + } + if (_used == 0) { + if (rule.clitSettingEnergy !== undefined && (rule.clitSettingEnergy !== "no default setting")) { + if (slave.energy < rule.clitSettingEnergy) { + if (slave.clitSetting !== "all") { + r += `<br>${slave.slaveName}'s smart piercing has been set to enhance libido.` + } + slave.clitSetting = "all" + _used = 1 + } else if (slave.energy >= rule.clitSettingEnergy + 10) { + if (slave.clitSetting !== "none") { + r += `<br>${slave.slaveName}'s smart piercing has been set to suppress libido.` + } + slave.clitSetting = "none" + _used = 1 + } + } + } + if (_used == 0) { + if (rule.clitSettingXY !== undefined && (rule.clitSettingXY !== "no default setting")) { + if (slave.attrXY < rule.clitSettingXY) { + if (slave.clitSetting !== "men") { + r += `<br>${slave.slaveName}'s smart piercing has been set to encourage attraction to men.` + } + slave.clitSetting = "men" + _used = 1 + } else if (slave.attrXY >= rule.clitSettingXY + 10) { + if (slave.clitSetting !== "anti-men") { + r += `<br>${slave.slaveName}'s smart piercing has been set to discourage attraction to men.` + } + slave.clitSetting = "anti-men" + _used = 1 + } + } + } + if (_used == 0) { + if (rule.clitSettingXX !== undefined && (rule.clitSettingXX !== "no default setting")) { + if (slave.attrXX < rule.clitSettingXX) { + if (slave.clitSetting !== "women") { + r += `<br>${slave.slaveName}'s smart piercing has been set to encourage attraction to women.` + } + slave.clitSetting = "women" + _used = 1 + } else if (slave.attrXX >= rule.clitSettingXX + 10) { + if (slave.clitSetting !== "anti-women") { + r += `<br>${slave.slaveName}'s smart piercing has been set to discourage attraction to women.` + } + slave.clitSetting = "anti-women" + _used = 1 + } + } + } + } + } + + function ProcessTattoos(slave, rule) { + if (rule.boobsTat !== undefined && (rule.boobsTat !== "no default setting")) { + if ((slave.boobsTat !== rule.boobsTat)) { + slave.boobsTat = rule.boobsTat + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s chest has been tattooed.` + } + } + + if (rule.buttTat !== undefined && (rule.buttTat !== "no default setting")) { + if ((slave.buttTat !== rule.buttTat)) { + slave.buttTat = rule.buttTat + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s butt has been tattooed.` + } + } + + if (rule.vaginaTat !== undefined && (rule.vaginaTat !== "no default setting")) { + if ((slave.vaginaTat !== rule.vaginaTat)) { + slave.vaginaTat = rule.vaginaTat + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s abdomen has been tattooed.` + } + } + + if ((slave.dick > 0)) { + if (rule.dickTat !== undefined && (rule.dickTat !== "no default setting")) { + if ((slave.dickTat !== rule.dickTat)) { + slave.dickTat = rule.dickTat + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s dick has been tattooed.` + } + } + } + + if (rule.lipsTat !== undefined && (rule.lipsTat !== "no default setting")) { + if ((slave.lipsTat !== rule.lipsTat)) { + slave.lipsTat = rule.lipsTat + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s face has been tattooed.` + } + } + + if (rule.anusTat !== undefined && (rule.anusTat !== "no default setting")) { + if ((slave.anusTat !== rule.anusTat)) { + slave.anusTat = rule.anusTat + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s asshole has been modded.` + } + } + + if (rule.shouldersTat !== undefined && (rule.shouldersTat !== "no default setting")) { + if ((slave.shouldersTat !== rule.shouldersTat)) { + slave.shouldersTat = rule.shouldersTat + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s shoulders have been tattooed.` + } + } + + if (rule.armsTat !== undefined && (rule.armsTat !== "no default setting")) { + if ((slave.armsTat !== rule.armsTat)) { + slave.armsTat = rule.armsTat + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s arms have been tattooed.` + } + } + + if (rule.legsTat !== undefined && (rule.legsTat !== "no default setting")) { + if ((slave.legsTat !== rule.legsTat)) { + slave.legsTat = rule.legsTat + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s legs have been tattooed.` + } + } + + if (rule.stampTat !== undefined && (rule.stampTat !== "no default setting")) { + if ((slave.stampTat !== rule.stampTat)) { + slave.stampTat = rule.stampTat + V.cash -= V.modCost + r += `<br>${slave.slaveName}'s lower back has been tattooed.` + } + } + if ((rule.autoBrand == 1)) { + if ((slave.brand == 0)) { + if ((slave.health > -20)) { + slave.brand = $brandDesign + slave.brandLocation = $brandTarget + if ((slave.devotion < 18)) + slave.devotion -= 5 + slave.trust -= 5 + slave.health -= 10 + r += `<br>${slave.slaveName} has been branded, with <span class="gold">fear</span>${slave.devotion < 18? `, <span class="mediumorchid">regard,</span>`:``} and <span class="red">health</span> consequences.` + } + } + } + } + + function ProcessPorn(slave, rule) { + if ((rule.pornFameSpending !== undefined) && (rule.pornFameSpending !== "no default setting")) { + if ((slave.prestige < 3)) { + if ((slave.pornFameSpending !== rule.pornFameSpending)) { + slave.pornFameSpending = rule.pornFameSpending + r += `<br>${slave.slaveName}'s porn publicity has been corrected.` + } + } + } } return DefaultRules })() - -// -// Call as <<DefaultRules SlaveObject>> -// Does not use or modify $currentRule -/* -<<widget "DefaultRules">> - <<if (def _combinedRule.clothes)>> - - <<if (def _combinedRule.teeth) && (_combinedRule.teeth !== "no default setting")>> - <<if (_combinedRule.teeth == "universal")>> - <<if ($args[0].teeth == "crooked")>> - <<set $args[0].teeth = "straightening braces">> - <<set $cash -= $surgeryCost>> - <br>$args[0].slaveName has been given braces for her crooked teeth. - <<elseif ($args[0].teeth == "normal")>> - <<set $args[0].teeth = "cosmetic braces">> - <<set $cash -= $surgeryCost>> - <br>$args[0].slaveName has been given cosmetic braces. - <</if>> - <<elseif (_combinedRule.teeth == "straighten")>> - <<if ($args[0].teeth == "crooked")>> - <<set $args[0].teeth = "straightening braces">> - <<set $cash -= $surgeryCost>> - <br>$args[0].slaveName has been given braces for her crooked teeth. - <<elseif ($args[0].teeth == "cosmetic braces")>> - <<set $args[0].teeth = "normal">> - <br>$args[0].slaveName has gotten her braces off, since her teeth are straight. - <</if>> - <<elseif (_combinedRule.teeth == "none")>> - <<if ($args[0].teeth == "straightening braces")>> - <<set $args[0].teeth = "crooked">> - <br>$args[0].slaveName has gotten her braces off. - <<elseif ($args[0].teeth == "cosmetic braces")>> - <<set $args[0].teeth = "normal">> - <br>$args[0].slaveName has gotten her braces off. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.eyeColor) && (_combinedRule.eyeColor !== "no default setting")>> - <<if ($args[0].eyeColor !== _combinedRule.eyeColor)>> - <<set $args[0].eyeColor = _combinedRule.eyeColor>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName has been given $args[0].eyeColor contact lenses. - <</if>> - <</if>> - - <<if (def _combinedRule.makeup) && (_combinedRule.makeup !== "no default setting")>> - <<if ($args[0].makeup !== _combinedRule.makeup)>> - <<set $args[0].makeup = _combinedRule.makeup>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName has been assigned the standard makeup. - <</if>> - <</if>> - - <<if ($args[0].amp != 1)>> - <<if (def _combinedRule.nails) && (_combinedRule.nails !== "no default setting")>> - <<if ($args[0].nails !== _combinedRule.nails)>> - <<set $args[0].nails = _combinedRule.nails>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName has been assigned the standard nails. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.hColor) && (_combinedRule.hColor !== "no default setting")>> - <<if $args[0].bald != 1>> - <<if ($args[0].hColor !== _combinedRule.hColor)>> - <<set $args[0].hColor = _combinedRule.hColor>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's hair has been dyed _combinedRule.hColor. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.hStyle) && (_combinedRule.hStyle !== "no default setting")>> - <<if $args[0].bald != 1>> - <<if ($args[0].hStyle !== _combinedRule.hStyle)>> - <<set $args[0].hStyle = _combinedRule.hStyle>> - <<set $cash -= $modCost>> - <<if (_combinedRule.hStyle == "shaved")>> - <<set $args[0].hLength = 0>> - <br>$args[0].slaveName's hair has been shaved. - <<else>> - <br>$args[0].slaveName's hair has been restyled. - <</if>> - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.hLength) && (_combinedRule.hLength !== "no default setting")>> - <<if $args[0].bald != 1>> - <<if ($args[0].hLength !== _combinedRule.hLength)>> - <<if ($args[0].hLength > _combinedRule.hLength)>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's hair has been cut; it - <<else>> - <<set $cash -= $modCost*Math.trunc((_combinedRule.hLength-$args[0].hLength)/10)>> - <br>$args[0].slaveName has been given extensions; her hair - <</if>> - is now _combinedRule.hLength cm long. - <<set $args[0].hLength = _combinedRule.hLength>> - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.pubicHColor) && (_combinedRule.pubicHColor !== "no default setting")>> - <<if $args[0].pubicHStyle != "bald" && $args[0].pubicHStyle != "hairless">> - <<if ($args[0].pubicHColor !== _combinedRule.pubicHColor)>> - <<set $args[0].pubicHColor = _combinedRule.pubicHColor>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's pubic hair, if present, has been dyed _combinedRule.pubicHColor. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.pubicHStyle) && (_combinedRule.pubicHStyle !== "no default setting")>> - <<if $args[0].pubicHStyle != "bald" && $args[0].pubicHStyle != "hairless">> - <<if ($args[0].pubicHStyle !== _combinedRule.pubicHStyle)>> - <<set $args[0].pubicHStyle = _combinedRule.pubicHStyle>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's pubic hair has been restyled; it is now _combinedRule.pubicHStyle. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.underArmHColor) && (_combinedRule.underArmHColor !== "no default setting")>> - <<if $args[0].underArmHStyle != "bald" && $args[0].underArmHStyle != "hairless">> - <<if ($args[0].underArmHColor !== _combinedRule.underArmHColor)>> - <<set $args[0].underArmHColor = _combinedRule.underArmHColor>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's underarm hair, if present, has been dyed _combinedRule.underArmHColor. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.underArmHStyle) && (_combinedRule.underArmHStyle !== "no default setting")>> - <<if $args[0].underArmHStyle != "bald" && $args[0].underArmHStyle != "hairless">> - <<if ($args[0].underArmHStyle !== _combinedRule.underArmHStyle)>> - <<set $args[0].underArmHStyle = _combinedRule.underArmHStyle>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's underarm hair has been restyled; it is now _combinedRule.underArmHStyle. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.nipplesPiercing) && (_combinedRule.nipplesPiercing !== "no default setting")>> - <<if ($args[0].nipplesPiercing !== _combinedRule.nipplesPiercing)>> - <<if (_combinedRule.nipplesPiercing == 0)>> - <<set $args[0].nipplesPiercing = 0>> - <br>$args[0].slaveName's nipple piercings have been removed. - <<else>> - <<set $args[0].nipplesPiercing = _combinedRule.nipplesPiercing>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's nipples have been pierced. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.areolaePiercing) && (_combinedRule.areolaePiercing !== "no default setting")>> - <<if ($args[0].areolaePiercing !== _combinedRule.areolaePiercing)>> - <<if (_combinedRule.areolaePiercing == 0)>> - <<set $args[0].areolaePiercing = 0>> - <br>$args[0].slaveName's areolae piercings have been removed. - <<else>> - <<set $args[0].areolaePiercing = _combinedRule.areolaePiercing>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's areolae have been given stud piercings. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.clitPiercing) && (_combinedRule.clitPiercing !== "no default setting")>> - <<if ($args[0].clitPiercing !== _combinedRule.clitPiercing)>> - <<if (_combinedRule.clitPiercing == 0)>> - <<set $args[0].clitPiercing = 0>> - <<if $args[0].dick > 0>> - <br>$args[0].slaveName's frenulum piercing has been removed. - <<else>> - <br>$args[0].slaveName's clit piercing has been removed. - <</if>> - - <<elseif ($args[0].vagina != -1) || ($args[0].dick != 0)>> - <<set $args[0].clitPiercing = _combinedRule.clitPiercing>> - <<if $args[0].dick > 0>> - <br>$args[0].slaveName's frenulum has been pierced. - <<else>> - <br>$args[0].slaveName's clit has been pierced. - <</if>> - <<if _combinedRule.clitPiercing == 3>> - <<set $cash -= 1000>> - <<else>> - <<set $cash -= $modCost>> - <</if>> - <</if>> - <</if>> - <</if>> - - <<if ($args[0].clitPiercing == 3)>> - <<set _used = 0>> - <<if (def _combinedRule.clitSetting) && (_combinedRule.clitSetting !== "no default setting")>> - <<if $args[0].clitSetting !== _combinedRule.clitSetting>> - <<set $args[0].clitSetting = _combinedRule.clitSetting, _used = 1>> - <br>$args[0].slaveName's smart piercing has been set to $args[0].clitSetting. - <<elseif $args[0].fetishStrength < 100>> - <<set _used = 1>> - <</if>> - <</if>> - <<if _used == 0>> - <<if (def _combinedRule.clitSettingEnergy) && (_combinedRule.clitSettingEnergy !== "no default setting")>> - <<if $args[0].energy < _combinedRule.clitSettingEnergy>> - <<if $args[0].clitSetting !== "all">> - <br>$args[0].slaveName's smart piercing has been set to enhance libido. - <</if>> - <<set $args[0].clitSetting = "all", _used = 1>> - <<elseif $args[0].energy >= _combinedRule.clitSettingEnergy + 10>> - <<if $args[0].clitSetting !== "none">> - <br>$args[0].slaveName's smart piercing has been set to suppress libido. - <</if>> - <<set $args[0].clitSetting = "none", _used = 1>> - <</if>> - <</if>> - <</if>> - <<if _used == 0>> - <<if (def _combinedRule.clitSettingXY) && (_combinedRule.clitSettingXY !== "no default setting")>> - <<if $args[0].attrXY < _combinedRule.clitSettingXY>> - <<if $args[0].clitSetting !== "men">> - <br>$args[0].slaveName's smart piercing has been set to encourage attraction to men. - <</if>> - <<set $args[0].clitSetting = "men", _used = 1>> - <<elseif $args[0].attrXY >= _combinedRule.clitSettingXY + 10>> - <<if $args[0].clitSetting !== "anti-men">> - <br>$args[0].slaveName's smart piercing has been set to discourage attraction to men. - <</if>> - <<set $args[0].clitSetting = "anti-men", _used = 1>> - <</if>> - <</if>> - <</if>> - <<if _used == 0>> - <<if (def _combinedRule.clitSettingXX) && (_combinedRule.clitSettingXX !== "no default setting")>> - <<if $args[0].attrXX < _combinedRule.clitSettingXX>> - <<if $args[0].clitSetting !== "women">> - <br>$args[0].slaveName's smart piercing has been set to encourage attraction to women. - <</if>> - <<set $args[0].clitSetting = "women", _used = 1>> - <<elseif $args[0].attrXX >= _combinedRule.clitSettingXX + 10>> - <<if $args[0].clitSetting !== "anti-women">> - <br>$args[0].slaveName's smart piercing has been set to discourage attraction to women. - <</if>> - <<set $args[0].clitSetting = "anti-women", _used = 1>> - <</if>> - <</if>> - <</if>> - <</if>> - - <<if ($args[0].vagina != -1)>> - <<if (def _combinedRule.vaginaPiercing) && (_combinedRule.vaginaPiercing !== "no default setting")>> - <<if ($args[0].vaginaPiercing !== _combinedRule.vaginaPiercing)>> - <<if (_combinedRule.vaginaPiercing == 0)>> - <<set $args[0].vaginaPiercing = 0>> - <br>$args[0].slaveName's labia piercings have been removed. - <<else>> - <<set $args[0].vaginaPiercing = _combinedRule.vaginaPiercing>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's pussylips have been pierced. - <</if>> - <</if>> - <</if>> - <</if>> - - <<if ($args[0].dick > 0)>> - <<if (def _combinedRule.dickPiercing) && (_combinedRule.dickPiercing !== "no default setting")>> - <<if ($args[0].dickPiercing !== _combinedRule.dickPiercing)>> - <<if (_combinedRule.dickPiercing == 0)>> - <<set $args[0].dickPiercing = 0>> - <br>$args[0].slaveName's shaft piercings have been removed. - <<else>> - <<set $args[0].dickPiercing = _combinedRule.dickPiercing>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's shaft has been pierced. - <</if>> - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.anusPiercing) && (_combinedRule.anusPiercing !== "no default setting")>> - <<if ($args[0].anusPiercing !== _combinedRule.anusPiercing)>> - <<if (_combinedRule.anusPiercing == 0)>> - <<set $args[0].anusPiercing = 0>> - <br>$args[0].slaveName's asshole piercings have been removed. - <<else>> - <<set $args[0].anusPiercing = _combinedRule.anusPiercing>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's asshole has been pierced. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.lipsPiercing) && (_combinedRule.lipsPiercing !== "no default setting")>> - <<if ($args[0].lipsPiercing !== _combinedRule.lipsPiercing)>> - <<if (_combinedRule.lipsPiercing == 0)>> - <<set $args[0].lipsPiercing = 0>> - <br>$args[0].slaveName's lip piercings have been removed. - <<else>> - <<set $args[0].lipsPiercing = _combinedRule.lipsPiercing>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's lips have been pierced. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.tonguePiercing) && (_combinedRule.tonguePiercing !== "no default setting")>> - <<if ($args[0].tonguePiercing !== _combinedRule.tonguePiercing)>> - <<if (_combinedRule.tonguePiercing == 0)>> - <<set $args[0].tonguePiercing = 0>> - <br>$args[0].slaveName's tongue piercings have been removed. - <<else>> - <<set $args[0].tonguePiercing = _combinedRule.tonguePiercing>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's tongue has been pierced. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.earPiercing) && (_combinedRule.earPiercing !== "no default setting")>> - <<if ($args[0].earPiercing !== _combinedRule.earPiercing)>> - <<if (_combinedRule.earPiercing == 0)>> - <<set $args[0].earPiercing = 0>> - <br>$args[0].slaveName's ear piercings have been removed. - <<else>> - <<set $args[0].earPiercing = _combinedRule.earPiercing>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's ears have been pierced. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.nosePiercing) && (_combinedRule.nosePiercing !== "no default setting")>> - <<if ($args[0].nosePiercing !== _combinedRule.nosePiercing)>> - <<if (_combinedRule.nosePiercing == 0)>> - <<set $args[0].nosePiercing = 0>> - <br>$args[0].slaveName's nose piercing has been removed. - <<else>> - <<set $args[0].nosePiercing = _combinedRule.nosePiercing>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's nose has been pierced. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.eyebrowPiercing) && (_combinedRule.eyebrowPiercing !== "no default setting")>> - <<if ($args[0].eyebrowPiercing !== _combinedRule.eyebrowPiercing)>> - <<if (_combinedRule.eyebrowPiercing == 0)>> - <<set $args[0].eyebrowPiercing = 0>> - <br>$args[0].slaveName's eyebrow piercings have been removed. - <<else>> - <<set $args[0].eyebrowPiercing = _combinedRule.eyebrowPiercing>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's eyebrows have been pierced. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.navelPiercing) && (_combinedRule.navelPiercing !== "no default setting")>> - <<if ($args[0].navelPiercing !== _combinedRule.navelPiercing)>> - <<if (_combinedRule.navelPiercing == 0)>> - <<set $args[0].navelPiercing = 0>> - <br>$args[0].slaveName's navel piercing have been removed. - <<else>> - <<set $args[0].navelPiercing = _combinedRule.navelPiercing>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's navel has been pierced. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.corsetPiercing) && (_combinedRule.corsetPiercing !== "no default setting")>> - <<if ($args[0].corsetPiercing !== _combinedRule.corsetPiercing)>> - <<if (_combinedRule.corsetPiercing == 0)>> - <<set $args[0].corsetPiercing = 0>> - <br>$args[0].slaveName's corset piercings have been removed. - <<else>> - <<set $args[0].corsetPiercing = _combinedRule.corsetPiercing>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName has been given a set of corset piercings. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.boobsTat) && (_combinedRule.boobsTat !== "no default setting")>> - <<if ($args[0].boobsTat !== _combinedRule.boobsTat)>> - <<set $args[0].boobsTat = _combinedRule.boobsTat>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's chest has been tattooed. - <</if>> - <</if>> - - <<if (def _combinedRule.buttTat) && (_combinedRule.buttTat !== "no default setting")>> - <<if ($args[0].buttTat !== _combinedRule.buttTat)>> - <<set $args[0].buttTat = _combinedRule.buttTat>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's butt has been tattooed. - <</if>> - <</if>> - - <<if (def _combinedRule.vaginaTat) && (_combinedRule.vaginaTat !== "no default setting")>> - <<if ($args[0].vaginaTat !== _combinedRule.vaginaTat)>> - <<set $args[0].vaginaTat = _combinedRule.vaginaTat>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's abdomen has been tattooed. - <</if>> - <</if>> - - <<if ($args[0].dick > 0)>> - <<if (def _combinedRule.dickTat) && (_combinedRule.dickTat !== "no default setting")>> - <<if ($args[0].dickTat !== _combinedRule.dickTat)>> - <<set $args[0].dickTat = _combinedRule.dickTat>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's dick has been tattooed. - <</if>> - <</if>> - <</if>> - - <<if (def _combinedRule.lipsTat) && (_combinedRule.lipsTat !== "no default setting")>> - <<if ($args[0].lipsTat !== _combinedRule.lipsTat)>> - <<set $args[0].lipsTat = _combinedRule.lipsTat>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's face has been tattooed. - <</if>> - <</if>> - - <<if (def _combinedRule.anusTat) && (_combinedRule.anusTat !== "no default setting")>> - <<if ($args[0].anusTat !== _combinedRule.anusTat)>> - <<set $args[0].anusTat = _combinedRule.anusTat>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's asshole has been modded. - <</if>> - <</if>> - - <<if (def _combinedRule.shouldersTat) && (_combinedRule.shouldersTat !== "no default setting")>> - <<if ($args[0].shouldersTat !== _combinedRule.shouldersTat)>> - <<set $args[0].shouldersTat = _combinedRule.shouldersTat>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's shoulders have been tattooed. - <</if>> - <</if>> - - <<if (def _combinedRule.armsTat) && (_combinedRule.armsTat !== "no default setting")>> - <<if ($args[0].armsTat !== _combinedRule.armsTat)>> - <<set $args[0].armsTat = _combinedRule.armsTat>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's arms have been tattooed. - <</if>> - <</if>> - - <<if (def _combinedRule.legsTat) && (_combinedRule.legsTat !== "no default setting")>> - <<if ($args[0].legsTat !== _combinedRule.legsTat)>> - <<set $args[0].legsTat = _combinedRule.legsTat>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's legs have been tattooed. - <</if>> - <</if>> - - <<if (def _combinedRule.stampTat) && (_combinedRule.stampTat !== "no default setting")>> - <<if ($args[0].stampTat !== _combinedRule.stampTat)>> - <<set $args[0].stampTat = _combinedRule.stampTat>> - <<set $cash -= $modCost>> - <br>$args[0].slaveName's lower back has been tattooed. - <</if>> - <</if>> - - <<if (def _combinedRule.pornFameSpending) && (_combinedRule.pornFameSpending !== "no default setting")>> - <<if ($args[0].prestige < 3)>> - <<if ($args[0].pornFameSpending !== _combinedRule.pornFameSpending)>> - <<set $args[0].pornFameSpending = _combinedRule.pornFameSpending>> - <br>$args[0].slaveName's porn publicity has been corrected. - <</if>> - <</if>> - <</if>> - - <<if (_combinedRule.autoBrand == 1)>> - <<if ($args[0].brand == 0)>> - <<if ($args[0].health > -20)>> - <<set $args[0].brand = $brandDesign>> - <<set $args[0].brandLocation = $brandTarget>> - <<if ($args[0].devotion < 18)>><<set $args[0].devotion -= 5>><</if>> - <<set $args[0].trust -= 5>> - <<set $args[0].health -= 10>> - <br>$args[0].slaveName has been branded, with @@.gold;fear@@<<if ($args[0].devotion < 18)>>, @@.mediumorchid;regard@@,<</if>> and @@.red;health@@ consequences. - <</if>> - <</if>> - <</if>> - <</if>> // closes we have at least one non-default rule setting -<</widget>> -*/