From 55731604ff6565901c6dce6cb1da06146e445227 Mon Sep 17 00:00:00 2001 From: prndev <prndev@users.noreply.github.com> Date: Fri, 27 Apr 2018 23:20:37 +0200 Subject: [PATCH] Compressed logic for vector art on bellies. --- src/art/vector/Belly.tw | 116 ++++------------------------------------ 1 file changed, 10 insertions(+), 106 deletions(-) diff --git a/src/art/vector/Belly.tw b/src/art/vector/Belly.tw index c9768b18fe0..e91ba08cb1d 100644 --- a/src/art/vector/Belly.tw +++ b/src/art/vector/Belly.tw @@ -16,118 +16,22 @@ <<else>> <<include Art_Vector_Belly>> <</if>> - <<if _artSlave.clothes == "a hijab and abaya">> - <<include Art_Vector_Belly_Outfit_Hijab>> - <</if>> - <<if _artSlave.clothes == "an apron">> - <<include Art_Vector_Belly_Outfit_Apron>> - <</if>> - <<if _artSlave.clothes == "a ball gown">> - <<include Art_Vector_Belly_Outfit_BallGown>> - <</if>> - <<if _artSlave.clothes == "battledress">> - <<include Art_Vector_Belly_Outfit_Battledress>> - <</if>> - <<if _artSlave.clothes == "a bunny outfit">> - <<include Art_Vector_Belly_Outfit_Bunny>> - <</if>> - <<if _artSlave.clothes == "a chattel habit">> - <<include Art_Vector_Belly_Outfit_ChattelHabit>> - <</if>> - <<if _artSlave.clothes == "a cheerleader outfit">> - <<include Art_Vector_Belly_Outfit_Cheerleader>> - <</if>> - <<if _artSlave.clothes == "clubslut netting">> - <<include Art_Vector_Belly_Outfit_ClubslutNetting>> - <</if>> - <<if _artSlave.clothes == "conservative clothing">> - <<include Art_Vector_Belly_Outfit_Conservative>> - <</if>> - <<if _artSlave.clothes == "cutoffs and a t-shirt">> - <<include Art_Vector_Belly_Outfit_Cutoffs>> - <</if>> - <<if _artSlave.clothes == "a fallen nuns habit">> - <<include Art_Vector_Belly_Outfit_FallenNunsHabit>> - <</if>> - <<if _artSlave.clothes == "a halter top dress">> - <<include Art_Vector_Belly_Outfit_HalterTopDress>> - <</if>> - <<if _artSlave.clothes == "a huipil">> - <<include Art_Vector_Belly_Outfit_Huipil>> - <</if>> - <<if _artSlave.clothes == "a kimono">> - <<include Art_Vector_Belly_Outfit_Kimono>> - <</if>> - <<if _artSlave.clothes == "a leotard">> - <<include Art_Vector_Belly_Outfit_Leotard>> - <</if>> - <<if _artSlave.clothes == "a nice maid outfit">> - <<include Art_Vector_Belly_Outfit_NiceMaid>> - <</if>> - <<if _artSlave.clothes == "a slutty maid outfit">> - <<include Art_Vector_Belly_Outfit_SluttyMaid>> - <</if>> - <<if _artSlave.clothes == "a maternity dress">> - <<include Art_Vector_Belly_Outfit_MaternityDress>> - <</if>> - <<if _artSlave.clothes == "a military uniform">> - <<include Art_Vector_Belly_Outfit_MilitaryUniform>> - <</if>> - <<if _artSlave.clothes == "a mini dress">> - <<include Art_Vector_Belly_Outfit_Minidress>> - <</if>> - <<if _artSlave.clothes == "a monokini">> - <<include Art_Vector_Belly_Outfit_Monokini>> - <</if>> - <<if _artSlave.clothes == "a nice nurse outfit">> - <<include Art_Vector_Belly_Outfit_NiceNurse>> - <</if>> - <<if _artSlave.clothes == "a slutty nurse outfit">> - <<include Art_Vector_Belly_Outfit_SluttyNurse>> - <</if>> - <<if _artSlave.clothes == "a penitent nuns habit">> - <<include Art_Vector_Belly_Outfit_PenitentNunsHabit>> - <</if>> - <<if _artSlave.clothes == "a slutty qipao">> - <<include Art_Vector_Belly_Outfit_SluttyQipao>> - <</if>> - <<if _artSlave.clothes == "a schutzstaffel uniform">> - <<include Art_Vector_Belly_Outfit_SchutzstaffelUniform>> - <</if>> - <<if _artSlave.clothes == "a schoolgirl outfit">> - <<include Art_Vector_Belly_Outfit_Schoolgirl>> - <</if>> - <<if _artSlave.clothes == "a slave gown">> - <<include Art_Vector_Belly_Outfit_SlaveGown>> - <</if>> - <<if _artSlave.clothes == "a red army uniform">> - <<include Art_Vector_Belly_Outfit_RedArmyUniform>> - <</if>> - <<if _artSlave.clothes == "spats and a tank top">> - <<include Art_Vector_Belly_Outfit_Spats>> - <</if>> - <<if _artSlave.clothes == "a succubus outfit">> - <<include Art_Vector_Belly_Outfit_Succubus>> - <</if>> - <<if _artSlave.clothes == "nice business attire">> - <<include Art_Vector_Belly_Outfit_NiceBusinessAttire>> - <</if>> - <<if _artSlave.clothes == "slutty business attire">> - <<include Art_Vector_Belly_Outfit_SluttyBusinessAttire>> - <</if>> - <<if _artSlave.clothes == "a toga">> - <<include Art_Vector_Belly_Outfit_Toga>> - <</if>> - <<if _artSlave.clothes == "Western clothing">> - <<include Art_Vector_Belly_Outfit_WesternClothing>> - <</if>> + + <<unset _art_outfit >> /* clean up variable possibly already set by prior widget run */ + <<switch _artSlave.clothes>> /* select available clothes */ + <<case "a ball gown", "a bunny outfit", "a chattel habit", "a cheerleader outfit", "a fallen nuns habit", "a halter top dress", "a hijab and abaya", "a huipil", "a kimono", "a latex catsuit", "a leotard", "a maternity dress", "a military uniform", "a minidress", "a monokini", "an apron", "a nice maid outfit", "a nice nurse outfit", "a penitent nuns habit", "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 succubus outfit", "a toga", "battledress", "body oil", "clubslut netting", "conservative clothing", "cutoffs and a t-shirt", "nice business attire", "restrictive latex", "slutty business attire", "spats and a tank top", "Western clothing">> + <<set _art_outfit = clothing2artSuffix(_artSlave.clothes) >> + <<set _art = "Art_Vector_Belly_Outfit_"+_art_outfit >> + <<include _art >> + <</switch>> + <</if>> /* shiny clothings */ <<if _artSlave.belly >= 2000>> <<if $seeVectorArtHighlights == 1>> <<if _artSlave.fuckdoll != 0 || _artSlave.clothes == "restrictive latex" || _artSlave.clothes == "a latex catsuit" || _artSlave.clothes == "body oil">> - <<include Art_Vector_Belly_Outfit_Shine>> + <<include Art_Vector_Belly_Outfit_Shine >> <</if>> <</if>> <</if>> -- GitLab