From e5d6948cccfc2f1003de0d4bd4af2c19bc5ae75a Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Wed, 12 Aug 2020 20:07:39 -0400 Subject: [PATCH] sf bc --- src/Mods/SpecialForce/SpecialForceBC.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Mods/SpecialForce/SpecialForceBC.js b/src/Mods/SpecialForce/SpecialForceBC.js index 2be42bd16b5..7bef1436ccb 100644 --- a/src/Mods/SpecialForce/SpecialForceBC.js +++ b/src/Mods/SpecialForce/SpecialForceBC.js @@ -195,6 +195,16 @@ App.SF.BC = function() { V.SF.FS = V.SF.FS || {}; V.SF.FS.Tension = V.SF.FS.Tension || -1; + const Revivalisms = ['Roman_Revivalism', 'Aztec_Revivalism', 'Egyptian_Revivalism', 'Edo_Revivalism', 'Arabian_Revivalism', 'Chinese_Revivalism', 'Multiculturalism']; + let FS_OPTIONS = ['Repopulation', 'Eugenics', 'Gender_radicalism', 'Gender_traditionalism', 'Paternalism', 'Degradationism', 'Body_Purism', 'Transformation_Fetishism', 'Youth_Preferentialism', 'Maturity_Preferentialism', 'Slimness_Enthusiasm', 'Asset_Expansionism', 'Slave_Pastoralism', 'Physical_Idealism', 'Hedonistic_Decadence', 'Chattel_Religionism']; + FS_OPTIONS = FS_OPTIONS.concat(Revivalisms); + for (let i = 0; i < FS_OPTIONS.length; i++) { + if (V.SF.FS[FS_OPTIONS[i]].vaildOption) { + V.SF.FS[FS_OPTIONS[i]].validOption = V.SF.FS[FS_OPTIONS[i]].vaildOption; + delete V.SF.FS[FS_OPTIONS[i]].vaildOption; + } + } + if (V.SF.Toggle && V.SF.Active >= 1) { V.SF.UC = V.SF.UC || {}; V.SF.Depravity = V.SF.Depravity || 0; -- GitLab