diff --git a/src/pregmod/FCTV/FCTV.js b/src/pregmod/FCTV/FCTV.js index 3cc4855085c5d639fac7e582e9a8c959d5b91bee..6cc499d6acc4be0474477a6561596801db9feb70 100644 --- a/src/pregmod/FCTV/FCTV.js +++ b/src/pregmod/FCTV/FCTV.js @@ -39,32 +39,46 @@ globalThis.FCTV = (function() { } } - function showChannel(i, {usedRemote = 0, seeAll = 0} = {}) { + function showChannel(i, { usedRemote = 0, seeAll = 0 } = {}) { let x = { canSelect: 1, text: `A notification is shown: ` }; if (App.Data.FCTV.shows[i].hasOwnProperty("tags")) { for (const tag in App.Data.FCTV.shows[i].tags) { - if (!V.seeHyperPreg && tag === "hyperPreg") { - x.canSelect = -1; x.text += `<i>Too much happiness detected, changing program.</i>`; - break; - } - if (!V.seePreg && (tag === "hyperPreg" || tag === "preg")) { - x.canSelect = -1; x.text += `<i>Too much baking detected, changing program.</i>`; - break; - } - if (!V.seeExtreme && tag === "extreme") { - x.canSelect = -1; x.text += `<i>Too much hugging detected, changing program.</i>`; - } - if (!V.seeDicks && !V.makeDicks && tag === "dicks") { - x.canSelect = -1; x.text += `<i>Too many hot dogs detected, changing program.</i>`; - } - if (!V.seeIncest && tag === "incest") { - x.canSelect = -1; x.text += `<i>Too much familiarity detected, changing program.</i>`; - } - if (V.minimumSlaveAge > 13 && tag === "loli") { - x.canSelect = -1; x.text += `<i>Actor not vintage enough, changing program.</i>`; + switch (tag) { + case "hyperPreg": + if (!V.seeHyperPreg) { + x.canSelect = -1; x.text += `<i>Too much happiness detected, changing program.</i>`; + } + break; + case "preg": + if (!V.seePreg) { + x.canSelect = -1; x.text += `<i>Too much baking detected, changing program.</i>`; + } + break; + case "extreme": + if (!V.seeExtreme) { + x.canSelect = -1; x.text += `<i>Too much hugging detected, changing program.</i>`; + } + break; + case "dicks": + if (!V.seeDicks && !V.makeDicks) { + x.canSelect = -1; x.text += `<i>Too many hot dogs detected, changing program.</i>`; + } + break; + case "incest": + if (!V.seeIncest && tag === "incest") { + x.canSelect = -1; x.text += `<i>Too much familiarity detected, changing program.</i>`; + } + break; + case "loli": + if (V.minimumSlaveAge > 13 && tag === "loli") { + x.canSelect = -1; x.text += `<i>Actor not vintage enough, changing program.</i>`; + } + break; + default: + throw `Tag "${tag}" unknown`; } } } @@ -131,7 +145,7 @@ globalThis.FCTV = (function() { function FinalTouches(i, channel) { if (channel === 14) { - + } else if (channel === 4) { i.pubertyXX = 1; i.career = "a slave"; i.origin = "You purchased $him from FCTV's Home Slave Shopping stream channel."; @@ -192,7 +206,7 @@ globalThis.FCTV = (function() { updateHealth(slave); } - function watch({usedRemote = 0, seeAll = 0} = {}) { + function watch({ usedRemote = 0, seeAll = 0 } = {}) { let p; let div; let span; @@ -216,7 +230,7 @@ globalThis.FCTV = (function() { App.UI.DOM.link( "Use your remote", () => { - FCTV.watch({usedRemote: 1, seeAll: seeAll}); + FCTV.watch({ usedRemote: 1, seeAll: seeAll }); } ) ); @@ -292,14 +306,14 @@ globalThis.FCTV = (function() { const buttons = []; for (let i = 0; i < _possibleChannels.length; i++) { - if (FCTV.showChannel(i, {usedRemote: usedRemote, seeAll: seeAll}).canSelect > 0) { + if (FCTV.showChannel(i, { usedRemote: usedRemote, seeAll: seeAll }).canSelect > 0) { if (V.FCTV.channel.selected !== i) { buttons.push( App.UI.DOM.link( i, () => { V.FCTV.channel.selected = i; - FCTV.watch({usedRemote: 1}); + FCTV.watch({ usedRemote: 1 }); } ) ); @@ -312,7 +326,7 @@ globalThis.FCTV = (function() { i, () => { V.FCTV.channel.selected = i; - FCTV.watch({usedRemote: 1, seeAll: seeAll}); + FCTV.watch({ usedRemote: 1, seeAll: seeAll }); } ) ); @@ -349,7 +363,7 @@ globalThis.FCTV = (function() { } else { seeAll = 1; } - FCTV.watch({usedRemote: usedRemote, seeAll: seeAll}); + FCTV.watch({ usedRemote: usedRemote, seeAll: seeAll }); } ) ); @@ -360,7 +374,7 @@ globalThis.FCTV = (function() { App.UI.DOM.link( `Randomise channel selection`, () => { - FCTV.watch({usedRemote: 0, seeAll: seeAll}); + FCTV.watch({ usedRemote: 0, seeAll: seeAll }); } ) ); @@ -368,7 +382,7 @@ globalThis.FCTV = (function() { } } - function displayShow(){ + function displayShow() { FCTV.incrementChannel(2); FCTV.incrementShow(); return "show!!!!!"; diff --git a/src/pregmod/FCTV/FCTVshows.js b/src/pregmod/FCTV/FCTVshows.js index 33345ec1e60358af996e6e9085319f72a4f7ea0b..78601720349a79a424115128c5adf6cb961a4968 100644 --- a/src/pregmod/FCTV/FCTVshows.js +++ b/src/pregmod/FCTV/FCTVshows.js @@ -826,7 +826,7 @@ App.Data.FCTV.shows = { }, // 'Husbandry with Millie' 5: { - tags: [], + tags: ["preg"], loop: true, intro: `which is currently showing an episode of the slave-breeding for beginners series: 'Husbandry with Millie'. The show is hosted by the famous and charismatic Millie, a slave breeder from Arcturus who appears to be in her mid thirties. She's wearing something resembling a maternity dress over her large pregnant belly, but the loose fabric doesn't hide her enormous hips and complementary ass. The dress only comes part of the way up her chest, leaving her large milk-engorged breasts exposed as they rest atop the fabric. Millie begins the show the same way as always, by giving her viewers some encouragement. "Anyone can become a breeder, even you! Just be willing to learn, and as I always say..." she pats her full belly meaningfully "be ready to get your hands dirty!"`, episode: [ @@ -1108,7 +1108,7 @@ App.Data.FCTV.shows = { ] }, 8: {// "Extreme Gestation for Fun and Profit" - tags: [], + tags: ["hyperPreg", "preg"], loop: true, intro: `which is currently showing a preview of the how-to series "Extreme Gestation for Fun and Profit", hosted by Millie. It seems like the show's going to cover topics ranging from hyper-pregnancy to broodmother implants, and even hints and some sort of medical technique to allow anal pregnancy in males.`, episode: [