From 79fa106bfa091f00c9c8e80ce01043f82db34061 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Fri, 8 Sep 2017 20:33:39 -0400 Subject: [PATCH] possible backwards compat fix. --- src/art/artWidgets.tw | 14 +++++++------- src/art/vector/Belly.tw | 2 +- src/art/vector/Leg.tw | 4 ++-- src/art/vector/Torso.tw | 4 ++-- src/uncategorized/BackwardsCompatibility.tw | 2 -- 5 files changed, 12 insertions(+), 14 deletions(-) diff --git a/src/art/artWidgets.tw b/src/art/artWidgets.tw index 001b41c1607..0e4561acf03 100644 --- a/src/art/artWidgets.tw +++ b/src/art/artWidgets.tw @@ -196,13 +196,13 @@ vector art added later is drawn over previously added art /% Leg + 1 size up when chubby or fat%/ <<if $args[0].hips < 0>> - <<if $args[0].weight <= 95>>/%Chubby%/ + <<if $args[0].weight > 95>>/%Chubby%/ <<set _legSize = "normal">> <<else>> <<set _legSize = "narrow">> <</if>> <<elseif $args[0].hips == 0>> - <<if $args[0].weight <= 95>>/%Chubby%/ + <<if $args[0].weight > 95>>/%Chubby%/ <<set _legSize = "wide">> <<else>> <<set _legSize = "normal">> @@ -225,13 +225,13 @@ vector art added later is drawn over previously added art <<if $args[0].shoes == "heels">> <<set _shoesType = "heel">> <<elseif $args[0].shoes == "extreme heels">> - <<if $args[0].weight <= 95>>/%Chubby%/ + <<if $args[0].weight > 95>>/%Chubby%/ <<set _shoesType = "extreme heel wide">> <<else>> <<set _shoesType = "extreme heel">> <</if>> <<elseif $args[0].shoes == "boots">> - <<if $args[0].weight <= 95>>/%Chubby%/ + <<if $args[0].weight > 95>>/%Chubby%/ <<set _shoesType = "boot wide">> <<else>> <<set _shoesType = "boot">> @@ -259,13 +259,13 @@ vector art added later is drawn over previously added art /% Torso %/ <<if $args[0].waist < -40>>/*Unnatural*/ - <<if $args[0].weight <= 30>>/%Chubby%/ + <<if $args[0].weight > 30>>/%Chubby%/ <<set _torsoSize = "hourglass">> <<else>> <<set _torsoSize = "unnatural">> <</if>> <<elseif $args[0].waist <= 10>>/%Hour glass%/ - <<if $args[0].weight <= 30>>/%Chubby%/ + <<if $args[0].weight > 30>>/%Chubby%/ <<set _torsoSize = "normal">> <<else>> <<set _torsoSize = "hourglass">> @@ -345,7 +345,7 @@ vector art added later is drawn over previously added art <</if>> /%if pregnant%/ -<<if $args[0].belly >= 1500>> +<<if $args[0].belly >= 5000>> <<print "<img class='paperdoll' src=" + _imgSkinLoc + "/preg belly.svg'" + " style='"+ _skinFilter + "'>">> <<if $args[0].navelPiercing >= 1>>/*Navel Piercing*/ <<print "<img class='paperdoll' src=" + _folderLoc + "/body/addon/preg navel piercing.svg'" + "/>">> diff --git a/src/art/vector/Belly.tw b/src/art/vector/Belly.tw index d89cb2dfcac..2491b889106 100644 --- a/src/art/vector/Belly.tw +++ b/src/art/vector/Belly.tw @@ -2,7 +2,7 @@ <<set _showNavelPiercings = $showBodyMods == 1 && _artSlave.clothes != "restrictive latex" && _artSlave.clothes != "a latex catsuit">> -<<if _artSlave.belly >= 1500>> +<<if _artSlave.belly >= 5000>> <<include Art_Vector_Belly>> /* shiny clothings */ diff --git a/src/art/vector/Leg.tw b/src/art/vector/Leg.tw index b94bda9fcb4..f904f97361f 100644 --- a/src/art/vector/Leg.tw +++ b/src/art/vector/Leg.tw @@ -8,13 +8,13 @@ <<if _artSlave.amp != 1>> <<set _legSize = "Normal">> <<if _artSlave.hips < 0>> - <<if _artSlave.weight <= 95>> + <<if _artSlave.weight > 95>> <<set _legSize = "Normal">> <<else>> <<set _legSize = "Narrow">> <</if>> <<elseif _artSlave.hips == 0>> - <<if _artSlave.weight <= 95>> + <<if _artSlave.weight > 95>> <<set _legSize = "Wide">> <<else>> <<set _legSize = "Normal">> diff --git a/src/art/vector/Torso.tw b/src/art/vector/Torso.tw index a2d884a3ac3..3a5a649fa8f 100644 --- a/src/art/vector/Torso.tw +++ b/src/art/vector/Torso.tw @@ -5,13 +5,13 @@ /* BEWARE: _torsoSize might be used in torso outfit */ <<if _artSlave.waist < -40>> - <<if _artSlave.weight <= 30>> + <<if _artSlave.weight > 30>> <<set _torsoSize = "Hourglass">> <<else>> <<set _torsoSize = "Unnatural">> <</if>> <<elseif _artSlave.waist <= 10>> - <<if _artSlave.weight <= 30>> + <<if _artSlave.weight > 30>> <<set _torsoSize = "Normal">> <<else>> <<set _torsoSize = "Hourglass">> diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw index 580056152bc..c3334335abc 100644 --- a/src/uncategorized/BackwardsCompatibility.tw +++ b/src/uncategorized/BackwardsCompatibility.tw @@ -995,8 +995,6 @@ <<if def $FSGenderRadicalistLaw>> <<unset $FSGenderRadicalistLaw>> -<<elseif def $arcologies[0].FSGenderRadicalistLaw>> - <<unset $arcologies[0].FSGenderRadicalistLaw>> <</if>> <<if ndef $arcologies[0].FSGenderRadicalistLawBeauty>> -- GitLab