code:
:: WC [nobr]

<<if $SF.WG === 0 && $SFTradeShow.CanAttend === -1 && ($SFColonel.Talk + $SFColonel.Fun !== 1)>>
	The Colonel looks down a list on her tablet. "There's some things we can do to help you out, boss.

We've had some good prizes turn up, that's made us some extra money we could turn over. | <<link "Request cash""Firebase">>
	/*<<set $CashGift = ((Math.ceil((Math.abs($cash)*0.05)*(Math.max(0.99,$SF.Units))))*($arcologies[0].prosperity/100))*_Env>> OLD*/
	<<set $CashGift = Math.ceil(25000*($SF.Units/10)*_Env),$SF.WG = 1,$choice = 1>>
	<<set $CashGift = ($CashGift > 5000 ? $CashGift : 5000),$cash += $CashGift>>
	<</link>>
	<<if $rep < 20000>>

If you want we could throw a quick military parade, get the people feeling extra patriotic. | <<link "Request military parade""Firebase">>
		<<set $GoodWords1 += 50*(Math.ceil($SF.Units*0.03*_Env))>>
		<<set $GoodWords1 = (Number($GoodWords1) ? $GoodWords1 : 500),$SF.WG = 1>>
		<<set $rep += $GoodWords1,$choice = 2>>
		<</link>><</if>>
	<<if $arcologies[0].prosperity < $AProsperityCap>>

Or we could hit some businesses that rival the ones in $arcologies[0].name with some sabotage. | <<link "Request sabotage""Firebase">>
		<<set $GoodWords2 = _EnvProsp+(Math.ceil($SF.Units/100*_Env)),$SF.WG = 1,$choice = 3>>
		<<if $arcologies[0].prosperity + $GoodWords2 > $AProsperityCap>>
			<<set $arcologies[0].prosperity = $AProsperityCap>>
		<<else>><<set $arcologies[0].prosperity += $GoodWords2>><</if>> <</link>> <</if>>
<<elseif $SF.WG == 0 && ($SFTradeShow.CanAttend > -1 || ($SFColonel.Talk + $SFColonel.Fun > 0))>>

He looks down a list on his tablet. "<<if $PC.title != 0>>Sir<<else>>Ma'am<</if>>, how can $SF.Lower help you this week?

$SF.Caps can spare some profits from our recent operations. | <<link "Request cash""Firebase">>
	<<set $CashGift = 25000*($SF.Units/10)*_Env,$SF.WG = 1,$choice = 1>>
	<<set $CashGift = ($CashGift > 5000 ? $CashGift : 5000),$cash += Math.ceil($CashGift * 0.8)>>
	<</link>>
	<<if $rep < 20000>>

We can set some units aside for a ceremonial march through the arcology. | <<link "Request a parade""Firebase">>
		<<set $GoodWords1 += 50*(Math.ceil($SF.Units*0.03*_Env))>>
		<<set $GoodWords1 = (Number($GoodWords1) ? $GoodWords1 : 500),$SF.WG = 1>>
		<<set $rep += Math.ceil($GoodWords1*0.8),$choice = 2>>
		<</link>> <</if>>
	<<if $arcologies[0].prosperity < $AProsperityCap>>

Or we can target rival businesses for sabotage. | <<link "Request sabotage""Firebase">>
		<<set $GoodWords2 = _EnvProsp+(Math.ceil($SF.Units/100*_Env)),$SF.WG = 1,$choice = 3>>
		<<if $arcologies[0].prosperity + $GoodWords2 * 0.8 > $AProsperityCap>>
			<<set $arcologies[0].prosperity = $AProsperityCap>>
		<<else>><<set $arcologies[0].prosperity += Math.ceil($GoodWords2*0.8)>><</if>> <</link>> <</if>>
<</if>>

<<if $SFColonel.Talk === 0 && $SFColonel.Fun === 0 && $SFTradeShow.CanAttend === -1>>

If you need me for anything else, let me know."

<<if $SFColonel.Status >= 25>>
	<<link "Walk with the Colonel on the surface.">> <<replace "#result0">>
		<<set $SFColonel.Talk = 1>>

You ask the Colonel if she would like to stretch her legs up on the surface. It doesn't take much effort for her to agree.
		<<if $PC.warfare >= 100 && $PC.career == "mercenary">>
			Your mastery of wet work and prior experience in a PMC satisfies the Colonel that between you<<if $Bodyguard != 0>> , $Bodyguard.slaveName,<</if>> and her, there should be little threat to walking around the arcology. Being able to see and interact with the arcology owner directly maintains the false idea that you're just like one of them while also giving them an increased opportunity to try gaining your favor.
			<<set $rep += 10, $cash += _EnvCash2>>
		<<elseif $PC.warfare >= 100>>
			Your mastery of wet work satisfies the Colonel that you only need two soldiers <<if $Bodyguard != 0>> plus $Bodyguard.slaveName<</if>> to walk safely around the arcology. Being able to see and interact with the arcology owner directly maintains the false idea that you're just like one of them while also giving them an increased opportunity to try gaining your favor.
			<<set $rep += 5, $cash += _EnvCash3>>
		<<elseif $PC.warfare >= 60>>
			With some expertise in warfare, the Colonel believes <<if $Bodyguard != 0>>with $Bodyguard.slaveName <</if>>you only need a squad of armed soldiers for a walk through the arcology.
		<<elseif $PC.warfare >= 30>>
			As you have some skill in warfare, the Colonel believes<<if $Bodyguard != 0>> with $Bodyguard.slaveName<</if>> you only need two full squads of armed soldiers for a walk around the arcology.
		<<elseif $PC.warfare >= 10>>
			Your minor skill in warfare convinces the Colonel that <<if $Bodyguard != 0>>in addition to $Bodyguard.slaveName, <</if>>you need two full squads of armed soldiers and an armored car escort for a simple walk around the arcology.
		<<else>>
			Your complete lack of combat skill convinces the Colonel that <<if $Bodyguard != 0>>in addition to $Bodyguard.slaveName, <</if>>you need two full squads of armed soldiers, an armored car escort, and a sniper overwatch for a simple walk around the arcology.
		<</if>>
As you make your way through the arcology you stop at a
		<<if $arcologies[0].FSPaternalist != "unset">>
			paternalist shop, <<if $SFColonel.Core == "cruel">>earning a sneer from the Colonel.<<else>>helping the Colonel select some luxurious and relaxing slave treatments.<</if>>
		<<elseif $arcologies[0].FSPastoralist != "unset">>
			pastoralist shop, helping the Colonel select a more comfortable breast pump.
		<<else>>shop that catches the Colonel's eye. <</if>>
		<<if $PC.slaving >= 100 && $PC.career == "slaver">>
			Your mastery and extensive history of slaving allows you assist the Colonel greatly. The shop owner is so impressed by your understanding of slavery that she asks you for some advice. Before you leave, you manage to pass on a few tips, helping the business with future customers.
			<<if $arcologies[0].prosperity < $AProsperityCap>>
				<<set $arcologies[0].prosperity++>> <</if>>
		<<elseif $PC.slaving >= 100>>
			Your mastery and extensive history of slaving allows you assist the Colonel greatly. The shop owner is so impressed by your understanding of slavery that she asks you for some advice. Before you leave, you manage to pass on a few tips, helping the business with future customers.
			<<if $arcologies[0].prosperity < $AProsperityCap>>
				<<set $arcologies[0].prosperity++>> <</if>>
		<<elseif $PC.slaving >= 60>>
			Your expertise in slavery allows you to help the Colonel decide what to buy for her main slave.
		<<elseif $PC.slaving >= 30>>
			Your moderate skill in slavery makes you somewhat helpful to the Colonel in deciding what to buy for her main slave.
		<<elseif $PC.slaving >= 10>>
			Your basic skill level of slavery doesn't allow you to help the Colonel at all.
		<<elseif $PC.slaving < 10>>
			Your total lack of slavery skill (which is very unusual and very concerning for an arcology owner) means that you are of little to no help or even a hindrance. The shopkeeper notices your complete ineptitude, and as soon as you've left the rumor mill begins.
			<<set $rep -= 20>><</if>>

Soon the entourage heads back to the HQ of $SF.Lower.
		<<if random(1,100) > 50>>Along the route you see a homeless citizen with a serious injury begging for help.
			<<if $PC.medicine >= 100 && $PC.career == "medicine">>
				Your expertise in surgery ensures that the citizen receives the best care they'll ever experience in their life. They are so grateful that they are more than happy to try and compensate your time. Word quickly spreads of the kindly medically trained arcology owner who took the time to heal a citizen, providing confidence to the rest of the citizens.
				<<set $rep += 10, $cash += _EnvCash4>>
			<<elseif $PC.medicine >= 100>>
				Your expertise in surgery ensures that the citizen receives the best care they'll ever experience in their life. Word quickly spreads of the kindly arcology owner who took the time to heal a citizen.
				<<set $rep += 5>>
			<<elseif $PC.medicine >= 60>>
				Your proficiency in surgery allows you to properly close their wound with minimal trauma to the patient.
			<<elseif $PC.medicine >= 30>>
				Your moderate surgical skill ensures that you can close the citizen's wound, though not without likely scarring.
			<<elseif $PC.medicine >= 10>>
				Your basic surgical skill in medicine is sufficient only to stabilize the citizen's wounds before medical assistnance arrives.
			<<else>>
				Your total lack of surgical skill causes the death of the citizen through repeated medical blunders.
				<<set $arcologies[0].prosperity -= .25>><</if>><</if>>
		<<set $SFColonel.Status += 2>><</replace>> <</link>><</if>>

<<link "Talk in $SF.Lower's HQ.">> <<replace "#result0">>

What do you want to do with the Colonel in the HQ?

<<link "Talk">><<replace "#result1">>

You and the Colonel talk over some $PC.refreshment, where she ends up talking about her past. You learn a little more about her.
<<set $SFColonel.Status +=3>>
<<switch random(1,6)>>
<<case 1>>
	<<set $PC.medicine += 1>><<set $PC.trading += 1>><<set $PC.slaving += 1>>
<<case 2>>
	<<set $PC.trading += 1>><<set $PC.slaving += 1>><<set $PC.engineering += 1>>
<<case 3>>
	<<set $PC.slaving += 1>><<set $PC.engineering += 1>><<set $PC.hacking += 1>>
<<case 4>>
	<<set $PC.engineering += 1>><<set $PC.hacking += 1>><<set $PC.warfare += 1>>
<<case 5>>
	<<set $PC.hacking += 1>><<set $PC.warfare += 1>><<set $PC.medicine += 1>>
<<case 6>>
	<<set $PC.warfare += 1>><<set $PC.medicine += 1>><<set $PC.trading += 1>>
<</switch>>
<</replace>><</link>>

<<link "Learn">> <<replace "#result1">>
<<set $SFColonel.Talk = 1,$SFColonel.Status += 1>>

"Sure boss, I can use a break from all of this," she laughs. The Colonel tells a story about one time when she
<<switch random(1,6)>>
<<case 1>>
	used field medicine to save another merc's life, teaching you some medical procedures in the process.
	<<set $PC.medicine += 5>>
<<case 2>>
	haggled for necessary gear with a stingy quartermaster, teaching you how to get what you want from traders.
	<<set $PC.trading += 5>>
<<case 3>>
	found a load of human chattel in a raid and had to manage them before they could later be unloaded, teaching you how to better care for your slaves.
	<<set $PC.slaving += 5>>
<<case 4>>
	was responsible for rebuilding a fort she had seized, teaching you how to better manage construction in your arcology.
	<<set $PC.engineering += 5>>
<<case 5>>
	was forced to hack her way out of a trap, teaching you how to better penetrate digital security.
	<<set $PC.hacking += 5>>
<<case 6>>
	fought off an entire battalion with only a small squad, teaching you how to think tactically in battle.
	<<set $PC.warfare += 5>>
<</switch>>
<</replace>> <</link>>

<<if $SFColonel.Status >= 45>>

<<link "Have some fun.">> <<replace "#result1">>
	@@.orange;<<link "Go back""Firebase">>
		<<set $SFColonel.Fun = 0, $SFColonel.Talk = 0,$SFColonel.Status -= 3>>
	<</link>>@@
	<<set $SFColonel.Fun = 1,$SFColonel.Talk = 1,$SFColonel.Status += 3>>
	Where should this fun take place?

@@.orange;<<link "In private">>
			Which orifice do you wish to target?
			@@.orange;<<link "Go back""Firebase">> <</link>>@@

@@.orange;<<link "Pussy">> <<replace "#result6">>
					<<include "SFColonelSexDec">>
					<</replace>> <<set $SFColonel.Fun += 1>> <</link>>@@

@@.orange;<<link "Ass">> <<replace "#result6">>
					<<include "SFColonelSexDec">>
					<</replace>> <<set $SFColonel.Fun += 1>> <</link>>@@

@@.orange;<<link "Both pussy and ass">> <<replace "#result6">>
					<<include "SFColonelSexDec">>
					<</replace>> <<set $SFColonel.Fun += 2>> <</link>>@@

@@.orange;<<link "Mouth">> <<replace "#result6">>
					<<include "SFColonelSexDec">>
					<</replace>> <<set $SFColonel.Fun += 1>> <</link>>@@

@@.orange;<<link "All three holes">> <<replace "#result6">>
					<<include "SFColonelSexDec">>
					<</replace>> <<set $SFColonel.Fun += 3>> <</link>>@@
	 <</link>>@@

@@.orange;<<link "On The Colonel's throne.">>
			Which orifice do you wish to target?
			@@.orange;<<link "Go back""Firebase">> <</link>>@@

@@.orange;<<link "Pussy">> <<replace "#result6">>
					<<include "SFColonelSexDec">>
					<</replace>> <<set $SFColonel.Fun += 1>> <</link>>@@

@@.orange;<<link "Ass">> <<replace "#result6">>
					<<include "SFColonelSexDec">>
					<</replace>> <<set $SFColonel.Fun += 1>> <</link>>@@

@@.orange;<<link "Both pussy and ass">> <<replace "#result6">>
					<<include "SFColonelSexDec">>
					<</replace>> <<set $SFColonel.Fun += 2>> <</link>>@@

@@.orange;<<link "Mouth">> <<replace "#result6">>
					<<include "SFColonelSexDec">>
					<</replace>> <<set $SFColonel.Fun += 1>> <</link>>@@

@@.orange;<<link "All three holes">> <<replace "#result6">>
					<<include "SFColonelSexDec">>
					<</replace>> <<set $SFColonel.Fun += 3>> <</link>>@@
		 <</link>>@@
<</replace>><</link>><</if>>
[[Go back|Firebase]]/*Closes fun*/
 <</replace>> <</link>>@@ <</if>> /*Closes spend time with The Colonel*/


code:
:: art widgets [nobr widget]

/%
Call as <<SlaveArt>>
Displays slave images. Currently passage-based.
$args[0]: Slave.
$args[1]: Image size/center.
	3: Large, right. Example: long slave description.
	2: Medium, right. Example: random events.
	1: Small, left. Example: lists.
	0: Tiny, left. Example: facilities
$args[2]: icon UI Display for vector art, 1 for on.
%/
<<widget "SlaveArt">>

<<if ndef $args[0].customImage>><<set $args[0].customImage = 0>><</if>>
<<if $args[0].customImage != 0>>
	<<set _fileFormat = ($args[0].customImageFormat || "png"),
		_fileName = "'resources/" + $args[0].customImage + "." + _fileFormat + "' ",
		_fileTypeStart = (_fileFormat === "webm" ? "video loop autoplay" : "img"),
		_fileTypeEnd = (_fileFormat === "webm" ? "</video>" : "")>>
	<<if $args[1] == 3>>
		<<print "<" + _fileTypeStart + " src=" + _fileName + "style='float:right; border:3px hidden'>" + _fileTypeEnd>>
	<<elseif $args[1] == 2>>
		<<print "<" + _fileTypeStart + " src=" + _fileName + "style='float:right; border:3px hidden' width='300' height='300'>" + _fileTypeEnd>>
	<<elseif $args[1] == 1>>
		<<print "<" + _fileTypeStart + " src=" + _fileName + "style='float:left; border:3px hidden' width='150' height='150'>" + _fileTypeEnd>>
	<<else>>
		<<print "<" + _fileTypeStart + " src=" + _fileName + "style='float:left; border:3px hidden' width='120' height='120'>" + _fileTypeEnd>>
	<</if>>

<<elseif $imageChoice == 1>> /* VECTOR ART BY NOX*/

<<if ndef $seeVectorArtHighlights>>
	<<set $seeVectorArtHighlights = 1>>
<</if>>
<<set _artSlave = $args[0] >>
<<silently>>
/* prepare HTML colour codes for slave display */
/* note: latex clothing is mostly emulated by rubber colour for skin (and shoes) */
/* TODO: consistently use american "color" instead of "colour" for all identifiers */
<<include Art_Vector_Set_Colour_Outfit_>>
<<include Art_Vector_Set_Colour_Skin_>>
<<include Art_Vector_Set_Colour_Hair_>>
<<include Art_Vector_Set_Colour_Shoe_>>
<</silently>>
<<include Art_Vector_Generate_Stylesheet_>>
/*
each passage adds one layer of vector art
vector art added later is drawn over previously added art
(what is listed on the bottom in the code appears on the top of the image)
*/
<<include Art_Vector_Hair_Back_>>
<<include Art_Vector_Arm_>>
<<include Art_Vector_Anal_Accessories_>>
<<include Art_Vector_Butt_>>
<<include Art_Vector_Leg_>>
<<include Art_Vector_Feet_>> /* includes shoes and leg outfits*/
<<include Art_Vector_Torso_>>
<<include Art_Vector_Pussy_>>
<<include Art_Vector_Pubic_Hair_>>
<<include Art_Vector_Pussy_Piercings_>>
<<include Art_Vector_Chastity_Belt_>>
<<include Art_Vector_Torso_Outfit_>> /* note: clothing covers chastity belts */
<<include Art_Vector_Balls_>>
<<include Art_Vector_Penis_>> /* for dicks behind boobs */
<<include Art_Vector_Belly_>> /* includes navel piercing and belly-related clothing options */
<<include Art_Vector_Boob_>> /* includes areolae and piercings */
<<include Art_Vector_Penis_>> /* for dicks in front of boobs */
<<include Art_Vector_Boob_Addons_>> /* piercings always appear in front of boobs AND dick */
<<include Art_Vector_Clavicle>>
<<include Art_Vector_Collar_>>
<<include Art_Vector_Head_>> /* includes glasses */
<<include Art_Vector_Hair_Fore_>>

<<elseif $imageChoice == 2>> /* VECTOR ART BY NOX - Pregmod Legacy Version */
<<SVGFilters>>

/* 000-250-006 */
/*
 */
/* 000-250-006 */

<<set _folderLoc = "'resources/vector">>

<<if $args[2] == 1>>
	<<print "">>
<</if>>

/% Set skin colour %/
<<set _skinFilter = "filter: url(#skin-" + _.kebabCase($args[0].skin) + ");">>
/% Set hair colour %/
<<set _hairFilter = "filter: url(#hair-" + _.kebabCase($args[0].hColor) + ");">>
<<set _underArmFilter = "filter: url(#hair-" + _.kebabCase($args[0].underArmHColor) + ");">>
<<set _pubesFilter = "filter: url(#hair-" + _.kebabCase($args[0].pubicHColor) + ");">>
<<set _axillaryFilter = "filter: url(#hair-" + _.kebabCase($args[0].underArmHColor) + ");">>
<<if $args[0].customHairVector>>
	<<set _hairStyle = $args[0].customHairVector>>
<<else>>
	<<set _hairStyle = ["neat", "up", "ponytail", "tails", "bun", "luxurious", "messy", "eary", "dreadlocks", "braided", "afro", "strip", "trimmed", "buzzcut"].includes($args[0].hStyle) ? $args[0].hStyle : "neat">>
<</if>>
<<set _underArmHStyle = $args[0].underArmHStyle>>

<<set _imgSkinLoc = _folderLoc + "/body/white">>

/% Shoulder width and arm or no arm %/
<<if $args[0].amp != 1>>
	<<if $args[0].devotion > 50>>
		<<set _leftArmType = "high">>
		<<set _rightArmType = "high">>
	<<elseif $args[0].trust >= -20>>
		<<if $args[0].devotion < -20>>
			<<set _leftArmType = "rebel">>
			<<set _rightArmType = "low">>
		<<elseif $args[0].devotion <= 20>>
			<<set _leftArmType = "low">>
			<<set _rightArmType = "low">>
		<<else>>
			<<set _leftArmType = "mid">>
			<<set _rightArmType = "high">>
		<</if>>
	<<else>>
		<<set _leftArmType = "mid">>
		<<set _rightArmType = "mid">>
	<</if>>

	<<if $args[0].fuckdoll == 0 && $args[0].clothes != "restrictive latex" && $args[0].clothes != "a latex catsuit">>
		<<print "">>
		<<if $args[0].underArmHStyle == "bushy">>
			<<= "">>
		<</if>>
	<<else>>
		<<if $args[0].fuckdoll != 0>>
			<<set _rightArmType = "mid">>
		<</if>>
		<<print "">>
	<</if>>

<<else>>
	<<if $args[0].fuckdoll == 0 && $args[0].clothes != "restrictive latex" && $args[0].clothes != "a latex catsuit" && $args[0].underArmHStyle == "bushy">>
		<<= "">>
	<</if>>
<</if>>

/% Hair Aft %/
<<if $args[0].hStyle != "shaved" && $args[0].fuckdoll == 0>>
	<<= "">>
<</if>>

/% Tailed Plug %/
<<if $args[0].buttplugAttachment == "tail">>
	<<= "">>
<</if>>

/% Butt %/
<<if $args[0].amp != 1>>
<<if $args[0].butt > 6>>
	<<set _buttSize = 3>>
<<elseif $args[0].butt > 4>>
	<<set _buttSize = 2>>
<<elseif $args[0].butt > 2>>
	<<set _buttSize = 1>>
<<else>>
	<<set _buttSize = 0>>
<</if>>
<<if $args[0].fuckdoll != 0 || $args[0].clothes == "restrictive latex" || $args[0].clothes == "a latex catsuit">>
	<<set _buttSize = _buttSize + " latex">>
	<<print "">>
<<else>>
	<<print "">>
<</if>>
<</if>>

/% Leg + 1 size up when chubby or fat%/
<<if $args[0].hips < 0>>
	<<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%/
		<<set _legSize = "wide">>
	<<else>>
		<<set _legSize = "normal">>
	<</if>>
<<elseif $args[0].hips > 0>>
	<<set _legSize = "wide">>
<</if>>
<<if $args[0].amp == 1>>
	<<set _legSize = "stump " + _legSize>>
<</if>>
<<if ($args[0].fuckdoll != 0 || $args[0].clothes == "restrictive latex" || $args[0].clothes == "a latex catsuit") && $args[0].amp != 1>>
	<<set _legSize = _legSize + " latex">>
	<<print "">>
<<else>>
	<<print "">>
<</if>>

/% Feet %/
<<if $args[0].amp != 1>>
<<if $args[0].shoes == "heels">>
	<<set _shoesType = "heel">>
<<elseif $args[0].shoes == "extreme heels">>
	<<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%/
		<<set _shoesType = "boot wide">>
	<<else>>
		<<set _shoesType = "boot">>
	<</if>>
<<elseif $args[0].shoes == "flats">>
	<<set _shoesType = "flat">>
<<else>>
	<<print "">>
<</if>>
<<if $args[0].shoes == "extreme heels" || $args[0].shoes == "boots">>
	<<if $args[0].fuckdoll != 0 || $args[0].clothes == "restrictive latex" || $args[0].clothes == "a latex catsuit">>
		<<set _shoesType = _shoesType + " latex">>
	<</if>>
	<<print "">>
<</if>>
<<if $args[0].shoes == "heels" || $args[0].shoes == "flats">>
	<<if $args[0].fuckdoll != 0 || $args[0].clothes == "restrictive latex" || $args[0].clothes == "a latex catsuit">>
		<<set _shoesType = _shoesType + " latex">>
		<<print "">>
	<<else>>
		<<print "">>
	<</if>>
<</if>>
<</if>>

/% Torso %/
<<if $args[0].waist < -40>>
	<<if $args[0].weight > 30>>
		<<set _torsoSize = "Hourglass">>
	<<else>>
		<<set _torsoSize = "Unnatural">>
	<</if>>
<<elseif $args[0].waist <= 10>>
	<<if $args[0].weight > 30>>
		<<set _torsoSize = "Normal">>
	<<else>>
		<<set _torsoSize = "Hourglass">>
	<</if>>
<<else>>
	<<set _torsoSize = "Normal">>
<</if>>
<<print "">>
<<set _torsoOutfit = false>>
<<if $args[0].fuckdoll != 0 || $args[0].clothes == "restrictive latex" || $args[0].clothes == "a latex catsuit">>
	<<set _torsoOutfit = " latex">>
<<elseif $args[0].clothes == "uncomfortable straps">>
	<<set _torsoOutfit = " straps">>
<</if>>
<<if _torsoOutfit>>
	<<print "">>
<</if>>

<<if $args[0].amp != 1>>
	<<if $args[0].fuckdoll == 0 && $args[0].clothes != "restrictive latex" && $args[0].clothes != "a latex catsuit">>
		<<if _leftArmType == "high">>
			<<print "">>
			<<if $args[0].underArmHStyle == "bushy">>
				<<= "">>
			<</if>>
		<<else>>
			<<if $args[0].underArmHStyle == "bushy">>
				<<= "">>
			<</if>>
			<<print "">>
		<</if>>
		<<print "">>
	<<else>>
		<<if $args[0].fuckdoll != 0>>
			<<set _leftArmType = "mid">>
		<</if>>
		<<print "">>
	<</if>>
<<else>>
	<<if $args[0].fuckdoll == 0 && $args[0].clothes != "restrictive latex" && $args[0].clothes != "a latex catsuit" && $args[0].underArmHStyle == "bushy">>
		<<= "">>
	<</if>>
<</if>>

/% Vagina %/
<<if $args[0].vagina >= 0>>
	<<print "">>
	<<if $args[0].clitPiercing == 1>>
		<<print "">>
	<<elseif $args[0].clitPiercing == 2>>
		<<print "">>
	<<elseif $args[0].clitPiercing == 3>>
		<<print "">>
	<</if>>
	<<if $args[0].vaginaPiercing == 1>>
		<<print "">>
	<<elseif $args[0].vaginaPiercing == 2>>
		<<print "">>
	<</if>>
<</if>>

/% Collar %/
<<switch $args[0].collar>>
<<case "bowtie">>
<<case "ancient Egyptian">>
<<case "nice retirement counter" "cruel retirement counter" "leather with cowbell" "pretty jewelry" "heavy gold" "satin choker" "stylish leather" "neck corset" "shock punishment" "tight steel" "uncomfortable leather" "dildo gag">>
	<<print "">>
<</switch>>

/% Head base image %/
<<if $args[0].fuckdoll != 0 || $args[0].clothes == "restrictive latex" || $args[0].clothes == "a latex catsuit">>
	<<print "">>
<<else>>
	<<print "">>
<</if>>

/% Glasses %/
<<if $args[0].eyewear == "corrective glasses" || $args[0].eyewear == "glasses" || $args[0].eyewear == "blurring glasses">>
	<<print "">>
<</if>>

/% Chastity belt or Pubic hair %/
<<if $args[0].dickAccessory == "chastity" || $args[0].dickAccessory == "anal chastity" || $args[0].dickAccessory == "combined chastity" || $args[0].vaginalAccessory == "chastity belt" || $args[0].vaginalAccessory == "anal chastity" || $args[0].vaginalAccessory == "combined chastity">>
	<<if $args[0].dickAccessory == "chastity" || $args[0].dickAccessory == "combined chastity">>
		<<print "">>
	<</if>>
	<<if $args[0].vaginalAccessory == "chastity belt" || $args[0].vaginalAccessory == "combined chastity">>
		<<print "">>
	<</if>>
	<<print "">>
<<else>>
	<<if $args[0].pubicHStyle != "waxed">>
		<<set _pubicHStyle = ($args[0].pubicHStyle == "in a strip" ? "strip" : $args[0].pubicHStyle)>>
		<<= "">>
	<</if>>
<</if>>

/%if pregnant or has a belly%/
<<if $args[0].belly >= 5000>>
	<<print "">>
	<<if $args[0].navelPiercing >= 1>>/*Navel Piercing*/
		<<print "">>
	<</if>>
	<<if $args[0].navelPiercing == 2>>
		<<print "">>
	<</if>>
<<elseif $args[0].belly <= -100>> /* condition is currently reversed until the vector can be fixed */
	<<print "">>
	/*
	<<if $args[0].navelPiercing >= 1>>/Navel Piercing/
		<<print "">>
	<</if>>
	<<if $args[0].navelPiercing == 2>>
		<<print "">>
	<</if>>
	*/
<<else>>
	/*Navel Piercing*/
	<<if $args[0].navelPiercing >= 1>>
		<<print "">>
	<</if>>
	<<if $args[0].navelPiercing == 2>>
		<<print "">>
	<</if>>
<</if>>

/% Boob %/
<<if $args[0].boobs < 300>>
	<<set _boobSize = 0>>
<<elseif $args[0].boobs < 500>>
	<<set _boobSize = 1>>
<<elseif $args[0].boobs < 800>>
	<<set _boobSize = 2>>
<<elseif $args[0].boobs < 1600>>
	<<set _boobSize = 3>>
<<elseif $args[0].boobs < 3200>>
	<<set _boobSize = 4>>
<<elseif $args[0].boobs < 6400>>
	<<set _boobSize = 5>>
<<elseif $args[0].boobs < 12000>>
	<<set _boobSize = 6>>
<<else>>
	<<set _boobSize = 7>>
<</if>>

/% Scrotum %/
<<if $args[0].scrotum > 0>>
	<<if $args[0].scrotum >= 6>>
		<<set _ballSize = 4>>
	<<elseif $args[0].scrotum >= 4>>
		<<set _ballSize = 3>>
	<<elseif $args[0].scrotum >= 3>>
		<<set _ballSize = 2>>
	<<elseif $args[0].scrotum >= 2>>
		<<set _ballSize = 1>>
	<<else>>
		<<set _ballSize = 0>>
	<</if>>
<</if>>

/% Penis %/
<<if $args[0].dick > 0>>
	<<if $args[0].dick >= 8>>
		<<set _penisSize = 6>>
	<<elseif $args[0].dick >= 7>>
		<<set _penisSize = 5>>
	<<elseif $args[0].dick >= 6>>
		<<set _penisSize = 4>>
	<<elseif $args[0].dick >= 5>>
		<<set _penisSize = 3>>
	<<elseif $args[0].dick >= 4>>
		<<set _penisSize = 2>>
	<<elseif $args[0].dick >= 2>>
		<<set _penisSize = 1>>
	<<else>>
		<<set _penisSize = 0>>
	<</if>>
<</if>>

/% Boob %/
<<set _needBoobs = 1>>
<<if $args[0].dick > 0>>
<<if canAchieveErection($args[0])>>
<<if _boobSize < 6>>
	<<if $args[0].fuckdoll != 0 || $args[0].clothes == "restrictive latex" || $args[0].clothes == "a latex catsuit">>
		/* normal case: outfit hides boobs */
		<<set _boobOutfit = " latex" >>
	<</if>>
	<<if _boobOutfit >>
		<<print "">>
		<<if $args[0].lactation > 0>>
			<<print "">>
		<</if>>
	<<else>>
		<<print "">>
		<<print "">>
	<</if>>
	/* special case: straps are actually dawn over the boobs */
	<<if $args[0].clothes == "uncomfortable straps">>
		<<set _boobOutfit = " straps" >>
		<<print "">>
	<</if>>
	<<set _needBoobs = 0>>
<</if>>
<</if>>
<</if>>
<<if $args[0].vagina > 0>>
	<<if $args[0].dick > 0>>

		<<if $args[0].scrotum > 0>>
			<<print "">>
		<</if>>
		<<if canAchieveErection($args[0])>>
			<<print "">>
		<<else>>
			<<print "">>
			<<if $args[0].dickAccessory == "chastity" || $args[0].dickAccessory == "combined chastity">>
				<<print "">>
			<</if>>
		<</if>>

	<</if>>
<<else>>
	<<if $args[0].dick > 0>>

		<<if $args[0].scrotum > 0>>
			<<print "">>
		<</if>>
		<<if canAchieveErection($args[0])>>
			<<print "">>
		<<else>>
			<<print "">>
			<<if $args[0].dickAccessory == "chastity" || $args[0].dickAccessory == "combined chastity">>
				<<print "">>
			<</if>>
		<</if>>

	<</if>>
<</if>>
<<if _needBoobs>>
	<<if $args[0].fuckdoll != 0 || $args[0].clothes == "restrictive latex" || $args[0].clothes == "a latex catsuit">>
		<<print "">>
		<<if $args[0].lactation > 0>><<print "">><</if>>
	<<else>>
		<<print "">>
		<<print "">>
	<</if>>
	/* special case: straps are actually dawn over the boobs */
	<<if $args[0].clothes == "uncomfortable straps">>
		<<set _boobOutfit = " straps" >>
		<<print "">>
	<</if>>
<</if>>

/% piercings %/
<<if $args[0].nipplesPiercing == 1>>
	<<print "">>
<<elseif $args[0].nipplesPiercing == 2>>
	<<print "">>
<</if>>
<<if $args[0].areolaePiercing == 1>>
	<<print "">>
<</if>>

/% clavicle %/
<<print "">>

/% Hair Foreground %/
<<if $args[0].hStyle != "shaved" && $args[0].fuckdoll == 0>>
	<<= "">>
<</if>>

<<elseif $imageChoice == 3>> /* VECTOR ART REVAMP*/
	<<include Art_Vector_Revamped_Control_>>
<<else>> /* RENDERED IMAGES BY SHOKUSHU */

	<<= ArtControlRendered($args[0], $args[1])>>

<</if>> /* CLOSES IMAGE CHOICE */

<</widget>>


code:
:: Art_Vector_Anal_Accessories_ [nobr]

<<if _artSlave.buttplug == "long plug">>
	<<include Art_Vector_Plug_Long>>
<<elseif _artSlave.buttplug == "large plug">>
	<<include Art_Vector_Plug_Large>>
<<elseif _artSlave.buttplug == "long, large plug">>
	<<include Art_Vector_Plug_Large_Long>>
<<elseif _artSlave.buttplug == "huge plug">>
	<<include Art_Vector_Plug_Huge>>
<<elseif _artSlave.buttplug == "long, huge plug">>
	<<include Art_Vector_Plug_Huge_Long>>
<</if>>
<<if _artSlave.buttplugAttachment == "tail">>
	<<include Art_Vector_Plug_Tail>>
<</if>>
<<if _artSlave.buttplugAttachment == "cat tail">>
	<<include Art_Vector_Cat_Tail>>
<</if>>


code:
:: Art_Vector_Arm_ [nobr]

/* Arms position switch courtesy of Nov-X */
/* Updated 2018-10-25 by Fr0g */
/* - changed arm calculation block position*/
/* - added brackets to make boolean logic run */

<<if _artSlave.amp == 1>>
	<<set _leftArmType = "None">>
	<<set _rightArmType = "None">>
	<<set _art = "Art_Vector_Arm_Right_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_"+_leftArmType >>
	<<include _art>>
<<else>> /* not amputee so running arm calculation block */
	<<if _artSlave.weight <= 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<<elseif _artSlave.weight > 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<</if>>
<</if>>

<<if _artSlave.amp == 0>>
	<<set _art = "Art_Vector_Arm_Right_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_"+_leftArmType >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -1 && (_artSlave.PLimb == 1 || _artSlave.PLimb == 2)>>
	<<set _art = "Art_Vector_Arm_Right_ProstheticBasic_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_ProstheticBasic_"+_leftArmType >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -2 && (_artSlave.PLimb == 1 || _artSlave.PLimb == 2)>>
	<<set _art = "Art_Vector_Arm_Right_ProstheticSexy_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_ProstheticSexy_"+_leftArmType >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -3 && (_artSlave.PLimb == 1 || _artSlave.PLimb == 2)>>
/* Reverting beauty limbs to regular SVG */
	<<set _art = "Art_Vector_Arm_Right_ProstheticBeauty_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_ProstheticBeauty_"+_leftArmType >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -4 && (_artSlave.PLimb == 1 || _artSlave.PLimb == 2)>>
	<<set _art = "Art_Vector_Arm_Right_ProstheticCombat_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_ProstheticCombat_"+_leftArmType >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -5 && (_artSlave.PLimb == 1 || _artSlave.PLimb == 2)>>
	<<set _art = "Art_Vector_Arm_Right_ProstheticSwiss_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_ProstheticSwiss_"+_leftArmType >>
	<<include _art>>
<</if>>

/* shiny clothings */
<<if $seeVectorArtHighlights == 1>>
	<<if _artSlave.fuckdoll != 0 || _artSlave.clothes == "restrictive latex" || _artSlave.clothes == "a latex catsuit" || _artSlave.clothes == "body oil">>
		/* only some arm positions have art (feel free to add more) */
		<<switch _leftArmType>>
		<<case "High">>
			<<include Art_Vector_Arm_Outfit_Shine_Left_High>>
		<<case "Mid">>
		<<include Art_Vector_Arm_Outfit_Shine_Left_Mid>>
		<<case "Low">>
			<<include Art_Vector_Arm_Outfit_Shine_Left_Low>>
		<<default>>
			/* no art for this arm position */
		<</switch>>
	<</if>>
<</if>>

/* TODO: simplify selection (select prefix, infix and suffix and combine instead of using switch statemens) */

<<switch _artSlave.clothes>>

<<case "a hijab and abaya" "cutoffs and a t-shirt" "battledress" "conservative clothing" "a huipil" "a kimono" "a nice maid outfit" "a military uniform" "a nice nurse outfit" "a slutty nurse outfit" "a schoolgirl outfit" "Western clothing" "a slutty qipao" "nice business attire" "slutty business attire" "a schutzstaffel uniform" "a red army uniform" "slutty jewelry" "a cheerleader outfit" "clubslut netting" "battlearmor" "a dirndl" "a biyelgee costume" "lederhosen" "a mounty outfit" "a long qipao" "a klan robe" "a hijab and blouse" "a burkini" "a slutty klan robe" "a button-up shirt" "a button-up shirt and panties" "a t-shirt" "a t-shirt and panties" "a t-shirt and thong" "sport shorts and a t-shirt" "a t-shirt and jeans" "an oversized t-shirt" "an oversized t-shirt and boyshorts" "a sweater" "a sweater and cutoffs" "a sweater and panties" "a police uniform" "a hanbok" "a gothic lolita dress">>
	<<set _rightArmArt = "Art_Vector_Arm_Outfit_" + clothing2artSuffix(_artSlave.clothes) + "_Right_" + _rightArmType>>
	<<set _leftArmArt = "Art_Vector_Arm_Outfit_" + clothing2artSuffix(_artSlave.clothes) + "_Left_" + _leftArmType>>
	<<include _rightArmArt>>
	<<include _leftArmArt>>

<<case "a slutty schutzstaffel uniform">>
	<<set _rightArmArt = "Art_Vector_Arm_Outfit_SchutzstaffelUniform_Right_" + _rightArmType>>
	<<set _leftArmArt = "Art_Vector_Arm_Outfit_SchutzstaffelUniform_Left_" + _leftArmType>>
	<<include _rightArmArt>>
	<<include _leftArmArt>>

<<case "a niqab and abaya" "a burqa">>
	<<set _rightArmArt = "Art_Vector_Arm_Outfit_HijabAndAbaya_Right_" + _rightArmType>>
	<<set _leftArmArt = "Art_Vector_Arm_Outfit_HijabAndAbaya_Left_" + _leftArmType>>
	<<include _rightArmArt>>
	<<include _leftArmArt>>

<<case "a slave gown">>
		/* only some arm positions have art (feel free to add more) */
		<<switch _leftArmType>>
		<<case "High">>
			<<include Art_Vector_Arm_Outfit_SlaveGown_Left_High>>
		<<case "Mid">>
			<<include Art_Vector_Arm_Outfit_SlaveGown_Left_Mid>>
		<<case "Low">>
			<<include Art_Vector_Arm_Outfit_SlaveGown_Left_Low>>
		<<default>>
			/* no art for this arm position */
		<</switch>>

<</switch>>


code:
:: Art_Vector_Belly_ [nobr]

/* default: do no scaling (for addons on flat bellies) */
<<set _art_transform = "">>

<<if _artSlave.belly >= 2000>>
	/* add pregnancy belly, scale dynamically (clothing and addons can be scaled, too) */
	<<set _art_belly_scale_factor = 0.300*Math.log(0.011*_artSlave.belly) >>
	/* TODO: add check in penis control. do not draw penis atop belly if _art_belly_scale_factor > 1. */
	<<set _art_scale_factor = _art_belly_scale_factor >>
	<<set _art_translation_x = -262*(_art_scale_factor-1) >>
	<<set _art_translation_y = -284*(_art_scale_factor-1) >>
	<<set _art_belly_transform = "matrix(" + _art_scale_factor +",0,0," + _art_scale_factor + "," + _art_translation_x + "," + _art_translation_y + ")">>
	<<set _art_transform = _art_belly_transform>>
	<<if _artSlave.navelPiercing == 1>>
		<<include Art_Vector_Belly_Pregnant_Piercing>>
	<<elseif _artSlave.navelPiercing == 2>>
		<<include Art_Vector_Belly_Pregnant_Piercing_Heavy>>
	<<else>>
			<<include Art_Vector_Belly>>
	<</if>>

	<<set _clothes = _artSlave.clothes>>
	<<switch _artSlave.clothes >>
	/* handling special cases */
	<<case "a slutty schutzstaffel uniform" >>
		<<set _clothes = "a schutzstaffel uniform">> /* slutty schutzstaffel uniform uses schutzstaffel uniform art */
	<<case "a niqab and abaya" "a burqa" >>
		<<set _clothes = "a hijab and abaya">>
	<</switch>>
	<<switch _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 leotard" "a maternity dress" "a military uniform" "a mini dress" "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" "clubslut netting" "conservative clothing" "cutoffs and a t-shirt" "nice business attire" "slutty business attire" "spats and a tank top" "Western clothing" "a long qipao" "battlearmor" "a biyelgee costume" "lederhosen" "a dirndl" "a mounty outfit" "a button-up shirt" "a button-up shirt and panties">>
		<<set _art_outfit = clothing2artSuffix(_clothes) >>
		<<set _art = "Art_Vector_Belly_Outfit_"+_art_outfit >>
		<<include _art >>
	<</switch>>

	/* shiny clothings */
	<<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 >>
		<</if>>
	<</if>>
<</if>>

/* belly piercings for flat bellies */
<<if _artSlave.belly == 0>>
	<<if _artSlave.navelPiercing == 1>>
		<<include Art_Vector_Belly_Piercing>>
	<</if>>
	<<if _artSlave.navelPiercing == 2>>
		<<include Art_Vector_Belly_Piercing_Heavy>>
	<</if>>
<</if>>

/* Torso Accessories */
<<if _artSlave.bellyAccessory == "a corset" && _torsoSize == "Normal" && _artSlave.belly == 0>>
	<<include Art_Vector_Corsetnormal>>
<</if>>
<<if _artSlave.bellyAccessory == "a corset" && _torsoSize == "Hourglass" && _artSlave.belly == 0>>
	<<include Art_Vector_Corsethourglass>>
<</if>>
<<if _artSlave.bellyAccessory == "a corset" && _torsoSize == "Unnatural" && _artSlave.belly == 0>>
	<<include Art_Vector_Corsetunnatural>>
<</if>>
<<if _artSlave.bellyAccessory == "an extreme corset" && _torsoSize == "Normal" && _artSlave.belly == 0>>
	<<include Art_Vector_Corsetnormal>>
<</if>>
<<if _artSlave.bellyAccessory == "an extreme corset" && _torsoSize == "Hourglass" && _artSlave.belly == 0>>
	<<include Art_Vector_Corsethourglass>>
<</if>>
<<if _artSlave.bellyAccessory == "an extreme corset" && _torsoSize == "Unnatural" && _artSlave.belly == 0>>
	<<include Art_Vector_Corsetunnatural>>
<</if>>
<<if _artSlave.bellyAccessory == "a small empathy belly">>
	<<include Art_Vector_Empathy_Belly_Small>>
<</if>>
<<if _artSlave.bellyAccessory == "a medium empathy belly">>
	<<include Art_Vector_Empathy_Belly_Medium>>
<</if>>
<<if _artSlave.bellyAccessory == "a large empathy belly">>
	<<include Art_Vector_Empathy_Belly_Large>>
<</if>>
<<if _artSlave.bellyAccessory == "a huge empathy belly">>
	<<include Art_Vector_Empathy_Belly_Huge>>
<</if>>


code:
:: Art_Vector_Body_Clothing_Control_ [nobr]

<<set _eyeBallColor = "#ffffff">>

<<if _artSlave.eyeColor != "">>
	<<if _artSlave.eyeColor.split(" ").length > 1>>
		<<set _eyeLens = _artSlave.eyeColor.split(" ")[0]>>

		<<if _eyeLens == "demonic">>
			<<set _eyeBallColor = _eyeColor>>
		<<elseif _eyeLens == "devilish">>
			<<set _eyeBallColor = "#000000">>
		<</if>>
	<</if>>
<</if>>

<<set _muscles_value = _artSlave.muscles + 101>>
<<set _art_muscle_visibility = 0.910239*Math.log(0.02*_muscles_value) >>

<<set _showEyes = 1>>
<<set _showLips = 1>>
<<set _showMouth = 1>>
<<set _showPubic = 1>>
<<set _showPussy = _artSlave.vagina >= 0>>
<<set _showArmHair = 1>>
<<set _showHair = _artSlave.hStyle != "shaved">>
<<set _showBoobs = 1>>
<<set _showNipples = 1>>
<<set _showArmHighlight = 0>>
<<set _showTorsoHighlight = 0>>
<<set _showLegHighlight = 0>>
<<set _showBoobsHighlight = 0>>
<<set _showEyesHighlight = 1>>
<<set _showHeadHighlight = 1>>
<<set _showBellyPiercings = 1>>
<<set _showNipplePiercings = 1>>
<<set _chastityAnal = _artSlave.dickAccessory == "anal chastity" || _artSlave.dickAccessory == "combined chastity" || _artSlave.vaginalAccessory == "anal chastity" || _artSlave.vaginalAccessory == "combined chastity" >>

<<set _chastityVaginal = _artSlave.vaginalAccessory == "chastity belt" || _artSlave.vaginalAccessory == "combined chastity">>

<<if _artSlave.fuckdoll > 0>>
	<<set _showEyes = 0>>
	<<set _showPubic = 0>>
	<<set _showArmHair = 0>>
	<<set _showHair = 0>>
	<<set _showArmHighlight = 1>>
	<<set _showTorsoHighlight = 1>>
	<<set _showBoobsHighlight = 1>>
	<<set _showLegHighlight = 1>>
	<<set _showHeadHighlight = 1>>
<</if>>

<<if _artSlave.clothes == "a nice maid outfit">>
	<<set _showPubic = 0>>
	<<set _showBoobs = 0>>
	<<set _showBellyPiercings = 0>>
	<<set _showNipplePiercings = 0>>
	<<set _showNipples = 0>>
<</if>>

<<if _artSlave.clothes == "a slutty maid outfit">>
	<<set _showBellyPiercings = 0>>
<</if>>

<<if _artSlave.clothes == "restrictive latex">>
	<<set _showEyes = 0>>
	<<set _showPubic = 0>>
	<<set _showArmHair = 0>>
	<<set _showHair = 0>>
	<<set _showArmHighlight = 1>>
	<<set _showTorsoHighlight = 1>>
	<<set _showLegHighlight = 1>>
	<<set _showHeadHighlight = 1>>
	<<set _showBellyPiercings = 0>>
<</if>>

<<if _artSlave.clothes == "a latex catsuit">>
	<<set _showPubic = 0>>
	<<set _showArmHair = 0>>
	<<set _showArmHighlight = 1>>
	<<set _showTorsoHighlight = 1>>
	<<set _showLegHighlight = 1>>
	<<set _showBoobsHighlight = 1>>
	<<set _showHeadHighlight = 1>>
	<<set _showBellyPiercings = 0>>
	<<set _showNipplePiercings = 0>>
	<<set _chastityAnal = 0>>
	<<set _chastityVaginal = 0>>
<</if>>

<<if $showBodyMods == 0>>
	<<set _showNipplePiercings = 0>>
<</if>>

<<if $seeVectorArtHighlights == 1>>
	<<set _showArmHighlight = 0>>
	<<set _showTorsoHighlight = 0>>
	<<set _showLegHighlight = 0>>
	<<set _showBoobsHighlight = 0>>
<</if>>


code:
:: Art_Vector_Butt_ [nobr]

/* BEWARE: _buttSize is also used in Art_Vector_Leg_ */
/* Updated 2018-10-25 by Fr0g */
/* - changed size calculation block */

/* Size calculations - needs to be done even for amputees */
<<if _artSlave.butt >= 7>>
	<<set _buttSize = 6>>
<<elseif _artSlave.butt >= 6>>
	<<set _buttSize = 5>>
<<elseif _artSlave.butt >= 5>>
	<<set _buttSize = 4>>
	<<elseif _artSlave.butt >= 4>>
	<<set _buttSize = 3>>
	<<elseif _artSlave.butt >= 3>>
	<<set _buttSize = 2>>
	<<elseif _artSlave.butt >= 2>>
	<<set _buttSize = 1>>
	<<else>>
	<<set _buttSize = 0>>
<</if>>

<<if _artSlave.amp == 0>>
	<<set _art = "Art_Vector_Butt_"+_buttSize >>
	<<include _art >>
<</if>>

<<if _artSlave.amp == -1>>
	<<set _art = "Art_Vector_Butt_ProstheticBasic_"+_buttSize >>
	<<include _art >>
<</if>>

<<if _artSlave.amp == -2>>
	<<set _art = "Art_Vector_Butt_ProstheticSexy_"+_buttSize >>
	<<include _art >>
<</if>>

<<if _artSlave.amp == -3>>
/* reverted to regular SVG to match description */
	<<set _art = "Art_Vector_Butt_ProstheticBeauty_"+_buttSize >>
	<<include _art >>
<</if>>

<<if _artSlave.amp == -4>>
	<<set _art = "Art_Vector_Butt_ProstheticCombat_"+_buttSize >>
	<<include _art >>
<</if>>

<<if _artSlave.amp == -5>>
	<<set _art = "Art_Vector_Butt_ProstheticSwiss_"+_buttSize >>
	<<include _art >>
<</if>>


code:
:: Art_Vector_Collar_ [nobr]

/* TODO: find out where "uncomfortable leather" collar art went */

<<switch _artSlave.collar>>
<<case "leather with cowbell">>
<<include Art_Vector_Collar_Cowbell >>
<<case "heavy gold">>
<<include Art_Vector_Collar_Gold_Heavy >>
<<case "neck corset">>
<<include Art_Vector_Collar_Neck_Corset >>
<<case "pretty jewelry">>
<<include Art_Vector_Collar_Pretty_Jewelry >>
<<case "cruel retirement counter">>
<<include Art_Vector_Collar_Retirement_Cruel >>
<<case "nice retirement counter">>
<<include Art_Vector_Collar_Retirement_Nice >>
<<case "satin choker">>
<<include Art_Vector_Collar_Satin_Choker >>
<<case "shock punishment">>
<<include Art_Vector_Collar_Shock_Punishment >>
<<case "stylish leather">>
<<include Art_Vector_Collar_Stylish_Leather >>
<<case "tight steel">>
<<include Art_Vector_Collar_Tight_Steel >>
<<case "uncomfortable leather">>
<<include Art_Vector_Collar_Leather_Cruel >>
<<case "silk ribbon">>
<<include Art_Vector_Collar_Silk_Ribbon >>
<<case "bowtie">>
<<include Art_Vector_Collar_Bowtie >>
<<case "ancient Egyptian">>
<<include Art_Vector_Collar_Ancientegyptian >>
<<default>>
/* collar not supported - don't display anything */
<</switch>>


code:
:: Art_Vector_Generate_Stylesheet_ [nobr]

/* _art_display_class is the style class for this display */
<<if _art_display_id > 0 >>
	<<set _art_display_id += 1>>
<<else>>
	<<set _art_display_id = 1>>
<</if>>
<<set _art_display_class = "ad"+_art_display_id >>

<<print "<style>."+_art_display_class+" {
    position: absolute;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}
."+_art_display_class+" .white   { fill:#FFFFFF; }
."+_art_display_class+" .skin    { fill:"+_skinColour+"; }
."+_art_display_class+" .head    { "+_headSkinStyle+"; }
."+_art_display_class+" .torso   { "+_torsoSkinStyle+"; }
."+_art_display_class+" .boob    { "+_boobSkinStyle+"; }
."+_art_display_class+" .penis   { "+_penisSkinStyle+"; }
."+_art_display_class+" .scrotum { "+_scrotumSkinStyle+"; }
."+_art_display_class+" .belly   { "+_bellySkinStyle+"; }
."+_art_display_class+" .areola  { fill:"+_areolaStyle+"; }
."+_art_display_class+" .labia   { fill:"+_labiaStyle+"; }
."+_art_display_class+" .hair    { fill:"+_hairColour+"; }
."+_art_display_class+" .pubic_hair     { fill:"+_pubicHairColour+"; }
."+_art_display_class+" .underarm_hair  { fill:"+_underarmHairColour+"; }
."+_art_display_class+" .shoe    { fill:"+_shoeColour+"; }
."+_art_display_class+" .shoe_shadow    { fill:"+_shoeShadowColour+"; }
."+_art_display_class+" .smart_piercing { fill:#4DB748; }
."+_art_display_class+" .steel_piercing { fill:#787878; }
."+_art_display_class+" .steel_chastity { fill:#BABABA; }
."+_art_display_class+" .outfit_base  { fill:"+_outfitBaseColour+"; }
."+_art_display_class+" .gag     { fill:#BF2126; }
."+_art_display_class+" .shadow  { fill:#010101; }
."+_art_display_class+" .glasses { fill:"+_glassesColor+"; }
."+_art_display_class+" .eye	 { fill:"+_eyeColor+"; }
</style>" >>


code:
:: Art_Vector_Hair_Back_ [nobr]

<<if _artSlave.fuckdoll != 0>>
	<<include Art_Vector_Hair_Back_NoHair>>
<<else>>
	<<if _artSlave.clothes != "restrictive latex" && _artSlave.clothes != "a hijab and abaya" && _artSlave.clothes != "a chattel habit" && _artSlave.clothes != "a fallen nuns habit" && _artSlave.clothes != "a penitent nuns habit" && _artSlave.clothes != "a cybersuit" && _artSlave.clothes != "Western clothing" && _artSlave.clothes != "a military uniform" && _artSlave.clothes != "a schutzstaffel uniform" && _artSlave.clothes != "a slutty schutzstaffel uniform" && _artSlave.clothes != "a red army uniform" && _artSlave.clothes != "battlearmor" && _artSlave.clothes != "a biyelgee costume" && _artSlave.clothes != "a mounty outfit" && _artSlave.clothes != "a slutty nurse outfit" && _artSlave.clothes != "a niqab and abaya" && _artSlave.clothes != "a burqa" && _artSlave.clothes != "a klan robe" && _artSlave.clothes != "a hijab and blouse" && _artSlave.clothes != "a burkini" && _artSlave.clothes != "a slutty klan robe" && _artSlave.clothes != "a police uniform">>
		<<switch _artSlave.hStyle>>
		<<case "buzzcut" "shaved" "shaved bald">>
			<<include Art_Vector_Hair_Back_NoHair>>
		<<case "strip">>
			<<if _artSlave.hLength >=0>>
				<<include Art_Vector_Hair_Back_NoHair>>
			<</if>>
		<<case "permed">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Permed_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Permed_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Permed_Short>>
			<</if>>
		<<case "up">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Up_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Up_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Up_Short>>
			<</if>>
		<<case "neat">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Neat_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Neat_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Neat_Short>>
			<</if>>
		<<case "ponytail">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Ponytail_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Ponytail_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Ponytail_Short>>
			<</if>>
		<<case "bun">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Bun_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Bun_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Bun_Short>>
			<</if>>
		<<case "curled">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Curled_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Curled_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Curled_Short>>
			<</if>>
		<<case "eary">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Eary_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Eary_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Eary_Short>>
			<</if>>
		<<case "luxurious">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Luxurious_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Luxurious_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Luxurious_Short>>
			<</if>>
		<<case "afro">>
			<<if _artSlave.hLength >= 150>>
				<<include Art_Vector_Hair_Back_Afro_Giant>>
			<<elseif _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Afro_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Afro_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Afro_Short>>
			<</if>>
		<<case "messy">> /* this isn't an option in salon.tw. What should it be? */
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Messy_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Messy_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Messy_Short>>
			<</if>>
		<<case "dreadlocks">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Dreadlocks_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Dreadlocks_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Dreadlocks_Short>>
			<</if>>
		<<case "cornrows">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Cornrows_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Cornrows_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Cornrows_Short>>
			<</if>>
		<<case "braided">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Braided_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Braided_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Braided_Short>>
			<</if>>
		<<case "tails">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Tails_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Tails_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Tails_Short>>
			<</if>>
		<<case "messy bun">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Back_Ninja_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Back_Ninja_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Back_Ninja_Short>>
			<</if>>
		<<default>>
			<<include Art_Vector_Hair_Back_Messy_Medium>>
		<</switch>>
	<</if>>
<</if>>

/* note: latex clothing actually shows some hair, but there is no appropriate art for it */

<<if _artSlave.collar == "cat ears">>
	<<include Art_Vector_Cat_Ear_Back>>
<</if>>


code:
:: Art_Vector_Hair_Fore_ [nobr]

/* TODO: simplify */
<<if _artSlave.fuckdoll != 0>>
	<<include Art_Vector_Hair_Fore_NoHair>>
<<else>>
	<<if _artSlave.clothes != "restrictive latex" && _artSlave.clothes != "a hijab and abaya" && _artSlave.clothes != "a chattel habit" && _artSlave.clothes != "a fallen nuns habit" && _artSlave.clothes != "a penitent nuns habit" && _artSlave.clothes != "a cybersuit" && _artSlave.clothes != "Western clothing" && _artSlave.clothes != "a military uniform" && _artSlave.clothes != "a schutzstaffel uniform" && _artSlave.clothes != "a slutty schutzstaffel uniform" && _artSlave.clothes != "a red army uniform" && _artSlave.clothes != "battlearmor" && _artSlave.clothes != "a biyelgee costume" && _artSlave.clothes != "a mounty outfit" && _artSlave.clothes != "a slutty nurse outfit" && _artSlave.clothes != "a niqab and abaya" && _artSlave.clothes != "a burqa" && _artSlave.clothes != "a klan robe" && _artSlave.clothes != "a hijab and blouse" && _artSlave.clothes != "a burkini" && _artSlave.clothes != "a slutty klan robe" && _artSlave.clothes != "a police uniform">>
		<<switch _artSlave.hStyle>>
		<<case "buzzcut" "shaved" "shaved bald">>
			<<include Art_Vector_Hair_Fore_NoHair>>
		<<case "permed">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Permed_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Permed_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Permed_Short>>
			<</if>>
		<<case "up">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Up_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Up_Med>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Up_Short>>
			<</if>>
		<<case "neat">>
			<<include Art_Vector_Hair_Fore_Neat>>
		<<case "ponytail">>
			<<include Art_Vector_Hair_Fore_Ponytail>>
		<<case "bun">>
			<<include Art_Vector_Hair_Fore_Bun>>
		<<case "curled">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Curled_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Curled_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Curled_Short>>
			<</if>>
		<<case "eary">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Eary_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Eary_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Eary_Short>>
			<</if>>
		<<case "luxurious">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Luxurious_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Luxurious_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Luxurious_Short>>
			<</if>>
		<<case "afro">>
			<<if _artSlave.hLength >= 150>>
				<<include Art_Vector_Hair_Fore_Afro_Giant>>
			<<elseif _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Afro_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Afro_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Afro_Short>>
			<</if>>
		<<case "messy">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Messy_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Messy_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Messy_Short>>
			<</if>>
		<<case "dreadlocks">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Dreadlocks_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Dreadlocks_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Dreadlocks_Short>>
			<</if>>
		<<case "cornrows">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Cornrows_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Cornrows_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Cornrows_Short>>
			<</if>>
		<<case "braided">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Braided_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Braided_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Braided_Short>>
			<</if>>
		<<case "tails">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Tails_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Tails_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Tails_Short>>
			<</if>>
		<<case "strip">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Strip_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Strip_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Strip_Short>>
			<</if>>
		<<case "messy bun">>
			<<if _artSlave.hLength >= 60>>
				<<include Art_Vector_Hair_Fore_Ninja_Long>>
			<<elseif _artSlave.hLength >= 30>>
				<<include Art_Vector_Hair_Fore_Ninja_Medium>>
			<<elseif _artSlave.hLength >= 10>>
				<<include Art_Vector_Hair_Fore_Ninja_Short>>
			<</if>>
		<<default>>
			<<include Art_Vector_Hair_Fore_Messy_Medium>>
		<</switch>>
	<</if>>
<</if>>
/* note: latex clothing actually shows some hair, but there is no appropriate art for it */

<<if _artSlave.collar == "cat ears">>
	<<include Art_Vector_Cat_Ear_Fore>>
<</if>>


code:
:: Art_Vector_Head_ [nobr]

<<include Art_Vector_Head>>

/* shiny clothings */
<<if $seeVectorArtHighlights == 1>>
	<<if _artSlave.fuckdoll != 0 || _artSlave.clothes == "restrictive latex" || _artSlave.clothes == "a latex catsuit">>
		<<include Art_Vector_Head_Outfit_Shine>>
	<</if>>
<</if>>

<<if _artSlave.clothes != "restrictive latex">>
	<<if _artSlave.markings == "beauty mark">>
		<<include Art_Vector_Beauty_Mark>>
	<</if>>
	<<if _artSlave.markings == "freckles">>
		<<include Art_Vector_Freckles>>
	<</if>>
	<<if _artSlave.markings == "heavily freckled">>
		<<include Art_Vector_Freckles_Heavy>>
	<</if>>
	<<if _artSlave.markings == "birthmark">>
		<<include Art_Vector_Birthmark>>
	<</if>>
	<<if _artSlave.minorInjury == "black eye">>
		<<include Art_Vector_Black_Eye>>
	<</if>>
<</if>>

/* FACIAL APPEARANCE */
<<if $seeFaces > 0>>
<<if _artSlave.clothes != "restrictive latex">>
	<<if _artSlave.race == "white" || _artSlave.race == "southern european">>
		<<if _artSlave.faceShape == "normal">>
			<<include Art_Vector_Eyes_TypeB>>
			<<include Art_Vector_Mouth_TypeA>>
			<<include Art_Vector_Nose_TypeA>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeA_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeA_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeA_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeA_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeA_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeA_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeA_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "masculine">>
			<<include Art_Vector_Eyes_TypeD>>
			<<include Art_Vector_Mouth_TypeF>>
			<<include Art_Vector_Nose_TypeF>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeE_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeE_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeE_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeE_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeE_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeE_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeE_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "androgynous">>
			<<include Art_Vector_Eyes_TypeE>>
			<<include Art_Vector_Mouth_TypeE>>
			<<include Art_Vector_Nose_TypeE>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeF_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeF_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeF_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeF_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeF_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeF_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeF_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "cute">>
			<<include Art_Vector_Eyes_TypeB>>
			<<include Art_Vector_Mouth_TypeB>>
			<<include Art_Vector_Nose_TypeD>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeA_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeA_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeA_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeA_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeA_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeA_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeA_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "sensual">>
			<<include Art_Vector_Eyes_TypeC>>
			<<include Art_Vector_Mouth_TypeC>>
			<<include Art_Vector_Nose_TypeC>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeC_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeC_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeC_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeC_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeC_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeC_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeC_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "exotic">>
			<<include Art_Vector_Eyes_TypeA>>
			<<include Art_Vector_Mouth_TypeC>>
			<<include Art_Vector_Nose_TypeC>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeC_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeC_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeC_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeC_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeC_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeC_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeC_Bushy>>
			<</if>>
		<</if>>
	<</if>>
	<<if _artSlave.race == "asian" || _artSlave.race == "pacific islander" || _artSlave.race == "malay">>
		<<if _artSlave.faceShape == "normal">>
			<<include Art_Vector_Eyes_TypeA>>
			<<include Art_Vector_Mouth_TypeC>>
			<<include Art_Vector_Nose_TypeC>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeD_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeD_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeD_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeD_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeD_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeD_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeD_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "masculine">>
			<<include Art_Vector_Eyes_TypeD>>
			<<include Art_Vector_Mouth_TypeD>>
			<<include Art_Vector_Nose_TypeB>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeC_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeC_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeC_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeC_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeC_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeC_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeC_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "androgynous">>
			<<include Art_Vector_Eyes_TypeE>>
			<<include Art_Vector_Mouth_TypeE>>
			<<include Art_Vector_Nose_TypeA>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeC_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeC_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeC_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeC_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeC_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeC_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeC_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "cute">>
			<<include Art_Vector_Eyes_TypeC>>
			<<include Art_Vector_Mouth_TypeC>>
			<<include Art_Vector_Nose_TypeC>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeF_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeF_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeF_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeF_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeF_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeF_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeF_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "sensual">>
			<<include Art_Vector_Eyes_TypeA>>
			<<include Art_Vector_Mouth_TypeA>>
			<<include Art_Vector_Nose_TypeE>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeC_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeF_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeF_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeF_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeF_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeF_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeF_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "exotic">>
			<<include Art_Vector_Eyes_TypeB>>
			<<include Art_Vector_Mouth_TypeC>>
			<<include Art_Vector_Nose_TypeF>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeA_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeA_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeA_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeA_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeA_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeA_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeA_Bushy>>
			<</if>>
		<</if>>
	<</if>>
	<<if _artSlave.race == "latina" || _artSlave.race == "amerindian">>
		<<if _artSlave.faceShape == "normal">>
			<<include Art_Vector_Eyes_TypeB>>
			<<include Art_Vector_Mouth_TypeE>>
			<<include Art_Vector_Nose_TypeD>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeB_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeB_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeB_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeB_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeB_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeB_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeB_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "masculine">>
			<<include Art_Vector_Eyes_TypeE>>
			<<include Art_Vector_Mouth_TypeD>>
			<<include Art_Vector_Nose_TypeF>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeC_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeC_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeC_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeC_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeC_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeC_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeC_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "androgynous">>
			<<include Art_Vector_Eyes_TypeA>>
			<<include Art_Vector_Mouth_TypeD>>
			<<include Art_Vector_Nose_TypeB>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeD_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeD_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeD_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeD_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeD_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeD_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeD_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "cute">>
			<<include Art_Vector_Eyes_TypeF>>
			<<include Art_Vector_Mouth_TypeB>>
			<<include Art_Vector_Nose_TypeB>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeF_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeF_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeF_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeF_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeF_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeF_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeF_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "sensual">>
			<<include Art_Vector_Eyes_TypeB>>
			<<include Art_Vector_Mouth_TypeE>>
			<<include Art_Vector_Nose_TypeC>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeF_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeF_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeF_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeF_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeF_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeF_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeF_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "exotic">>
			<<include Art_Vector_Eyes_TypeC>>
			<<include Art_Vector_Mouth_TypeA>>
			<<include Art_Vector_Nose_TypeC>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeE_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeE_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeE_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeE_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeE_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeE_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeE_Bushy>>
			<</if>>
		<</if>>
	<</if>>
	<<if _artSlave.race == "black">>
		<<if _artSlave.faceShape == "normal">>
			<<include Art_Vector_Eyes_TypeD>>
			<<include Art_Vector_Mouth_TypeB>>
			<<include Art_Vector_Nose_TypeF>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeF_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeF_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeF_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeF_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeF_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeF_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeF_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "masculine">>
			<<include Art_Vector_Eyes_TypeA>>
			<<include Art_Vector_Mouth_TypeD>>
			<<include Art_Vector_Nose_TypeF>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeE_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeE_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeE_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeE_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeE_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeE_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeE_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "androgynous">>
			<<include Art_Vector_Eyes_TypeF>>
			<<include Art_Vector_Mouth_TypeE>>
			<<include Art_Vector_Nose_TypeB>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeE_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeE_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeE_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeE_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeE_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeE_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeE_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "cute">>
			<<include Art_Vector_Eyes_TypeC>>
			<<include Art_Vector_Mouth_TypeE>>
			<<include Art_Vector_Nose_TypeD>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeD_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeD_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeD_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeB_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeD_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeD_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeD_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "sensual">>
			<<include Art_Vector_Eyes_TypeC>>
			<<include Art_Vector_Mouth_TypeF>>
			<<include Art_Vector_Nose_TypeA>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeC_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeC_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeC_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeC_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeC_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeC_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeC_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "exotic">>
			<<include Art_Vector_Eyes_TypeE>>
			<<include Art_Vector_Mouth_TypeE>>
			<<include Art_Vector_Nose_TypeC>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeA_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeA_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeA_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeA_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeA_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeA_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeA_Bushy>>
			<</if>>
		<</if>>
	<</if>>
	<<if _artSlave.race == "middle eastern" || _artSlave.race == "semitic">>
		<<if _artSlave.faceShape == "normal">>
			<<include Art_Vector_Eyes_TypeB>>
			<<include Art_Vector_Mouth_TypeA>>
			<<include Art_Vector_Nose_TypeA>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeA_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeA_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeA_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeA_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeA_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeA_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeA_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "masculine">>
			<<include Art_Vector_Eyes_TypeD>>
			<<include Art_Vector_Mouth_TypeF>>
			<<include Art_Vector_Nose_TypeA>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeB_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeB_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeB_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeB_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeB_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeB_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeB_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "androgynous">>
			<<include Art_Vector_Eyes_TypeF>>
			<<include Art_Vector_Mouth_TypeB>>
			<<include Art_Vector_Nose_TypeF>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeF_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeF_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeF_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeF_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeF_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeF_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeF_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "cute">>
			<<include Art_Vector_Eyes_TypeB>>
			<<include Art_Vector_Mouth_TypeB>>
			<<include Art_Vector_Nose_TypeC>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeA_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeA_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeA_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeA_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeA_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeA_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeA_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "sensual">>
			<<include Art_Vector_Eyes_TypeA>>
			<<include Art_Vector_Mouth_TypeD>>
			<<include Art_Vector_Nose_TypeA>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeC_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeC_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeC_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeC_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeC_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeC_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeC_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "exotic">>
			<<include Art_Vector_Eyes_TypeE>>
			<<include Art_Vector_Mouth_TypeE>>
			<<include Art_Vector_Nose_TypeE>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeE_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeE_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeE_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeE_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeE_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeE_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeE_Bushy>>
			<</if>>
		<</if>>
	<</if>>
	<<if _artSlave.race == "indo-aryan" || _artSlave.race == "mixed race">>
		<<if _artSlave.faceShape == "normal">>
			<<include Art_Vector_Eyes_TypeE>>
			<<include Art_Vector_Mouth_TypeA>>
			<<include Art_Vector_Nose_TypeD>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeA_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeA_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeA_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeA_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeA_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeA_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeA_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "masculine">>
			<<include Art_Vector_Eyes_TypeF>>
			<<include Art_Vector_Mouth_TypeD>>
			<<include Art_Vector_Nose_TypeE>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeC_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeC_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeC_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeC_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeC_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeC_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeC_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "androgynous">>
			<<include Art_Vector_Eyes_TypeC>>
			<<include Art_Vector_Mouth_TypeB>>
			<<include Art_Vector_Nose_TypeD>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeF_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeF_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeF_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeF_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeF_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeF_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeF_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "cute">>
			<<include Art_Vector_Eyes_TypeC>>
			<<include Art_Vector_Mouth_TypeD>>
			<<include Art_Vector_Nose_TypeA>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeD_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeD_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeD_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeD_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeD_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeD_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeD_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "sensual">>
			<<include Art_Vector_Eyes_TypeA>>
			<<include Art_Vector_Mouth_TypeE>>
			<<include Art_Vector_Nose_TypeC>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeD_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeD_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeD_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeD_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeD_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeD_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeD_Bushy>>
			<</if>>
		<</if>>
		<<if _artSlave.faceShape == "exotic">>
			<<include Art_Vector_Eyes_TypeA>>
			<<include Art_Vector_Mouth_TypeC>>
			<<include Art_Vector_Nose_TypeC>>
			<<if _artSlave.eyebrowFullness == "pencil-thin">>
				<<include Art_Vector_Eyebrow_TypeC_Pencilthin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thin">>
				<<include Art_Vector_Eyebrow_TypeC_Thin>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "threaded">>
				<<include Art_Vector_Eyebrow_TypeC_Threaded>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "natural">>
				<<include Art_Vector_Eyebrow_TypeC_Natural>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "tapered">>
				<<include Art_Vector_Eyebrow_TypeC_Tapered>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "thick">>
				<<include Art_Vector_Eyebrow_TypeC_Thick>>
			<</if>>
			<<if _artSlave.eyebrowFullness == "bushy">>
				<<include Art_Vector_Eyebrow_TypeC_Bushy>>
			<</if>>
		<</if>>
	<</if>>
<</if>>
<</if>>
/* END FACIAL APPEARANCE */

<<if _artSlave.eyebrowPiercing > 0>>
	<<if _artSlave.eyebrowPiercing == 1>>
		<<include Art_Vector_Eyebrow_Light>>
	<<elseif _artSlave.eyebrowPiercing == 2>>
		<<include Art_Vector_Eyebrow_Heavy>>
	<</if>>
<</if>>

<<if _artSlave.nosePiercing > 0>>
	<<if _artSlave.nosePiercing == 1>>
		<<include Art_Vector_Nose_Light>>
	<<elseif _artSlave.nosePiercing == 2>>
		<<include Art_Vector_Nose_Heavy>>
	<</if>>
<</if>>

<<if _artSlave.lipsPiercing > 0>>
	<<if _artSlave.lipsPiercing == 1>>
		<<include Art_Vector_Lip_Light>>
	<<elseif _artSlave.lipsPiercing == 2>>
		<<include Art_Vector_Lip_Heavy>>
	<</if>>
<</if>>

/* ADDONS */

<<if _artSlave.fuckdoll == 0 >> /* fuckdolly cannot be decorated */
	<<if _artSlave.collar == "dildo gag">>
		<<include Art_Vector_Dildo_Gag>>
	<</if>>
	<<if _artSlave.collar == "ball gag">>
		<<include Art_Vector_Ball_Gag>>
	<</if>>
	<<if _artSlave.collar == "bit gag">>
		<<include Art_Vector_Bit_Gag>>
	<</if>>
	<<if _artSlave.collar == "massive dildo gag">>
		<<include Art_Vector_Massive_Dildo_Gag>>
	<</if>>
	<<if _artSlave.collar == "porcelain mask">>
		<<include Art_Vector_Porcelain_Mask>>
	<</if>>
	<<if _artSlave.eyewear == "corrective glasses" || _artSlave.eyewear == "glasses" || _artSlave.eyewear == "blurring glasses">>
		<<include Art_Vector_Glasses>>
	<</if>>

	/* head clothing */
	<<if _artSlave.clothes == "a slutty klan robe">>
		<<include Art_Vector_Head_Outfit_SluttyKlanRobe>>
	<</if>>
	<<if _artSlave.clothes == "a klan robe">>
		<<include Art_Vector_Head_Outfit_KlanRobe>>
	<</if>>
	<<if _artSlave.clothes == "a burkini">>
		<<include Art_Vector_Head_Outfit_Burkini>>
	<</if>>
	<<if _artSlave.clothes == "a hijab and blouse">>
		<<include Art_Vector_Head_Outfit_HijabAndBlouse>>
	<</if>>
	<<if _artSlave.clothes == "a burqa">>
		<<include Art_Vector_Head_Outfit_Burqa>>
	<</if>>
	<<if _artSlave.clothes == "a niqab and abaya">>
		<<include Art_Vector_Head_Outfit_NiqabAndAbaya>>
	<</if>>
	<<if _artSlave.clothes == "a hijab and abaya">>
		<<include Art_Vector_Head_Outfit_HijabAndAbaya>>
	<</if>>
	<<if _artSlave.clothes == "a succubus outfit">>
		<<include Art_Vector_Head_Outfit_Succubus>>
	<</if>>
	<<if _artSlave.clothes == "a bunny outfit">>
		<<include Art_Vector_Head_Outfit_Bunny>>
	<</if>>
	<<if _artSlave.clothes == "a chattel habit">>
		<<include Art_Vector_Head_Outfit_ChattelHabit>>
	<</if>>
	<<if _artSlave.clothes == "a fallen nuns habit">>
		<<include Art_Vector_Head_Outfit_FallenNunsHabit>>
	<</if>>
	<<if _artSlave.clothes == "harem gauze">>
		<<include Art_Vector_Head_Outfit_HaremGauze>>
	<</if>>
	<<if _artSlave.clothes == "a penitent nuns habit">>
		<<include Art_Vector_Head_Outfit_PenitentNunsHabit>>
	<</if>>
	<<if _artSlave.clothes == "Western clothing">>
		<<include Art_Vector_Head_Outfit_Western>>
	<</if>>
	<<if _artSlave.clothes == "a military uniform">>
		<<include Art_Vector_Head_Outfit_MilitaryUniform>>
	<</if>>
	<<if _artSlave.clothes == "a cybersuit">>
		<<include Art_Vector_Head_Outfit_Cybersuit>>
	<</if>>
	<<if _artSlave.clothes == "a schutzstaffel uniform">>
		<<include Art_Vector_Head_Outfit_SchutzstaffelUniform>>
	<</if>>
	<<if _artSlave.clothes == "a slutty schutzstaffel uniform">>
		<<include Art_Vector_Head_Outfit_SchutzstaffelUniform>>
	<</if>>
	<<if _artSlave.clothes == "a red army uniform">>
		<<include Art_Vector_Head_Outfit_RedArmyUniform>>
	<</if>>
	<<if _artSlave.clothes == "battlearmor">>
		<<include Art_Vector_Head_Outfit_Battlearmor>>
	<</if>>
	<<if _artSlave.clothes == "a biyelgee costume">>
		<<include Art_Vector_Head_Outfit_BiyelgeeCostume>>
	<</if>>
	<<if _artSlave.clothes == "a mounty outfit">>
		<<include Art_Vector_Head_Outfit_Mounty>>
	<</if>>
	<<if _artSlave.clothes == "a slutty nurse outfit">>
		<<include Art_Vector_Head_Outfit_SluttyNurse>>
	<</if>>
	<<if _artSlave.clothes == "a police uniform">>
		<<include Art_Vector_Head_Outfit_PoliceUniform>>
	<</if>>
	<<if _artSlave.clothes == "kitty lingerie">>
		<<include Art_Vector_Cat_Ear_Fore>>
		<<include Art_Vector_Cat_Ear_Back>>
	<</if>>
<</if>>


code:
:: Art_Vector_Leg_ [nobr]

/* Leg wideness switch courtesy of Nov-X */
/* Updated 2018-10-25 by Fr0g */
/* - changed size calculation block position*/
/* - added brackets to make boolean logic run */

/* BEWARE: _legSize is also used in Art_Vector_Feet_ */
/* BEWARE: _buttSize set by Art_Vector_Butt_ */

/* Size calculations - needs to be done even for amputees */
<<set _legSize = "Normal">>
<<if _artSlave.hips == -2>>
	<<if _artSlave.weight <= 0>>
		<<set _legSize = "Narrow">>
	<<elseif _artSlave.weight > 0 && _artSlave.weight < 161>>
		<<set _legSize = "Normal">>
	<<elseif _artSlave.weight >= 161>>
		<<set _legSize = "Wide">>
	<</if>>
<<elseif _artSlave.hips == -1>>
	<<if _artSlave.weight <= -11>>
		<<set _legSize = "Narrow">>
	<<elseif _artSlave.weight > -11 && _artSlave.weight < 96>>
		<<set _legSize = "Normal">>
	<<elseif _artSlave.weight >= 96>>
		<<set _legSize = "Wide">>
	<</if>>
<<elseif _artSlave.hips == 0>>
	<<if _artSlave.weight <= -96>>
		<<set _legSize = "Narrow">>
	<<elseif _artSlave.weight > -96 && _artSlave.weight < 11>>
		<<set _legSize = "Normal">>
	<<elseif _artSlave.weight >= 11 && _artSlave.weight < 131>>
		<<set _legSize = "Wide">>
	<<elseif _artSlave.weight >= 131>>
		<<set _legSize = "Thick">>
	<</if>>
<<elseif _artSlave.hips == 1>>
	<<if _artSlave.weight <= -31>>
		<<set _legSize = "Normal">>
	<<elseif _artSlave.weight > -31 && _artSlave.weight < 31>>
		<<set _legSize = "Wide">>
	<<elseif _artSlave.weight >= 31>>
		<<set _legSize = "Thick">>
	<</if>>
<<elseif _artSlave.hips == 2>>
	<<if _artSlave.weight <= -11>>
		<<set _legSize = "Wide">>
	<<elseif _artSlave.weight > -11>>
		<<set _legSize = "Thick">>
	<</if>>
<<elseif _artSlave.hips == 3>>
	<<if _artSlave.weight <= -11>>
		<<set _legSize = "Wide">>
	<<elseif _artSlave.weight > -11>>
		<<set _legSize = "Thick">>
	<</if>>
<</if>>

/* Selection of matching SVG based on amputee level */

<<if _artSlave.amp == 0>>
	<<set _art = "Art_Vector_Leg_"+_legSize >>
	<<include _art >>
<</if>>

<<if _artSlave.amp == -1 && (_artSlave.PLimb == 1 || _artSlave.PLimb == 2)>>
	<<set _art = "Art_Vector_Leg_ProstheticBasic_"+_legSize >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -2 && (_artSlave.PLimb == 1 || _artSlave.PLimb == 2)>>
	<<set _art = "Art_Vector_Leg_ProstheticSexy_"+_legSize >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -3 && (_artSlave.PLimb == 1 || _artSlave.PLimb == 2)>>
	<<set _art = "Art_Vector_Leg_ProstheticBeauty_"+_legSize >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -4 && (_artSlave.PLimb == 1 || _artSlave.PLimb == 2)>>
	<<set _art = "Art_Vector_Leg_ProstheticCombat_"+_legSize >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -5 && (_artSlave.PLimb == 1 || _artSlave.PLimb == 2)>>
	<<set _art = "Art_Vector_Leg_ProstheticSwiss_"+_legSize >>
	<<include _art>>
<</if>>
/* Changed next line for no attached limbs regardless of the PLimb state */
/* <<if _artSlave.amp == 1 && _artSlave.PLimb == 0>> */
<<if _artSlave.amp == 1>>
	<<include Art_Vector_Stump>>
<</if>>