From 7e38b58e001c8213ff742e32af085e8716602034 Mon Sep 17 00:00:00 2001
From: Anu <anulithic@gmail.com>
Date: Tue, 12 Dec 2023 00:41:34 -0800
Subject: [PATCH] fFeelings: Refactor fertility drug fetish responses to
 switch-case

---
 src/npc/interaction/fFeelings.js | 120 ++++++++++++++++++-------------
 1 file changed, 72 insertions(+), 48 deletions(-)

diff --git a/src/npc/interaction/fFeelings.js b/src/npc/interaction/fFeelings.js
index e09e9507a0c..e3965cbdf81 100644
--- a/src/npc/interaction/fFeelings.js
+++ b/src/npc/interaction/fFeelings.js
@@ -1534,34 +1534,46 @@ App.Interact.fFeelings = function(slave) {
 				case "fertility drugs":
 					if (isFertile(slave)) {
 						text.push(`${Spoken(slave, `I feel like I need to have a baby, ${Master}, like right now.`)}`);
-						if (slave.fetishKnown === 1 && slave.fetish === Fetish.SUBMISSIVE && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `I can't wait for someone to pin me down and fuck me pregnant.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.DOM && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `Makes me want to pin down a cute little`)}`);
-							if (V.seeDicks !== 0) {
-								text.push(`${Spoken(slave, `dickslave`)}`);
-							} else {
-								text.push(`${Spoken(slave, `citizen`)}`);
-							}
-							text.push(`${Spoken(slave, `and claim their sperm.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.BOOBS && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `A big round belly would be the perfect complement to a pair of juicy, leaking mommy milkers, right?`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.BUTTSLUT && slave.fetishStrength > 60) {
-							if (slave.mpreg > 0) {
-								text.push(`${Spoken(slave, `It's still hard to believe my luck that I can get knocked up back there! How about it, ${Master}?`)}`);
-							} else {
-								text.push(`${Spoken(slave, `Shame my asshole can't get knocked up, though.`)}`);
+						if (slave.fetishKnown === 1 && slave.fetishStrength > 60) {
+							switch (slave.fetish) {
+								case Fetish.SUBMISSIVE:
+									text.push(`${Spoken(slave, `I can't wait for someone to pin me down and fuck me pregnant.`)}`);
+									break;
+								case Fetish.DOM:
+									text.push(`${Spoken(slave, `Makes me want to pin down a cute little`)}`);
+									if (V.seeDicks !== 0) {
+										text.push(`${Spoken(slave, `dickslave`)}`);
+									} else {
+										text.push(`${Spoken(slave, `citizen`)}`);
+									}
+									text.push(`${Spoken(slave, `and claim their sperm.`)}`);
+									break;
+								case Fetish.BOOBS:
+									text.push(`${Spoken(slave, `A big round belly would be the perfect complement to a pair of juicy, leaking mommy milkers, right?`)}`);
+									break;
+								case Fetish.BUTTSLUT:
+									if (slave.mpreg > 0) {
+										text.push(`${Spoken(slave, `It's still hard to believe my luck that I can get knocked up back there! How about it, ${Master}?`)}`);
+									} else {
+										text.push(`${Spoken(slave, `Shame my asshole can't get knocked up, though.`)}`);
+									}
+									break;
+								case Fetish.CUMSLUT:
+									text.push(`${Spoken(slave, `I just can't stop thinking about thick, warm, potent jizz — more than usual, I mean.`)}`);
+									break;
+								case Fetish.HUMILIATION:
+									text.push(`${Spoken(slave, `I keep daydreaming about getting knocked up in public.`)}`);
+									break;
+								case Fetish.MASOCHIST:
+									text.push(`${Spoken(slave, `It would be so fucking hot to get raped hard and thrown away with a brat in me.`)}`);
+									break;
+								case Fetish.SADIST:
+									text.push(`${Spoken(slave, `Makes me want to find a tender pair of balls and <span class="note">squeeze</span> all the cum out into me.`)}`);
+									break;
+								case Fetish.PREGNANCY:
+									text.push(`${Spoken(slave, `I can't wait till my belly gets big enough to hold me down.`)}`);
+									break;
 							}
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.CUMSLUT && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `I just can't stop thinking about thick, warm, potent jizz — more than usual, I mean.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.HUMILIATION && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `I keep daydreaming about getting knocked up in public.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.MASOCHIST && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `It would be so fucking hot to get raped hard and thrown away with a brat in me.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.SADIST && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `Makes me want to find a tender pair of balls and <span class="note">squeeze</span> all the cum out into me.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.PREGNANCY && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `I can't wait till my belly gets big enough to hold me down.`)}`);
 						} else {
 							text.push(`${Spoken(slave, `These will get me pregnant, right?`)}`);
 						}
@@ -1570,28 +1582,40 @@ App.Interact.fFeelings = function(slave) {
 				case "super fertility drugs":
 					if (isFertile(slave)) {
 						text.push(`${Spoken(slave, `My womb feels so full, ${Master}, I need to be fertilized!`)}`);
-						if (slave.fetishKnown === 1 && slave.fetish === Fetish.SUBMISSIVE && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `I can't wait to be pinned to the floor by my life-swollen belly.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.DOM && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `I can't wait till my belly is huge enough to really demand worship.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.BOOBS && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `I can't wait till my tits blow up into two milk fountains on top of my belly.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.BUTTSLUT && slave.fetishStrength > 60) {
-							if (slave.mpreg > 0) {
-								text.push(`${Spoken(slave, `I can't wait to feel my ass stretching around all the babies it'll be popping out.`)}`);
-							} else {
-								text.push(`${Spoken(slave, `I can't believe I'm saying this, but my pussy wants dick right now more than my asshole does.`)}`);
+						if (slave.fetishKnown === 1 && slave.fetishStrength > 60) {
+							switch (slave.fetish) {
+								case Fetish.SUBMISSIVE:
+									text.push(`${Spoken(slave, `I can't wait to be pinned to the floor by my life-swollen belly.`)}`);
+									break;
+								case Fetish.DOM:
+									text.push(`${Spoken(slave, `I can't wait till my belly is huge enough to really demand worship.`)}`);
+									break;
+								case Fetish.BOOBS:
+									text.push(`${Spoken(slave, `I can't wait till my tits blow up into two milk fountains on top of my belly.`)}`);
+									break;
+								case Fetish.BUTTSLUT:
+									if (slave.mpreg > 0) {
+										text.push(`${Spoken(slave, `I can't wait to feel my ass stretching around all the babies it'll be popping out.`)}`);
+									} else {
+										text.push(`${Spoken(slave, `I can't believe I'm saying this, but my pussy wants dick right now more than my asshole does.`)}`);
+									}
+									break;
+								case Fetish.CUMSLUT:
+									text.push(`${Spoken(slave, `I can't wait to really push my limits and find out how much cum my ${slave.mpreg > 0 ? `ass` : ``}pussy can hold in.`)}`);
+									break;
+								case Fetish.HUMILIATION:
+									text.push(`${Spoken(slave, `I can't wait until everyone instantly knows what a horny slut I am as soon as they see the size of my belly.`)}`);
+									break;
+								case Fetish.MASOCHIST:
+									text.push(`${Spoken(slave, `I can almost feel how my belly would stretch and strain around a whole litter of kids... let me taste that pain, ${Master}, please.`)}`);
+									break;
+								case Fetish.SADIST:
+									text.push(`${Spoken(slave, `I can't wait to try crushing people under the weight of my belly.`)}`);
+									break;
+								case Fetish.PREGNANCY:
+									text.push(`${Spoken(slave, `I can't wait till my belly swells as big as me.`)}`);
+									break;
 							}
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.CUMSLUT && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `I can't wait to really push my limits and find out how much cum my ${slave.mpreg > 0 ? `ass` : ``}pussy can hold in.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.HUMILIATION && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `I can't wait until everyone instantly knows what a horny slut I am as soon as they see the size of my belly.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.MASOCHIST && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `I can almost feel how my belly would stretch and strain around a whole litter of kids... let me taste that pain, ${Master}, please.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.SADIST && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `I can't wait to try crushing people under the weight of my belly.`)}`);
-						} else if (slave.fetishKnown === 1 && slave.fetish === Fetish.PREGNANCY && slave.fetishStrength > 60) {
-							text.push(`${Spoken(slave, `I can't wait till my belly swells as big as me.`)}`);
 						} else {
 							text.push(`${Spoken(slave, `These will get me pregnant, right? Like, so pregnant I won't be able to stand in the end?`)}`);
 						}
-- 
GitLab