From ecb7b4f58e6ceb01f157517ae5423e2bf80af3e0 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Mon, 1 Jul 2019 03:44:34 -0400 Subject: [PATCH] bimbo body policy backend --- src/init/setupVars.tw | 2 ++ src/js/slaveStatsChecker.js | 70 +++++++++++++++++++++++++++++++++++-- 2 files changed, 70 insertions(+), 2 deletions(-) diff --git a/src/init/setupVars.tw b/src/init/setupVars.tw index ac797ffc8d5..6f437d960e4 100644 --- a/src/init/setupVars.tw +++ b/src/init/setupVars.tw @@ -325,6 +325,8 @@ equine: {type: "equine", normalOvaMin:1, normalOvaMax: 1, normalBirth: 48, minLi <<set setup.modestClothes = ["a ball gown", "a biyelgee costume", "a bunny outfit", "a burkini", "a burqa", "a comfortable bodysuit", "a cybersuit", "a dirndl", "a gothic lolita dress", "a halter top dress", "a hanbok", "a hijab and abaya", "a hijab and blouse", "a huipil", "a kimono", "a klan robe", "a latex catsuit", "a leotard", "a long qipao", "a maternity dress", "a military uniform", "a mini dress", "a mounty outfit", "a nice maid outfit", "a nice nurse outfit", "a niqab and abaya", "a one-piece swimsuit", "a penitent nuns habit", "a police uniform", "a red army uniform", "a schoolgirl outfit", "a schutzstaffel uniform", "a slave gown", "a slutty maid outfit", "a slutty nurse outfit", "a slutty qipao", "a sweater and cutoffs", "a t-shirt and jeans", "a toga", "an oversized t-shirt and boyshorts", "battlearmor", "battledress", "conservative clothing", "cutoffs and a t-shirt", "leather pants and a tube top", "lederhosen", "nice business attire", "restrictive latex", "slutty business attire", "spats and a tank top", "sport shorts and a sports bra", "sport shorts and a t-shirt", "stretch pants and a crop-top"]>> +<<set setup.sluttyClothes = ["a chattel habit", "a cheerleader outfit", "a fallen nuns habit", "a schoolgirl outfit", "a skimpy loincloth", "a slutty klan robe", "a slutty maid outfit", "a slutty nurse outfit", "a slutty outfit", "a slutty pony outfit", "a slutty qipao", "a slutty schutzstaffel uniform", "a string bikini", "a succubus outfit", "a t-shirt and panties", "a t-shirt and thong", "a tank-top and panties", "a tube top and thong", "attractive lingerie", "attractive lingerie for a pregnant woman", "clubslut netting", "kitty lingerie", "leather pants and a tube top", "leather pants and pasties", "panties and pasties", "pasties", "slutty business attire", "slutty jewelry", "sport shorts and a sports bra", "striped underwear"]>> + <<set setup.highHeels = ["boots", "extreme heels", "heels"]>> diff --git a/src/js/slaveStatsChecker.js b/src/js/slaveStatsChecker.js index 722eb033a90..bb018bc33e6 100644 --- a/src/js/slaveStatsChecker.js +++ b/src/js/slaveStatsChecker.js @@ -267,8 +267,74 @@ window.heightPass = function(slave) { */ window.bimboScore = function(slave) { let degree = 0; - // to make the other js that calls this unfinished function not meltdown - return degree; + let mods = SlaveStatsChecker.modScore(slave); + + if (slave.lips > 70) { + degree++; + } + if ((slave.lipsImplant / slave.lips) >= .60) { + degree++; + } + if (slave.boobs >= 2000) { + degree++; + if (slave.boobs >= 10000) { + degree++; + } + } + if ((slave.boobsImplant / slave.boobs) >= .60) { + degree++; + } + if (slave.butt > 4) { + degree++; + if (slave.butt > 10) { + degree++; + } + } + if ((slave.buttImplant / slave.butt) >= .60) { + degree++; + } + if (slave.belly >= 1500) { + degree++; + if (slave.belly >= 20000) { + degree++; + } + } + if (slave.waist <= -60) { + degree++; + } + if (slave.hips > 1) { + degree++; + if (slave.hips > 2) { + degree++; + } + } + if (slave.hLength >= 100) { + degree++; + } + if (slave.makeup > 1 && slave.nails > 1) { + degree++; + } + if (mods >= 10) { + degree++; + } + if (V.piercingScore > 5) { + degree++; + } + if (V.tatScore > 3) { + degree++; + } + if (setup.highHeels.includes(slave.shoes)) { + degree++; + } + if (slave.skin === "sun tanned" || slave.skin === "spray tanned") { + degree++; + } + if (setup.sluttyClothes.includes(slave.clothes)) { + degree++; + } + + // degree can go far higher than the max to allow various FS combinations to take advantage. + return Math.clamp(degree, 0, 6); } /** -- GitLab