From 2d72cfb23e7863e2cf75e4bcafc4322a798deffe Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Sun, 1 Mar 2020 23:56:59 -0500 Subject: [PATCH] more sorting --- .../backwardsCompatibility.js | 227 +++++++++--------- 1 file changed, 113 insertions(+), 114 deletions(-) diff --git a/src/data/backwardsCompatibility/backwardsCompatibility.js b/src/data/backwardsCompatibility/backwardsCompatibility.js index 842c78ce276..cb05e7ea51f 100644 --- a/src/data/backwardsCompatibility/backwardsCompatibility.js +++ b/src/data/backwardsCompatibility/backwardsCompatibility.js @@ -776,21 +776,6 @@ App.Update.generalBC = function() { if (typeof V.FSNamePref === "undefined") { V.FSNamePref = 0; } - if (typeof V.BasicWeightSMR === "undefined") { - V.BasicWeightSMR = 0; - } - if (typeof V.BasicTallSMR !== "undefined") { - V.BasicHeightSMR = 1; - } - if (typeof V.BasicShortSMR !== "undefined") { - V.BasicHeightSMR = -1; - } - if (typeof V.BasicHeightSMR === "undefined") { - V.BasicHeightSMR = 0; - } - if (typeof V.AdvancedHeightSMR === "undefined") { - V.AdvancedHeightSMR = 0; - } if (typeof V.loliGrow === "undefined") { V.loliGrow = 0; } @@ -1069,6 +1054,102 @@ App.Update.generalBC = function() { if (typeof V.buckets === "undefined") { V.buckets = 0; } + if (typeof V.clothesBoughtBunny === "undefined") { + V.clothesBoughtBunny = 0; + } + if (typeof V.clothesBoughtConservative === "undefined") { + V.clothesBoughtConservative = 0; + } + if (typeof V.clothesBoughtChains === "undefined") { + V.clothesBoughtChains = 0; + } + if (typeof V.clothesBoughtWestern === "undefined") { + V.clothesBoughtWestern = 0; + } + if (typeof V.clothesBoughtOil === "undefined") { + V.clothesBoughtOil = 0; + } + if (typeof V.clothesBoughtHabit === "undefined") { + V.clothesBoughtHabit = 0; + } + if (typeof V.clothesBoughtToga === "undefined") { + V.clothesBoughtToga = 0; + } + if (typeof V.clothesBoughtKimono === "undefined") { + V.clothesBoughtKimono = 0; + } + if (typeof V.clothesBoughtHarem === "undefined") { + V.clothesBoughtHarem = 0; + } + if (typeof V.clothesBoughtQipao === "undefined") { + V.clothesBoughtQipao = 0; + } + if (typeof V.clothesBoughtEgypt === "undefined") { + V.clothesBoughtEgypt = 0; + } + if (typeof V.clothesBoughtBimbo === "undefined") { + V.clothesBoughtBimbo = 0; + } + if (typeof V.clothesBoughtCourtesan === "undefined") { + V.clothesBoughtCourtesan = 0; + } + if (typeof V.shoesBoughtHeels === "undefined") { + V.shoesBoughtHeels = 0; + } + if (typeof V.clothesBoughtPetite === "undefined") { + V.clothesBoughtPetite = 0; + } + if (typeof V.clothesBoughtMilitary === "undefined") { + V.clothesBoughtMilitary = 0; + } + if (typeof V.clothesBoughtCultural === "undefined") { + V.clothesBoughtCultural = 0; + } + if (typeof V.clothesBoughtMiddleEastern === "undefined") { + V.clothesBoughtMiddleEastern = 0; + } + if (typeof V.clothesBoughtPol === "undefined") { + V.clothesBoughtPol = 0; + } + if (typeof V.clothesBoughtCostume === "undefined") { + V.clothesBoughtCostume = 0; + } + if (typeof V.clothesBoughtPantsu === "undefined") { + V.clothesBoughtPantsu = 0; + } + if (typeof V.clothesBoughtCareer === "undefined") { + V.clothesBoughtCareer = 0; + } + if (typeof V.clothesBoughtDresses === "undefined") { + V.clothesBoughtDresses = 0; + } + if (typeof V.clothesBoughtBodysuits === "undefined") { + V.clothesBoughtBodysuits = 0; + } + if (typeof V.clothesBoughtCasual === "undefined") { + V.clothesBoughtCasual = 0; + } + if (typeof V.clothesBoughtUnderwear === "undefined") { + V.clothesBoughtUnderwear = 0; + } + if (typeof V.clothesBoughtSports === "undefined") { + V.clothesBoughtSports = 0; + } + if (typeof V.clothesBoughtPony === "undefined") { + V.clothesBoughtPony = 0; + } + if (typeof V.clothesBoughtSwimwear === "undefined") { + V.clothesBoughtSwimwear = 0; + } + if (typeof V.clothesBoughtMaternityDress === "undefined") { + V.clothesBoughtMaternityDress = 0; + } + if (typeof V.clothesBoughtMaternityLingerie === "undefined") { + V.clothesBoughtMaternityLingerie = 0; + } + if (typeof V.clothesBoughtLazyClothes === "undefined") { + V.clothesBoughtLazyClothes = 0; + } if (typeof V.merchantFSWares === "undefined") { V.merchantFSWares = ["AssetExpansionistResearch", "GenderRadicalistResearch", "HedonisticDecadenceResearch", "SlaveProfessionalismResearch", "SlimnessEnthusiastResearch", "TransformationFetishistResearch", "YouthPreferentialistResearch"]; } else if (V.merchantFSWares.length === 0) { @@ -2122,6 +2203,8 @@ App.Update.globalVariables = function() { if (typeof V.terrain === "undefined") { V.terrain = "rural"; } + + // Nicea if (typeof V.nicaeaAnnounceable === "undefined") { V.nicaeaAnnounceable = 0; } @@ -2140,6 +2223,8 @@ App.Update.globalVariables = function() { if (typeof V.nicaeaHeld === "undefined") { V.nicaeaHeld = 0; } + + // Events if (typeof V.REFeminizationCheckinIDs === "undefined") { V.REFeminizationCheckinIDs = []; } @@ -2161,6 +2246,8 @@ App.Update.globalVariables = function() { if (typeof V.REReductionCheckinIDs === "undefined") { V.REReductionCheckinIDs = []; } + + // Arcology if (typeof V.dormitory === "undefined") { V.dormitory = 20; } @@ -2173,12 +2260,15 @@ App.Update.globalVariables = function() { if (typeof V.roomsPopulation === "undefined") { V.roomsPopulation = 0; } + + // Content if (typeof V.universalHGImpregnateMasterSuiteToggle === "undefined") { V.universalHGImpregnateMasterSuiteToggle = 0; } FacilityDatatypeCleanup(); + // Pit if (typeof V.fighterIDs === "undefined") { V.fighterIDs = []; } @@ -2200,105 +2290,8 @@ App.Update.globalVariables = function() { if (typeof V.verboseDescriptions === "undefined") { V.verboseDescriptions = 0; } - if (typeof V.clothesBoughtBunny === "undefined") { - V.clothesBoughtBunny = 0; - } - if (typeof V.clothesBoughtConservative === "undefined") { - V.clothesBoughtConservative = 0; - } - if (typeof V.clothesBoughtChains === "undefined") { - V.clothesBoughtChains = 0; - } - if (typeof V.clothesBoughtWestern === "undefined") { - V.clothesBoughtWestern = 0; - } - if (typeof V.clothesBoughtOil === "undefined") { - V.clothesBoughtOil = 0; - } - if (typeof V.clothesBoughtHabit === "undefined") { - V.clothesBoughtHabit = 0; - } - if (typeof V.clothesBoughtToga === "undefined") { - V.clothesBoughtToga = 0; - } - if (typeof V.clothesBoughtKimono === "undefined") { - V.clothesBoughtKimono = 0; - } - if (typeof V.clothesBoughtHarem === "undefined") { - V.clothesBoughtHarem = 0; - } - if (typeof V.clothesBoughtQipao === "undefined") { - V.clothesBoughtQipao = 0; - } - if (typeof V.clothesBoughtEgypt === "undefined") { - V.clothesBoughtEgypt = 0; - } - if (typeof V.clothesBoughtBimbo === "undefined") { - V.clothesBoughtBimbo = 0; - } - if (typeof V.clothesBoughtCourtesan === "undefined") { - V.clothesBoughtCourtesan = 0; - } - if (typeof V.shoesBoughtHeels === "undefined") { - V.shoesBoughtHeels = 0; - } - if (typeof V.clothesBoughtPetite === "undefined") { - V.clothesBoughtPetite = 0; - } - if (typeof V.clothesBoughtMilitary === "undefined") { - V.clothesBoughtMilitary = 0; - } - if (typeof V.clothesBoughtCultural === "undefined") { - V.clothesBoughtCultural = 0; - } - if (typeof V.clothesBoughtMiddleEastern === "undefined") { - V.clothesBoughtMiddleEastern = 0; - } - if (typeof V.clothesBoughtPol === "undefined") { - V.clothesBoughtPol = 0; - } - if (typeof V.clothesBoughtCostume === "undefined") { - V.clothesBoughtCostume = 0; - } - if (typeof V.clothesBoughtPantsu === "undefined") { - V.clothesBoughtPantsu = 0; - } - if (typeof V.clothesBoughtCareer === "undefined") { - V.clothesBoughtCareer = 0; - } - if (typeof V.clothesBoughtDresses === "undefined") { - V.clothesBoughtDresses = 0; - } - if (typeof V.clothesBoughtBodysuits === "undefined") { - V.clothesBoughtBodysuits = 0; - } - if (typeof V.clothesBoughtCasual === "undefined") { - V.clothesBoughtCasual = 0; - } - if (typeof V.clothesBoughtUnderwear === "undefined") { - V.clothesBoughtUnderwear = 0; - } - if (typeof V.clothesBoughtSports === "undefined") { - V.clothesBoughtSports = 0; - } - if (typeof V.clothesBoughtPony === "undefined") { - V.clothesBoughtPony = 0; - } - if (typeof V.clothesBoughtSwimwear === "undefined") { - V.clothesBoughtSwimwear = 0; - } - if (typeof V.clothesBoughtMaternityDress === "undefined") { - V.clothesBoughtMaternityDress = 0; - } - if (typeof V.clothesBoughtMaternityLingerie === "undefined") { - V.clothesBoughtMaternityLingerie = 0; - } - if (typeof V.clothesBoughtLazyClothes === "undefined") { - V.clothesBoughtLazyClothes = 0; - } - if (typeof V.buckets === "undefined") { - V.buckets = 0; - } + + if (typeof V.universalRulesRest === "undefined") { V.universalRulesRest = 0; } @@ -2651,6 +2644,12 @@ App.Update.globalVariables = function() { if (typeof V.AdvancedHeightSMR === "undefined") { V.AdvancedHeightSMR = 0; } + if (typeof V.BasicTallSMR !== "undefined") { + V.BasicHeightSMR = 1; + } + if (typeof V.BasicShortSMR !== "undefined") { + V.BasicHeightSMR = -1; + } if (typeof V.IntelligenceEugenicsSMR === "undefined") { V.IntelligenceEugenicsSMR = 0; } -- GitLab