From 32e159b6fbe9f4de38684eb3691f0fb26575f358 Mon Sep 17 00:00:00 2001 From: DCoded <dicoded@email.com> Date: Sun, 15 Aug 2021 22:00:14 -0400 Subject: [PATCH] Paraphilias can now be trained again --- src/player/personalAttentionSelect.js | 132 +++++++++++++------------- 1 file changed, 68 insertions(+), 64 deletions(-) diff --git a/src/player/personalAttentionSelect.js b/src/player/personalAttentionSelect.js index 69d50cd8a84..ae1c53d7eae 100644 --- a/src/player/personalAttentionSelect.js +++ b/src/player/personalAttentionSelect.js @@ -764,71 +764,75 @@ App.UI.Player.personalAttention = function() { // Paraphilias - div.append( - App.UI.DOM.makeElement("h3", `Induce a paraphilia`), - App.UI.DOM.makeElement("div", `Paraphilias can be induced from a strong fetish.`, ['note']), - ); + App.UI.DOM.appendNewElement("h3", div, `Induce a paraphilia`); + + if (slave.fetishStrength >= 95) { + addLinks( + slave, + regimen, + links, + i, + { + fetish: "cumslut", + flaw: "cum addict", + type: "induce cum addiction", + link: `Cum addiction`, + }, + { + fetish: "buttslut", + flaw: "anal addict", + type: "induce anal addiction", + link: `Anal addiction`, + }, + { + fetish: "humiliation", + flaw: "attention whore", + type: "induce attention whoring", + link: `Attention whoring`, + }, + { + fetish: "boobs", + flaw: "breast growth", + type: "induce breast growth obsession", + link: `Breast growth obsession`, + }, + { + fetish: "dom", + flaw: "abusive", + type: "induce abusiveness", + link: `Abusiveness`, + }, + { + fetish: "sadist", + flaw: "malicious", + type: "induce maliciousness", + link: `Maliciousness`, + }, + { + fetish: "masochist", + flaw: "self hating", + type: "induce self hatred", + link: `Self hatred`, + }, + { + fetish: "submissive", + flaw: "neglectful", + type: "induce sexual self neglect", + link: `Sexual self neglect`, + }, + { + fetish: "pregnancy", + flaw: "breeder", + type: "induce breeding obsession", + link: `Breeding obsession`, + }, + ); - addLinks( - slave, - regimen, - links, - i, - { - fetish: "cumslut", - flaw: "cum addict", - type: "induce cum addiction", - link: `Cum addiction`, - }, - { - fetish: "buttslut", - flaw: "anal addict", - type: "induce anal addiction", - link: `Anal addiction`, - }, - { - fetish: "humiliation", - flaw: "attention whore", - type: "induce attention whoring", - link: `Attention whoring`, - }, - { - fetish: "boobs", - flaw: "breast growth", - type: "induce breast growth obsession", - link: `Breast growth obsession`, - }, - { - fetish: "dom", - flaw: "abusive", - type: "induce abusiveness", - link: `Abusiveness`, - }, - { - fetish: "sadist", - flaw: "malicious", - type: "induce maliciousness", - link: `Maliciousness`, - }, - { - fetish: "masochist", - flaw: "self hating", - type: "induce self hatred", - link: `Self hatred`, - }, - { - fetish: "submissive", - flaw: "neglectful", - type: "induce sexual self neglect", - link: `Sexual self neglect`, - }, - { - fetish: "pregnancy", - flaw: "breeder", - type: "induce breeding obsession", - link: `Breeding obsession`, - }, - ); + App.UI.DOM.appendNewElement("div", div, App.UI.DOM.generateLinksStrip(links), ['margin-left']); + links = []; + } else { + App.UI.DOM.appendNewElement("div", div, `Paraphilias can be induced from a strong fetish.`, ['note', 'margin-left']); + } } } -- GitLab