graphics_creatures_portrait_human

[OBJECT:GRAPHICS]

[CREATURE_GRAPHICS:HUMAN]
	[LAYER_SET:BABY:PORTRAIT]

	[LS_PALETTE:BODY]
		[LS_PALETTE_FILE:images/portraits/human_portrait_body_palette.png]
		[LS_PALETTE_DEFAULT:0]
	[LS_PALETTE:HAIR]
		[LS_PALETTE_FILE:images/portraits/human_portrait_hair_palette.png]
		[LS_PALETTE_DEFAULT:0]

	baby
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:UB]
			[BP_PRESENT]
		[LAYER:BABY_Z_BODY:PORTRAIT_HUMAN_BABY:0:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[USE_PALETTE:BODY:5]
		[LAYER:BABY_N_BODY:PORTRAIT_HUMAN_BABY:0:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[USE_PALETTE:BODY:6]
		[LAYER:BABY_V_BODY:PORTRAIT_HUMAN_BABY:0:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[USE_PALETTE:BODY:7]
		[LAYER:BABY_U_BODY:PORTRAIT_HUMAN_BABY:0:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[USE_PALETTE:BODY:8]
		[LAYER:BABY_G_BODY:PORTRAIT_HUMAN_BABY:0:0]
			[CONDITION_GHOST]
			[USE_PALETTE:BODY:9]
		[LAYER:BABY_M_BODY:PORTRAIT_HUMAN_BABY:0:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[USE_PALETTE:BODY:10]
		[LAYER:BABY_GL_BODY:PORTRAIT_HUMAN_BABY:0:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[USE_PALETTE:BODY:11]
		[LAYER:BABY_DARK_BODY:PORTRAIT_HUMAN_BABY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[USE_PALETTE:BODY:0]
		[LAYER:BABY_DMID_BODY:PORTRAIT_HUMAN_BABY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[USE_PALETTE:BODY:1]
		[LAYER:BABY_LMID_BODY:PORTRAIT_HUMAN_BABY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[USE_PALETTE:BODY:2]
		[LAYER:BABY_LIGHT_BODY:PORTRAIT_HUMAN_BABY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	baby eyebrows
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:HD]
			[BP_PRESENT]

		[LAYER:BABY_EYEBROW_WHITE:PORTRAIT_HUMAN_BABY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:BABY_EYEBROW_BLACK:PORTRAIT_HUMAN_BABY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:BABY_EYEBROW_RED:PORTRAIT_HUMAN_BABY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:BABY_EYEBROW_BLOND:PORTRAIT_HUMAN_BABY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:BABY_EYEBROW_LBROWN:PORTRAIT_HUMAN_BABY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:BABY_EYEBROW_DBROWN:PORTRAIT_HUMAN_BABY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]
		[END_LAYER_GROUP]

	[LAYER_SET:CHILD:PORTRAIT]

	[LS_PALETTE:BODY]
		[LS_PALETTE_FILE:images/portraits/human_portrait_body_palette.png]
		[LS_PALETTE_DEFAULT:0]
	[LS_PALETTE:HAIR]
		[LS_PALETTE_FILE:images/portraits/human_portrait_hair_palette.png]
		[LS_PALETTE_DEFAULT:0]

	torso
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:UB]
			[BP_PRESENT]
		[LAYER:Z_BODY:PORTRAIT_HUMAN_CHILD_BODY:0:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_BODY:PORTRAIT_HUMAN_CHILD_BODY:0:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[USE_PALETTE:BODY:6]
		[LAYER:V_BODY:PORTRAIT_HUMAN_CHILD_BODY:0:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_BODY:PORTRAIT_HUMAN_CHILD_BODY:0:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[USE_PALETTE:BODY:8]
		[LAYER:G_BODY:PORTRAIT_HUMAN_CHILD_BODY:0:0]
			[CONDITION_GHOST]
			[USE_PALETTE:BODY:9]
		[LAYER:M_BODY:PORTRAIT_HUMAN_CHILD_BODY:0:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_BODY:PORTRAIT_HUMAN_CHILD_BODY:0:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_BODY:PORTRAIT_HUMAN_CHILD_BODY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_BODY:PORTRAIT_HUMAN_CHILD_BODY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_BODY:PORTRAIT_HUMAN_CHILD_BODY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_BODY:PORTRAIT_HUMAN_CHILD_BODY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	left arm
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:LUA]
			[BP_PRESENT]
		[LAYER:Z_LARM_M:PORTRAIT_HUMAN_CHILD_BODY:1:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_LARM_M:PORTRAIT_HUMAN_CHILD_BODY:1:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[USE_PALETTE:BODY:6]
		[LAYER:V_LARM_M:PORTRAIT_HUMAN_CHILD_BODY:1:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_LARM_M:PORTRAIT_HUMAN_CHILD_BODY:1:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[USE_PALETTE:BODY:8]
		[LAYER:G_LARM_M:PORTRAIT_HUMAN_CHILD_BODY:1:0]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:M_LARM_M:PORTRAIT_HUMAN_CHILD_BODY:1:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_LARM_M:PORTRAIT_HUMAN_CHILD_BODY:1:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_LARM_M:PORTRAIT_HUMAN_CHILD_BODY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_LARM_M:PORTRAIT_HUMAN_CHILD_BODY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_LARM_M:PORTRAIT_HUMAN_CHILD_BODY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_LARM_M:PORTRAIT_HUMAN_CHILD_BODY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	right arm
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:RUA]
			[BP_PRESENT]
		[LAYER:Z_RARM_M:PORTRAIT_HUMAN_CHILD_BODY:2:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_RARM_M:PORTRAIT_HUMAN_CHILD_BODY:2:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[USE_PALETTE:BODY:6]
		[LAYER:V_RARM_M:PORTRAIT_HUMAN_CHILD_BODY:2:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_RARM_M:PORTRAIT_HUMAN_CHILD_BODY:2:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[USE_PALETTE:BODY:8]
		[LAYER:G_RARM_M:PORTRAIT_HUMAN_CHILD_BODY:2:0]
			[CONDITION_GHOST]
			[USE_PALETTE:BODY:9]
		[LAYER:M_RARM_M:PORTRAIT_HUMAN_CHILD_BODY:2:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_RARM_M:PORTRAIT_HUMAN_CHILD_BODY:2:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_RARM_M:PORTRAIT_HUMAN_CHILD_BODY:2:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_RARM_M:PORTRAIT_HUMAN_CHILD_BODY:2:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_RARM_M:PORTRAIT_HUMAN_CHILD_BODY:2:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_RARM_M:PORTRAIT_HUMAN_CHILD_BODY:2:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	shirt
		[LAYER_GROUP]
		[LAYER:CLOTHING_SHIRT:PORTRAIT_HUMAN_CHILD_CLOTHING:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CHILD_CLOTHING:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CHILD_CLOTHING:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_TOGA_M:PORTRAIT_HUMAN_CHILD_CLOTHING:0:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CHILD_CLOTHING:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_CAPE:PORTRAIT_HUMAN_CHILD_CLOTHING:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	head
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:HD]
			[BP_PRESENT]
		[LAYER:Z_HEAD:PORTRAIT_HUMAN_CHILD_BODY:3:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_HEAD:PORTRAIT_HUMAN_CHILD_BODY:3:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[USE_PALETTE:BODY:6]
		[LAYER:V_HEAD:PORTRAIT_HUMAN_CHILD_BODY:3:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_HEAD:PORTRAIT_HUMAN_CHILD_BODY:3:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[USE_PALETTE:BODY:8]
		[LAYER:G_HEAD:PORTRAIT_HUMAN_CHILD_BODY:3:0]
			[CONDITION_GHOST]
			[USE_PALETTE:BODY:9]
		[LAYER:M_HEAD:PORTRAIT_HUMAN_CHILD_BODY:3:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_HEAD:PORTRAIT_HUMAN_CHILD_BODY:3:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_HEAD:PORTRAIT_HUMAN_CHILD_BODY:3:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_HEAD:PORTRAIT_HUMAN_CHILD_BODY:3:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_HEAD:PORTRAIT_HUMAN_CHILD_BODY:3:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_HEAD:PORTRAIT_HUMAN_CHILD_BODY:3:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	ear
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:R_EAR]
			[BP_PRESENT]
		[LAYER:Z_EAR:PORTRAIT_HUMAN_CHILD_BODY:4:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_EAR:PORTRAIT_HUMAN_CHILD_BODY:4:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[USE_PALETTE:BODY:6]
		[LAYER:V_EAR:PORTRAIT_HUMAN_CHILD_BODY:4:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_EAR:PORTRAIT_HUMAN_CHILD_BODY:4:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[USE_PALETTE:BODY:8]
		[LAYER:G_EAR:PORTRAIT_HUMAN_CHILD_BODY:4:0]
			[CONDITION_GHOST]
			[USE_PALETTE:BODY:9]
		[LAYER:M_EAR:PORTRAIT_HUMAN_CHILD_BODY:4:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_EAR:PORTRAIT_HUMAN_CHILD_BODY:4:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_EAR:PORTRAIT_HUMAN_CHILD_BODY:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EAR:PORTRAIT_HUMAN_CHILD_BODY:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EAR:PORTRAIT_HUMAN_CHILD_BODY:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EAR:PORTRAIT_HUMAN_CHILD_BODY:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	mouth
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:L_LIP]
			[BP_PRESENT]
		[LAYER:Z_MOUTH1:PORTRAIT_HUMAN_CHILD_BODY:5:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:5]
		[LAYER:N_MOUTH1:PORTRAIT_HUMAN_CHILD_BODY:5:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:6]
		[LAYER:V_MOUTH1:PORTRAIT_HUMAN_CHILD_BODY:5:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:7]
		[LAYER:U_MOUTH1:PORTRAIT_HUMAN_CHILD_BODY:5:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:8]
		[LAYER:G_MOUTH1:PORTRAIT_HUMAN_CHILD_BODY:5:0]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:9]
		[LAYER:M_MOUTH1:PORTRAIT_HUMAN_CHILD_BODY:5:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_MOUTH1:PORTRAIT_HUMAN_CHILD_BODY:5:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_MOUTH1:PORTRAIT_HUMAN_CHILD_BODY:5:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH1:PORTRAIT_HUMAN_CHILD_BODY:5:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH1:PORTRAIT_HUMAN_CHILD_BODY:5:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH1:PORTRAIT_HUMAN_CHILD_BODY:5:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_MOUTH2:PORTRAIT_HUMAN_CHILD_BODY:5:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:5]
		[LAYER:N_MOUTH2:PORTRAIT_HUMAN_CHILD_BODY:5:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:6]
		[LAYER:V_MOUTH2:PORTRAIT_HUMAN_CHILD_BODY:5:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:7]
		[LAYER:U_MOUTH2:PORTRAIT_HUMAN_CHILD_BODY:5:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:8]
		[LAYER:G_MOUTH2:PORTRAIT_HUMAN_CHILD_BODY:5:1]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:9]
		[LAYER:M_MOUTH2:PORTRAIT_HUMAN_CHILD_BODY:5:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_MOUTH2:PORTRAIT_HUMAN_CHILD_BODY:5:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_MOUTH2:PORTRAIT_HUMAN_CHILD_BODY:5:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH2:PORTRAIT_HUMAN_CHILD_BODY:5:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH2:PORTRAIT_HUMAN_CHILD_BODY:5:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH2:PORTRAIT_HUMAN_CHILD_BODY:5:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_MOUTH3:PORTRAIT_HUMAN_CHILD_BODY:5:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:5]
		[LAYER:N_MOUTH3:PORTRAIT_HUMAN_CHILD_BODY:5:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:6]
		[LAYER:V_MOUTH3:PORTRAIT_HUMAN_CHILD_BODY:5:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:7]
		[LAYER:U_MOUTH3:PORTRAIT_HUMAN_CHILD_BODY:5:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:8]
		[LAYER:G_MOUTH3:PORTRAIT_HUMAN_CHILD_BODY:5:2]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:9]
		[LAYER:M_MOUTH3:PORTRAIT_HUMAN_CHILD_BODY:5:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_MOUTH3:PORTRAIT_HUMAN_CHILD_BODY:5:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_MOUTH3:PORTRAIT_HUMAN_CHILD_BODY:5:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH3:PORTRAIT_HUMAN_CHILD_BODY:5:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH3:PORTRAIT_HUMAN_CHILD_BODY:5:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH3:PORTRAIT_HUMAN_CHILD_BODY:5:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_MOUTH4:PORTRAIT_HUMAN_CHILD_BODY:5:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:5]
		[LAYER:N_MOUTH4:PORTRAIT_HUMAN_CHILD_BODY:5:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:6]
		[LAYER:V_MOUTH4:PORTRAIT_HUMAN_CHILD_BODY:5:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:7]
		[LAYER:U_MOUTH4:PORTRAIT_HUMAN_CHILD_BODY:5:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:8]
		[LAYER:G_MOUTH4:PORTRAIT_HUMAN_CHILD_BODY:5:3]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:9]
		[LAYER:M_MOUTH4:PORTRAIT_HUMAN_CHILD_BODY:5:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_MOUTH4:PORTRAIT_HUMAN_CHILD_BODY:5:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_MOUTH4:PORTRAIT_HUMAN_CHILD_BODY:5:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH4:PORTRAIT_HUMAN_CHILD_BODY:5:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH4:PORTRAIT_HUMAN_CHILD_BODY:5:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH4:PORTRAIT_HUMAN_CHILD_BODY:5:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_MOUTH5:PORTRAIT_HUMAN_CHILD_BODY:5:4]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:5]
		[LAYER:N_MOUTH5:PORTRAIT_HUMAN_CHILD_BODY:5:4]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:6]
		[LAYER:V_MOUTH5:PORTRAIT_HUMAN_CHILD_BODY:5:4]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:7]
		[LAYER:U_MOUTH5:PORTRAIT_HUMAN_CHILD_BODY:5:4]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:8]
		[LAYER:G_MOUTH5:PORTRAIT_HUMAN_CHILD_BODY:5:4]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:9]
		[LAYER:M_MOUTH5:PORTRAIT_HUMAN_CHILD_BODY:5:4]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_MOUTH5:PORTRAIT_HUMAN_CHILD_BODY:5:4]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_MOUTH5:PORTRAIT_HUMAN_CHILD_BODY:5:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH5:PORTRAIT_HUMAN_CHILD_BODY:5:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH5:PORTRAIT_HUMAN_CHILD_BODY:5:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH5:PORTRAIT_HUMAN_CHILD_BODY:5:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_MOUTH6:PORTRAIT_HUMAN_CHILD_BODY:5:5]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:5]
		[LAYER:N_MOUTH6:PORTRAIT_HUMAN_CHILD_BODY:5:5]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:6]
		[LAYER:V_MOUTH6:PORTRAIT_HUMAN_CHILD_BODY:5:5]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:7]
		[LAYER:U_MOUTH6:PORTRAIT_HUMAN_CHILD_BODY:5:5]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:8]
		[LAYER:G_MOUTH6:PORTRAIT_HUMAN_CHILD_BODY:5:5]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:9]
		[LAYER:M_MOUTH6:PORTRAIT_HUMAN_CHILD_BODY:5:5]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_MOUTH6:PORTRAIT_HUMAN_CHILD_BODY:5:5]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_MOUTH6:PORTRAIT_HUMAN_CHILD_BODY:5:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH6:PORTRAIT_HUMAN_CHILD_BODY:5:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH6:PORTRAIT_HUMAN_CHILD_BODY:5:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH6:PORTRAIT_HUMAN_CHILD_BODY:5:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	eyes
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:HD]
			[BP_PRESENT]
		[LAYER:Z_EYES_NARROW:PORTRAIT_HUMAN_CHILD_BODY:6:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:5]
		[LAYER:N_EYES_NARROW:PORTRAIT_HUMAN_CHILD_BODY:6:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:6]
		[LAYER:V_EYES_NARROW:PORTRAIT_HUMAN_CHILD_BODY:6:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:7]
		[LAYER:U_EYES_NARROW:PORTRAIT_HUMAN_CHILD_BODY:6:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:8]
		[LAYER:G_EYES_NARROW:PORTRAIT_HUMAN_CHILD_BODY:6:2]
			[CONDITION_GHOST]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:9]
		[LAYER:M_EYES_NARROW:PORTRAIT_HUMAN_CHILD_BODY:6:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_EYES_NARROW:PORTRAIT_HUMAN_CHILD_BODY:6:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_EYES_NARROW:PORTRAIT_HUMAN_CHILD_BODY:6:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_NARROW:PORTRAIT_HUMAN_CHILD_BODY:6:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_NARROW:PORTRAIT_HUMAN_CHILD_BODY:6:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_NARROW:PORTRAIT_HUMAN_CHILD_BODY:6:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_EYES_DEEP:PORTRAIT_HUMAN_CHILD_BODY:6:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:N_EYES_DEEP:PORTRAIT_HUMAN_CHILD_BODY:6:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:V_EYES_DEEP:PORTRAIT_HUMAN_CHILD_BODY:6:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:U_EYES_DEEP:PORTRAIT_HUMAN_CHILD_BODY:6:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:G_EYES_DEEP:PORTRAIT_HUMAN_CHILD_BODY:6:1]
			[CONDITION_GHOST]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:M_EYES_DEEP:PORTRAIT_HUMAN_CHILD_BODY:6:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_EYES_DEEP:PORTRAIT_HUMAN_CHILD_BODY:6:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_EYES_DEEP:PORTRAIT_HUMAN_CHILD_BODY:6:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_DEEP:PORTRAIT_HUMAN_CHILD_BODY:6:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_DEEP:PORTRAIT_HUMAN_CHILD_BODY:6:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_DEEP:PORTRAIT_HUMAN_CHILD_BODY:6:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_EYES_SHALLOW:PORTRAIT_HUMAN_CHILD_BODY:6:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_EYES_SHALLOW:PORTRAIT_HUMAN_CHILD_BODY:6:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[USE_PALETTE:BODY:6]
		[LAYER:V_EYES_SHALLOW:PORTRAIT_HUMAN_CHILD_BODY:6:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_EYES_SHALLOW:PORTRAIT_HUMAN_CHILD_BODY:6:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[USE_PALETTE:BODY:8]
		[LAYER:G_EYES_SHALLOW:PORTRAIT_HUMAN_CHILD_BODY:6:0]
			[CONDITION_GHOST]
			[USE_PALETTE:BODY:9]
		[LAYER:M_EYES_SHALLOW:PORTRAIT_HUMAN_CHILD_BODY:6:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_EYES_SHALLOW:PORTRAIT_HUMAN_CHILD_BODY:6:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_EYES_SHALLOW:PORTRAIT_HUMAN_CHILD_BODY:6:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_SHALLOW:PORTRAIT_HUMAN_CHILD_BODY:6:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_SHALLOW:PORTRAIT_HUMAN_CHILD_BODY:6:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_SHALLOW:PORTRAIT_HUMAN_CHILD_BODY:6:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[USE_PALETTE:BODY:3]

		[END_LAYER_GROUP]

	wounds
		[LAYER_GROUP]
		[LAYER:EYE_L_MISSING:PORTRAIT_HUMAN_BODY:8:0]
			[CONDITION_BP:BY_TOKEN:HD]
				[BP_PRESENT]
			[CONDITION_BP:BY_TOKEN:LEYE]
				[BP_MISSING]
		[LAYER:EYE_R_MISSING:PORTRAIT_HUMAN_BODY:8:0]
			[CONDITION_BP:BY_TOKEN:HD]
				[BP_PRESENT]
			[CONDITION_BP:BY_TOKEN:REYE]
				[BP_MISSING]
		[LAYER:NOSE_MISSING:PORTRAIT_HUMAN_BODY:8:0]
			[CONDITION_BP:BY_TOKEN:HD]
				[BP_PRESENT]
			[CONDITION_BP:BY_TOKEN:NOSE]
				[BP_MISSING]
		[END_LAYER_GROUP]

	hair
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:HD]
			[BP_PRESENT]
		stubble
		[LAYER:STUBBLE_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:STUBBLE_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:STUBBLE_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:STUBBLE_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:STUBBLE_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:STUBBLE_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short unkempt
		[LAYER:SHORT_UNKEMPT_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_UNKEMPT_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_UNKEMPT_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_UNKEMPT_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_UNKEMPT_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_UNKEMPT_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid unkempt
		[LAYER:MID_UNKEMPT_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_UNKEMPT_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_UNKEMPT_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_UNKEMPT_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_UNKEMPT_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_UNKEMPT_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long unkempt
		[LAYER:LONG_UNKEMPT_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_UNKEMPT_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_UNKEMPT_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_UNKEMPT_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_UNKEMPT_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_UNKEMPT_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short combed
		[LAYER:SHORT_COMBED_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_COMBED_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_COMBED_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_COMBED_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_COMBED_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_COMBED_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid combed
		[LAYER:MID_COMBED_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_COMBED_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_COMBED_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_COMBED_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_COMBED_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_COMBED_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long combed
		[LAYER:LONG_COMBED_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_COMBED_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_COMBED_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_COMBED_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_COMBED_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_COMBED_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short braid
		[LAYER:SHORT_BRAIDED_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_BRAIDED_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_BRAIDED_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_BRAIDED_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_BRAIDED_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_BRAIDED_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid braid
		[LAYER:MID_BRAIDED_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_BRAIDED_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_BRAIDED_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_BRAIDED_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_BRAIDED_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_BRAIDED_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long braid
		[LAYER:LONG_BRAIDED_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_BRAIDED_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_BRAIDED_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_BRAIDED_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_BRAIDED_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_BRAIDED_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short 2xbraid
		[LAYER:SHORT_DOUBLE_BRAIDS_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_DOUBLE_BRAIDS_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_DOUBLE_BRAIDS_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_DOUBLE_BRAIDS_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_DOUBLE_BRAIDS_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_DOUBLE_BRAIDS_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid 2xbraid
		[LAYER:MID_DOUBLE_BRAIDS_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_DOUBLE_BRAIDS_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_DOUBLE_BRAIDS_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_DOUBLE_BRAIDS_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_DOUBLE_BRAIDS_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_DOUBLE_BRAIDS_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long 2xbraid
		[LAYER:LONG_DOUBLE_BRAIDS_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_DOUBLE_BRAIDS_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_DOUBLE_BRAIDS_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_DOUBLE_BRAIDS_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_DOUBLE_BRAIDS_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_DOUBLE_BRAIDS_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short ponytail
		[LAYER:SHORT_PONY_TAIL_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_PONY_TAIL_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_PONY_TAIL_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_PONY_TAIL_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_PONY_TAIL_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_PONY_TAIL_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid ponytail
		[LAYER:MID_PONY_TAIL_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_PONY_TAIL_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_PONY_TAIL_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_PONY_TAIL_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_PONY_TAIL_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_PONY_TAIL_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long ponytail
		[LAYER:LONG_PONY_TAIL_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:0:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_PONY_TAIL_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:0:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_PONY_TAIL_RED:PORTRAIT_HUMAN_CHILD_HAIR:0:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_PONY_TAIL_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:0:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_PONY_TAIL_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_PONY_TAIL_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:0:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_CHILD_HAIR:1:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]
		[END_LAYER_GROUP]

	nose
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:NOSE]
			[BP_PRESENT]
		[LAYER:Z_NOSE_UPTURNED:PORTRAIT_HUMAN_CHILD_BODY:7:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:N_NOSE_UPTURNED:PORTRAIT_HUMAN_CHILD_BODY:7:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:V_NOSE_UPTURNED:PORTRAIT_HUMAN_CHILD_BODY:7:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:U_NOSE_UPTURNED:PORTRAIT_HUMAN_CHILD_BODY:7:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:G_NOSE_UPTURNED:PORTRAIT_HUMAN_CHILD_BODY:7:3]
			[CONDITION_GHOST]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:M_NOSE_UPTURNED:PORTRAIT_HUMAN_CHILD_BODY:7:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_NOSE_UPTURNED:PORTRAIT_HUMAN_CHILD_BODY:7:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_NOSE_UPTURNED:PORTRAIT_HUMAN_CHILD_BODY:7:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_NOSE_UPTURNED:PORTRAIT_HUMAN_CHILD_BODY:7:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_NOSE_UPTURNED:PORTRAIT_HUMAN_CHILD_BODY:7:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_NOSE_UPTURNED:PORTRAIT_HUMAN_CHILD_BODY:7:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_NOSE_WIDE:PORTRAIT_HUMAN_CHILD_BODY:7:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:N_NOSE_WIDE:PORTRAIT_HUMAN_CHILD_BODY:7:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:V_NOSE_WIDE:PORTRAIT_HUMAN_CHILD_BODY:7:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:U_NOSE_WIDE:PORTRAIT_HUMAN_CHILD_BODY:7:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:G_NOSE_WIDE:PORTRAIT_HUMAN_CHILD_BODY:7:1]
			[CONDITION_GHOST]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:M_NOSE_WIDE:PORTRAIT_HUMAN_CHILD_BODY:7:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_NOSE_WIDE:PORTRAIT_HUMAN_CHILD_BODY:7:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_NOSE_WIDE:PORTRAIT_HUMAN_CHILD_BODY:7:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_NOSE_WIDE:PORTRAIT_HUMAN_CHILD_BODY:7:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_NOSE_WIDE:PORTRAIT_HUMAN_CHILD_BODY:7:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_NOSE_WIDE:PORTRAIT_HUMAN_CHILD_BODY:7:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_NOSE_LONG:PORTRAIT_HUMAN_CHILD_BODY:7:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:N_NOSE_LONG:PORTRAIT_HUMAN_CHILD_BODY:7:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:V_NOSE_LONG:PORTRAIT_HUMAN_CHILD_BODY:7:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:U_NOSE_LONG:PORTRAIT_HUMAN_CHILD_BODY:7:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:G_NOSE_LONG:PORTRAIT_HUMAN_CHILD_BODY:7:0]
			[CONDITION_GHOST]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:M_NOSE_LONG:PORTRAIT_HUMAN_CHILD_BODY:7:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_NOSE_LONG:PORTRAIT_HUMAN_CHILD_BODY:7:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_NOSE_LONG:PORTRAIT_HUMAN_CHILD_BODY:7:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_NOSE_LONG:PORTRAIT_HUMAN_CHILD_BODY:7:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_NOSE_LONG:PORTRAIT_HUMAN_CHILD_BODY:7:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_NOSE_LONG:PORTRAIT_HUMAN_CHILD_BODY:7:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_NOSE_SHORT:PORTRAIT_HUMAN_CHILD_BODY:7:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_NOSE_SHORT:PORTRAIT_HUMAN_CHILD_BODY:7:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[USE_PALETTE:BODY:6]
		[LAYER:V_NOSE_SHORT:PORTRAIT_HUMAN_CHILD_BODY:7:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_NOSE_SHORT:PORTRAIT_HUMAN_CHILD_BODY:7:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[USE_PALETTE:BODY:8]
		[LAYER:G_NOSE_SHORT:PORTRAIT_HUMAN_CHILD_BODY:7:2]
			[CONDITION_GHOST]
			[USE_PALETTE:BODY:9]
		[LAYER:M_NOSE_SHORT:PORTRAIT_HUMAN_CHILD_BODY:7:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_NOSE_SHORT:PORTRAIT_HUMAN_CHILD_BODY:7:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_NOSE_SHORT:PORTRAIT_HUMAN_CHILD_BODY:7:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_NOSE_SHORT:PORTRAIT_HUMAN_CHILD_BODY:7:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_NOSE_SHORT:PORTRAIT_HUMAN_CHILD_BODY:7:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_NOSE_SHORT:PORTRAIT_HUMAN_CHILD_BODY:7:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	eyebrows 
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:HD]
			[BP_PRESENT]

		[LAYER:EYEBROW_DENSE1_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:2:1]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:EYEBROW_DENSE1_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:2:1]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:EYEBROW_DENSE1_RED:PORTRAIT_HUMAN_CHILD_HAIR:2:1]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:EYEBROW_DENSE1_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:2:1]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:EYEBROW_DENSE1_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:2:1]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:EYEBROW_DENSE1_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:2:1]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[LAYER:EYEBROW_DENSE2_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:2:5]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:EYEBROW_DENSE2_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:2:5]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:EYEBROW_DENSE2_RED:PORTRAIT_HUMAN_CHILD_HAIR:2:5]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:EYEBROW_DENSE2_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:2:5]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:EYEBROW_DENSE2_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:2:5]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:EYEBROW_DENSE2_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:2:5]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[LAYER:EYEBROW_SPARSE1_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:2:2]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:EYEBROW_SPARSE1_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:2:2]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:EYEBROW_SPARSE1_RED:PORTRAIT_HUMAN_CHILD_HAIR:2:2]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:EYEBROW_SPARSE1_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:2:2]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:EYEBROW_SPARSE1_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:2:2]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:EYEBROW_SPARSE1_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:2:2]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[LAYER:EYEBROW_SPARSE2_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:2:3]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:EYEBROW_SPARSE2_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:2:3]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:EYEBROW_SPARSE2_RED:PORTRAIT_HUMAN_CHILD_HAIR:2:3]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:EYEBROW_SPARSE2_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:2:3]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:EYEBROW_SPARSE2_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:2:3]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:EYEBROW_SPARSE2_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:2:3]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[LAYER:EYEBROW_MID1_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:2:0]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:EYEBROW_MID1_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:2:0]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:EYEBROW_MID1_RED:PORTRAIT_HUMAN_CHILD_HAIR:2:0]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:EYEBROW_MID1_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:2:0]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:EYEBROW_MID1_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:2:0]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:EYEBROW_MID1_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:2:0]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[LAYER:EYEBROW_MID2_WHITE:PORTRAIT_HUMAN_CHILD_HAIR:2:4]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:EYEBROW_MID2_BLACK:PORTRAIT_HUMAN_CHILD_HAIR:2:4]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:EYEBROW_MID2_RED:PORTRAIT_HUMAN_CHILD_HAIR:2:4]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:EYEBROW_MID2_BLOND:PORTRAIT_HUMAN_CHILD_HAIR:2:4]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:EYEBROW_MID2_LBROWN:PORTRAIT_HUMAN_CHILD_HAIR:2:4]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:EYEBROW_MID2_DBROWN:PORTRAIT_HUMAN_CHILD_HAIR:2:4]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[END_LAYER_GROUP]

	veil
		[LAYER_GROUP]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CHILD_CLOTHING:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_VEIL_FACE:PORTRAIT_HUMAN_CHILD_CLOTHING:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	hat
		[LAYER_GROUP]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CHILD_CLOTHING:3:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CHILD_CLOTHING:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_HEAD:PORTRAIT_HUMAN_CHILD_CLOTHING:3:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CHILD_CLOTHING:3:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HOOD:PORTRAIT_HUMAN_CHILD_CLOTHING:3:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	[LAYER_SET:PORTRAIT]

	[LS_PALETTE:BODY]
		[LS_PALETTE_FILE:images/portraits/human_portrait_body_palette.png]
		[LS_PALETTE_DEFAULT:0]
	[LS_PALETTE:HAIR]
		[LS_PALETTE_FILE:images/portraits/human_portrait_hair_palette.png]
		[LS_PALETTE_DEFAULT:12]

	shadows
		[LAYER_GROUP]
		[LAYER:CAPE_SHADOW:PORTRAIT_HUMAN_CLOTHING_CAPE:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[CONDITION_RANDOM_PART_INDEX:CAPE:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CAPE_SHADOW:PORTRAIT_HUMAN_CLOTHING_CAPE:0:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[CONDITION_RANDOM_PART_INDEX:CAPE:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:VEIL_HEAD_SHADOW:PORTRAIT_HUMAN_CLOTHING_VEIL_HEAD:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:HOOD_SHADOW:PORTRAIT_HUMAN_CLOTHING_HOOD:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	torso
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:UB]
			[BP_PRESENT]
		[LAYER:Z_BODY_F:PORTRAIT_HUMAN_BODY:0:6]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_BODY_M:PORTRAIT_HUMAN_BODY:0:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_BODY_F:PORTRAIT_HUMAN_BODY:0:6]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_BODY_M:PORTRAIT_HUMAN_BODY:0:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:V_BODY_F:PORTRAIT_HUMAN_BODY:0:6]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_BODY_M:PORTRAIT_HUMAN_BODY:0:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_BODY_F:PORTRAIT_HUMAN_BODY:0:6]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_BODY_M:PORTRAIT_HUMAN_BODY:0:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:G_BODY_F:PORTRAIT_HUMAN_BODY:0:6]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_BODY_M:PORTRAIT_HUMAN_BODY:0:0]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:M_BODY_F:PORTRAIT_HUMAN_BODY:0:6]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_BODY_M:PORTRAIT_HUMAN_BODY:0:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_BODY_F:PORTRAIT_HUMAN_BODY:0:6]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_BODY_M:PORTRAIT_HUMAN_BODY:0:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_BODY_F:PORTRAIT_HUMAN_BODY:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_BODY_F:PORTRAIT_HUMAN_BODY:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_BODY_F:PORTRAIT_HUMAN_BODY:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_BODY_F:PORTRAIT_HUMAN_BODY:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_BODY_M:PORTRAIT_HUMAN_BODY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_BODY_M:PORTRAIT_HUMAN_BODY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_BODY_M:PORTRAIT_HUMAN_BODY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_BODY_M:PORTRAIT_HUMAN_BODY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	left arm
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:LUA]
			[BP_PRESENT]
		[LAYER:Z_LARM_F:PORTRAIT_HUMAN_BODY:1:6]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_LARM_M:PORTRAIT_HUMAN_BODY:1:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_LARM_F:PORTRAIT_HUMAN_BODY:1:6]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_LARM_M:PORTRAIT_HUMAN_BODY:1:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:V_LARM_F:PORTRAIT_HUMAN_BODY:1:6]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_LARM_M:PORTRAIT_HUMAN_BODY:1:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_LARM_F:PORTRAIT_HUMAN_BODY:1:6]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_LARM_M:PORTRAIT_HUMAN_BODY:1:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:G_LARM_F:PORTRAIT_HUMAN_BODY:1:6]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_LARM_M:PORTRAIT_HUMAN_BODY:1:0]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:M_LARM_F:PORTRAIT_HUMAN_BODY:1:6]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_LARM_M:PORTRAIT_HUMAN_BODY:1:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_LARM_F:PORTRAIT_HUMAN_BODY:1:6]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_LARM_M:PORTRAIT_HUMAN_BODY:1:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_LARM_F:PORTRAIT_HUMAN_BODY:1:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_LARM_F:PORTRAIT_HUMAN_BODY:1:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_LARM_F:PORTRAIT_HUMAN_BODY:1:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_LARM_F:PORTRAIT_HUMAN_BODY:1:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_LARM_M:PORTRAIT_HUMAN_BODY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_LARM_M:PORTRAIT_HUMAN_BODY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_LARM_M:PORTRAIT_HUMAN_BODY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_LARM_M:PORTRAIT_HUMAN_BODY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	right arm
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:RUA]
			[BP_PRESENT]
		[LAYER:Z_RARM_F:PORTRAIT_HUMAN_BODY:2:6]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_RARM_M:PORTRAIT_HUMAN_BODY:2:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_RARM_F:PORTRAIT_HUMAN_BODY:2:6]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_RARM_M:PORTRAIT_HUMAN_BODY:2:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:V_RARM_F:PORTRAIT_HUMAN_BODY:2:6]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_RARM_M:PORTRAIT_HUMAN_BODY:2:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_RARM_F:PORTRAIT_HUMAN_BODY:2:6]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_RARM_M:PORTRAIT_HUMAN_BODY:2:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:G_RARM_F:PORTRAIT_HUMAN_BODY:2:6]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_RARM_M:PORTRAIT_HUMAN_BODY:2:0]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:M_RARM_F:PORTRAIT_HUMAN_BODY:2:6]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_RARM_M:PORTRAIT_HUMAN_BODY:2:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_RARM_F:PORTRAIT_HUMAN_BODY:2:6]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_RARM_M:PORTRAIT_HUMAN_BODY:2:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_RARM_F:PORTRAIT_HUMAN_BODY:2:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_RARM_F:PORTRAIT_HUMAN_BODY:2:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_RARM_F:PORTRAIT_HUMAN_BODY:2:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_RARM_F:PORTRAIT_HUMAN_BODY:2:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_RARM_M:PORTRAIT_HUMAN_BODY:2:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_RARM_M:PORTRAIT_HUMAN_BODY:2:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_RARM_M:PORTRAIT_HUMAN_BODY:2:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_RARM_M:PORTRAIT_HUMAN_BODY:2:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	underclothes
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:UB]
			[BP_PRESENT]
		[LAYER:UNDERCLOTHES:PORTRAIT_HUMAN_CLOTHING_UNDER:0:0]
			[CONDITION_CASTE:FEMALE]
		[END_LAYER_GROUP]

	shirt
		[LAYER_GROUP]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:2:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:0:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:2:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_SHIRT:0:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]

		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:6:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:5:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:4:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:3:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:2:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:0:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:2:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:0:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:2:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:0:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:2:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:0:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:2:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_SHIRT:0:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_SHIRT:ITEM_ARMOR_DRESS]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SHIRT:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEST:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEST:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEST:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEST:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEST:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEST:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEST:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEST:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEST:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:2:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEST:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEST:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:0:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEST:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:2:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEST:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEST:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_VEST_M:PORTRAIT_HUMAN_CLOTHING_VEST:0:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEST:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]

		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:6:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:5:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:4:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:3:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:2:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEST:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEST:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:0:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEST:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:2:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEST:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEST:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:0:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEST:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:2:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEST:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEST:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:0:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEST:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:2:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEST:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEST:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:0:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEST:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:2:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEST:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEST:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_VEST_F:PORTRAIT_HUMAN_CLOTHING_VEST:0:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST:ITEM_ARMOR_TUNIC]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEST:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:COAT:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:COAT:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:COAT:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:COAT:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:COAT:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:COAT:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:COAT:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:COAT:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:COAT:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:2:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:COAT:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:COAT:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:0:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:COAT:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:2:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:COAT:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:COAT:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_COAT_M:PORTRAIT_HUMAN_CLOTHING_COAT:0:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:COAT:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]

		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:6:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:5:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:4:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:3:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:2:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:COAT:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:COAT:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:0:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:COAT:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:2:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:COAT:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:COAT:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:0:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:COAT:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:2:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:COAT:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:COAT:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:0:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:COAT:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:2:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:COAT:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:COAT:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:0:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:COAT:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:2:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:COAT:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:COAT:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_COAT_F:PORTRAIT_HUMAN_CLOTHING_COAT:0:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_ROBE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:COAT:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_TOGA_M:PORTRAIT_HUMAN_CLOTHING_TOGA:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_TOGA_M:PORTRAIT_HUMAN_CLOTHING_TOGA:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_TOGA_M:PORTRAIT_HUMAN_CLOTHING_TOGA:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_TOGA_M:PORTRAIT_HUMAN_CLOTHING_TOGA:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_TOGA_M:PORTRAIT_HUMAN_CLOTHING_TOGA:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:TOGA:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_TOGA_M:PORTRAIT_HUMAN_CLOTHING_TOGA:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:TOGA:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_TOGA_M:PORTRAIT_HUMAN_CLOTHING_TOGA:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:TOGA:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_TOGA_M:PORTRAIT_HUMAN_CLOTHING_TOGA:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:TOGA:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_TOGA_M:PORTRAIT_HUMAN_CLOTHING_TOGA:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:TOGA:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_TOGA_M:PORTRAIT_HUMAN_CLOTHING_TOGA:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:TOGA:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]

		[LAYER:CLOTHING_TOGA_F:PORTRAIT_HUMAN_CLOTHING_TOGA:6:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_TOGA_F:PORTRAIT_HUMAN_CLOTHING_TOGA:5:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_TOGA_F:PORTRAIT_HUMAN_CLOTHING_TOGA:4:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_TOGA_F:PORTRAIT_HUMAN_CLOTHING_TOGA:3:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_TOGA_F:PORTRAIT_HUMAN_CLOTHING_TOGA:2:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:TOGA:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_TOGA_F:PORTRAIT_HUMAN_CLOTHING_TOGA:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:TOGA:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_TOGA_F:PORTRAIT_HUMAN_CLOTHING_TOGA:0:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:TOGA:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_TOGA_F:PORTRAIT_HUMAN_CLOTHING_TOGA:2:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:TOGA:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_TOGA_F:PORTRAIT_HUMAN_CLOTHING_TOGA:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:TOGA:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_TOGA_F:PORTRAIT_HUMAN_CLOTHING_TOGA:0:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TOGA]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:TOGA:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]
		[LAYER:CLOTHING_MAIL_SHIRT_M:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:MALE]

		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:6:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:5:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:4:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:3:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:2:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:0:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:2:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:0:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:2:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[LAYER:CLOTHING_MAIL_SHIRT_F:PORTRAIT_HUMAN_CLOTHING_MAIL_SHIRT:0:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:MAIL_SHIRT:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
			[CONDITION_CASTE:FEMALE]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_LEATHER:PORTRAIT_HUMAN_CLOTHING_LEATHER:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_LEATHER]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LEATHER:PORTRAIT_HUMAN_CLOTHING_LEATHER:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_LEATHER]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LEATHER:PORTRAIT_HUMAN_CLOTHING_LEATHER:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_LEATHER]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LEATHER:PORTRAIT_HUMAN_CLOTHING_LEATHER:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_LEATHER]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LEATHER:PORTRAIT_HUMAN_CLOTHING_LEATHER:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_LEATHER]
			[ITEM_QUALITY:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LEATHER:PORTRAIT_HUMAN_CLOTHING_LEATHER:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_LEATHER]
			[ITEM_QUALITY:1]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LEATHER:PORTRAIT_HUMAN_CLOTHING_LEATHER:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_LEATHER]
			[ITEM_QUALITY:0]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_BREASTPLATE:PORTRAIT_HUMAN_CLOTHING_BREASTPLATE:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_BREASTPLATE:PORTRAIT_HUMAN_CLOTHING_BREASTPLATE:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_BREASTPLATE:PORTRAIT_HUMAN_CLOTHING_BREASTPLATE:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_BREASTPLATE:PORTRAIT_HUMAN_CLOTHING_BREASTPLATE:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_BREASTPLATE:PORTRAIT_HUMAN_CLOTHING_BREASTPLATE:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[ITEM_QUALITY:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_BREASTPLATE:PORTRAIT_HUMAN_CLOTHING_BREASTPLATE:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[ITEM_QUALITY:1]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_BREASTPLATE:PORTRAIT_HUMAN_CLOTHING_BREASTPLATE:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[ITEM_QUALITY:0]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:2:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:0:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:2:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CLOAK:PORTRAIT_HUMAN_CLOTHING_CLOAK:0:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:CLOAK:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_CAPE:PORTRAIT_HUMAN_CLOTHING_CAPE:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAPE:PORTRAIT_HUMAN_CLOTHING_CAPE:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAPE:PORTRAIT_HUMAN_CLOTHING_CAPE:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAPE:PORTRAIT_HUMAN_CLOTHING_CAPE:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAPE:PORTRAIT_HUMAN_CLOTHING_CAPE:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:CAPE:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAPE:PORTRAIT_HUMAN_CLOTHING_CAPE:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:CAPE:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAPE:PORTRAIT_HUMAN_CLOTHING_CAPE:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:CAPE:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAPE:PORTRAIT_HUMAN_CLOTHING_CAPE:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:CAPE:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAPE:PORTRAIT_HUMAN_CLOTHING_CAPE:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:CAPE:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAPE:PORTRAIT_HUMAN_CLOTHING_CAPE:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CAPE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:CAPE:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	head
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:HD]
			[BP_PRESENT]
		[LAYER:Z_THIN_HEAD_F:PORTRAIT_HUMAN_BODY:3:9]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_THIN_HEAD_M:PORTRAIT_HUMAN_BODY:3:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:5]
		[LAYER:N_THIN_HEAD_F:PORTRAIT_HUMAN_BODY:3:9]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:6]
		[LAYER:N_THIN_HEAD_M:PORTRAIT_HUMAN_BODY:3:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:6]
		[LAYER:V_THIN_HEAD_F:PORTRAIT_HUMAN_BODY:3:9]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:7]
		[LAYER:V_THIN_HEAD_M:PORTRAIT_HUMAN_BODY:3:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:7]
		[LAYER:U_THIN_HEAD_F:PORTRAIT_HUMAN_BODY:3:9]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:8]
		[LAYER:U_THIN_HEAD_M:PORTRAIT_HUMAN_BODY:3:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:8]
		[LAYER:G_THIN_HEAD_F:PORTRAIT_HUMAN_BODY:3:9]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:9]
		[LAYER:G_THIN_HEAD_M:PORTRAIT_HUMAN_BODY:3:3]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:9]
		[LAYER:M_THIN_HEAD_F:PORTRAIT_HUMAN_BODY:3:9]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:10]
		[LAYER:M_THIN_HEAD_M:PORTRAIT_HUMAN_BODY:3:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_THIN_HEAD_F:PORTRAIT_HUMAN_BODY:3:9]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_THIN_HEAD_M:PORTRAIT_HUMAN_BODY:3:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_THIN_HEAD_F:PORTRAIT_HUMAN_BODY:3:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_THIN_HEAD_F:PORTRAIT_HUMAN_BODY:3:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_THIN_HEAD_F:PORTRAIT_HUMAN_BODY:3:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_THIN_HEAD_F:PORTRAIT_HUMAN_BODY:3:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_THIN_HEAD_M:PORTRAIT_HUMAN_BODY:3:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_THIN_HEAD_M:PORTRAIT_HUMAN_BODY:3:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_THIN_HEAD_M:PORTRAIT_HUMAN_BODY:3:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_THIN_HEAD_M:PORTRAIT_HUMAN_BODY:3:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_THICK_HEAD_F:PORTRAIT_HUMAN_BODY:3:6]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_THICK_HEAD_M:PORTRAIT_HUMAN_BODY:3:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_THICK_HEAD_F:PORTRAIT_HUMAN_BODY:3:6]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_THICK_HEAD_M:PORTRAIT_HUMAN_BODY:3:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:V_THICK_HEAD_F:PORTRAIT_HUMAN_BODY:3:6]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_THICK_HEAD_M:PORTRAIT_HUMAN_BODY:3:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_THICK_HEAD_F:PORTRAIT_HUMAN_BODY:3:6]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_THICK_HEAD_M:PORTRAIT_HUMAN_BODY:3:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:G_THICK_HEAD_F:PORTRAIT_HUMAN_BODY:3:6]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_THICK_HEAD_M:PORTRAIT_HUMAN_BODY:3:0]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:M_THICK_HEAD_F:PORTRAIT_HUMAN_BODY:3:6]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_THICK_HEAD_M:PORTRAIT_HUMAN_BODY:3:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_THICK_HEAD_F:PORTRAIT_HUMAN_BODY:3:6]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_THICK_HEAD_M:PORTRAIT_HUMAN_BODY:3:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_THICK_HEAD_F:PORTRAIT_HUMAN_BODY:3:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_THICK_HEAD_F:PORTRAIT_HUMAN_BODY:3:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_THICK_HEAD_F:PORTRAIT_HUMAN_BODY:3:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_THICK_HEAD_F:PORTRAIT_HUMAN_BODY:3:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_THICK_HEAD_M:PORTRAIT_HUMAN_BODY:3:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_THICK_HEAD_M:PORTRAIT_HUMAN_BODY:3:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_THICK_HEAD_M:PORTRAIT_HUMAN_BODY:3:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_THICK_HEAD_M:PORTRAIT_HUMAN_BODY:3:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	ear
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:R_EAR]
			[BP_PRESENT]
		[LAYER:Z_THIN_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:9]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_THIN_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:5]
		[LAYER:N_THIN_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:9]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:6]
		[LAYER:N_THIN_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:6]
		[LAYER:V_THIN_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:9]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:7]
		[LAYER:V_THIN_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:7]
		[LAYER:U_THIN_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:9]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:8]
		[LAYER:U_THIN_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:8]
		[LAYER:G_THIN_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:9]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:9]
		[LAYER:G_THIN_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:3]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:9]
		[LAYER:M_THIN_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:9]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:10]
		[LAYER:M_THIN_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_THIN_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:9]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_THIN_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_THIN_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_THIN_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_THIN_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_THIN_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_THIN_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_THIN_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_THIN_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_THIN_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_THICK_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:6]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_THICK_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_THICK_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:6]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_THICK_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:V_THICK_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:6]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_THICK_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_THICK_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:6]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_THICK_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:G_THICK_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:6]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_THICK_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:0]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:M_THICK_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:6]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_THICK_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_THICK_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:6]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_THICK_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_THICK_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_THICK_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_THICK_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_THICK_HEAD_EAR_F:PORTRAIT_HUMAN_BODY:4:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_THICK_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_THICK_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_THICK_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_THICK_HEAD_EAR_M:PORTRAIT_HUMAN_BODY:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	mouth
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:L_LIP]
			[BP_PRESENT]
		[LAYER:Z_MOUTH1_F:PORTRAIT_HUMAN_BODY:5:6]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_MOUTH1_M:PORTRAIT_HUMAN_BODY:5:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:5]
		[LAYER:N_MOUTH1_F:PORTRAIT_HUMAN_BODY:5:6]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:6]
		[LAYER:N_MOUTH1_M:PORTRAIT_HUMAN_BODY:5:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:6]
		[LAYER:V_MOUTH1_F:PORTRAIT_HUMAN_BODY:5:6]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:7]
		[LAYER:V_MOUTH1_M:PORTRAIT_HUMAN_BODY:5:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:7]
		[LAYER:U_MOUTH1_F:PORTRAIT_HUMAN_BODY:5:6]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:8]
		[LAYER:U_MOUTH1_M:PORTRAIT_HUMAN_BODY:5:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:8]
		[LAYER:G_MOUTH1_F:PORTRAIT_HUMAN_BODY:5:6]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:9]
		[LAYER:G_MOUTH1_M:PORTRAIT_HUMAN_BODY:5:0]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:9]
		[LAYER:M_MOUTH1_F:PORTRAIT_HUMAN_BODY:5:6]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:10]
		[LAYER:M_MOUTH1_M:PORTRAIT_HUMAN_BODY:5:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_MOUTH1_F:PORTRAIT_HUMAN_BODY:5:6]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_MOUTH1_M:PORTRAIT_HUMAN_BODY:5:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_MOUTH1_F:PORTRAIT_HUMAN_BODY:5:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH1_F:PORTRAIT_HUMAN_BODY:5:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH1_F:PORTRAIT_HUMAN_BODY:5:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH1_F:PORTRAIT_HUMAN_BODY:5:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_MOUTH1_M:PORTRAIT_HUMAN_BODY:5:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH1_M:PORTRAIT_HUMAN_BODY:5:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH1_M:PORTRAIT_HUMAN_BODY:5:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH1_M:PORTRAIT_HUMAN_BODY:5:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:1:6]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_MOUTH2_F:PORTRAIT_HUMAN_BODY:5:7]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_MOUTH2_M:PORTRAIT_HUMAN_BODY:5:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:5]
		[LAYER:N_MOUTH2_F:PORTRAIT_HUMAN_BODY:5:7]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:6]
		[LAYER:N_MOUTH2_M:PORTRAIT_HUMAN_BODY:5:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:6]
		[LAYER:V_MOUTH2_F:PORTRAIT_HUMAN_BODY:5:7]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:7]
		[LAYER:V_MOUTH2_M:PORTRAIT_HUMAN_BODY:5:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:7]
		[LAYER:U_MOUTH2_F:PORTRAIT_HUMAN_BODY:5:7]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:8]
		[LAYER:U_MOUTH2_M:PORTRAIT_HUMAN_BODY:5:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:8]
		[LAYER:G_MOUTH2_F:PORTRAIT_HUMAN_BODY:5:7]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:9]
		[LAYER:G_MOUTH2_M:PORTRAIT_HUMAN_BODY:5:1]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:9]
		[LAYER:M_MOUTH2_F:PORTRAIT_HUMAN_BODY:5:7]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:10]
		[LAYER:M_MOUTH2_M:PORTRAIT_HUMAN_BODY:5:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_MOUTH2_F:PORTRAIT_HUMAN_BODY:5:7]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_MOUTH2_M:PORTRAIT_HUMAN_BODY:5:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_MOUTH2_F:PORTRAIT_HUMAN_BODY:5:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH2_F:PORTRAIT_HUMAN_BODY:5:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH2_F:PORTRAIT_HUMAN_BODY:5:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH2_F:PORTRAIT_HUMAN_BODY:5:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_MOUTH2_M:PORTRAIT_HUMAN_BODY:5:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH2_M:PORTRAIT_HUMAN_BODY:5:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH2_M:PORTRAIT_HUMAN_BODY:5:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH2_M:PORTRAIT_HUMAN_BODY:5:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:2:6]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_MOUTH3_F:PORTRAIT_HUMAN_BODY:5:8]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_MOUTH3_M:PORTRAIT_HUMAN_BODY:5:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:5]
		[LAYER:N_MOUTH3_F:PORTRAIT_HUMAN_BODY:5:8]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:6]
		[LAYER:N_MOUTH3_M:PORTRAIT_HUMAN_BODY:5:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:6]
		[LAYER:V_MOUTH3_F:PORTRAIT_HUMAN_BODY:5:8]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:7]
		[LAYER:V_MOUTH3_M:PORTRAIT_HUMAN_BODY:5:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:7]
		[LAYER:U_MOUTH3_F:PORTRAIT_HUMAN_BODY:5:8]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:8]
		[LAYER:U_MOUTH3_M:PORTRAIT_HUMAN_BODY:5:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:8]
		[LAYER:G_MOUTH3_F:PORTRAIT_HUMAN_BODY:5:8]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:9]
		[LAYER:G_MOUTH3_M:PORTRAIT_HUMAN_BODY:5:2]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:9]
		[LAYER:M_MOUTH3_F:PORTRAIT_HUMAN_BODY:5:8]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:10]
		[LAYER:M_MOUTH3_M:PORTRAIT_HUMAN_BODY:5:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_MOUTH3_F:PORTRAIT_HUMAN_BODY:5:8]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_MOUTH3_M:PORTRAIT_HUMAN_BODY:5:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_MOUTH3_F:PORTRAIT_HUMAN_BODY:5:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH3_F:PORTRAIT_HUMAN_BODY:5:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH3_F:PORTRAIT_HUMAN_BODY:5:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH3_F:PORTRAIT_HUMAN_BODY:5:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_MOUTH3_M:PORTRAIT_HUMAN_BODY:5:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH3_M:PORTRAIT_HUMAN_BODY:5:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH3_M:PORTRAIT_HUMAN_BODY:5:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH3_M:PORTRAIT_HUMAN_BODY:5:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:3:6]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_MOUTH4_F:PORTRAIT_HUMAN_BODY:5:9]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_MOUTH4_M:PORTRAIT_HUMAN_BODY:5:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:5]
		[LAYER:N_MOUTH4_F:PORTRAIT_HUMAN_BODY:5:9]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:6]
		[LAYER:N_MOUTH4_M:PORTRAIT_HUMAN_BODY:5:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:6]
		[LAYER:V_MOUTH4_F:PORTRAIT_HUMAN_BODY:5:9]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:7]
		[LAYER:V_MOUTH4_M:PORTRAIT_HUMAN_BODY:5:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:7]
		[LAYER:U_MOUTH4_F:PORTRAIT_HUMAN_BODY:5:9]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:8]
		[LAYER:U_MOUTH4_M:PORTRAIT_HUMAN_BODY:5:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:8]
		[LAYER:G_MOUTH4_F:PORTRAIT_HUMAN_BODY:5:9]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:9]
		[LAYER:G_MOUTH4_M:PORTRAIT_HUMAN_BODY:5:3]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:9]
		[LAYER:M_MOUTH4_F:PORTRAIT_HUMAN_BODY:5:9]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:10]
		[LAYER:M_MOUTH4_M:PORTRAIT_HUMAN_BODY:5:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_MOUTH4_F:PORTRAIT_HUMAN_BODY:5:9]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_MOUTH4_M:PORTRAIT_HUMAN_BODY:5:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_MOUTH4_F:PORTRAIT_HUMAN_BODY:5:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH4_F:PORTRAIT_HUMAN_BODY:5:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH4_F:PORTRAIT_HUMAN_BODY:5:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH4_F:PORTRAIT_HUMAN_BODY:5:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_MOUTH4_M:PORTRAIT_HUMAN_BODY:5:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH4_M:PORTRAIT_HUMAN_BODY:5:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH4_M:PORTRAIT_HUMAN_BODY:5:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH4_M:PORTRAIT_HUMAN_BODY:5:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:4:6]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_MOUTH5_F:PORTRAIT_HUMAN_BODY:5:10]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_MOUTH5_M:PORTRAIT_HUMAN_BODY:5:4]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:5]
		[LAYER:N_MOUTH5_F:PORTRAIT_HUMAN_BODY:5:10]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:6]
		[LAYER:N_MOUTH5_M:PORTRAIT_HUMAN_BODY:5:4]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:6]
		[LAYER:V_MOUTH5_F:PORTRAIT_HUMAN_BODY:5:10]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:7]
		[LAYER:V_MOUTH5_M:PORTRAIT_HUMAN_BODY:5:4]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:7]
		[LAYER:U_MOUTH5_F:PORTRAIT_HUMAN_BODY:5:10]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:8]
		[LAYER:U_MOUTH5_M:PORTRAIT_HUMAN_BODY:5:4]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:8]
		[LAYER:G_MOUTH5_F:PORTRAIT_HUMAN_BODY:5:10]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:9]
		[LAYER:G_MOUTH5_M:PORTRAIT_HUMAN_BODY:5:4]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:9]
		[LAYER:M_MOUTH5_F:PORTRAIT_HUMAN_BODY:5:10]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:10]
		[LAYER:M_MOUTH5_M:PORTRAIT_HUMAN_BODY:5:4]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_MOUTH5_F:PORTRAIT_HUMAN_BODY:5:10]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_MOUTH5_M:PORTRAIT_HUMAN_BODY:5:4]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_MOUTH5_F:PORTRAIT_HUMAN_BODY:5:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH5_F:PORTRAIT_HUMAN_BODY:5:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH5_F:PORTRAIT_HUMAN_BODY:5:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH5_F:PORTRAIT_HUMAN_BODY:5:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_MOUTH5_M:PORTRAIT_HUMAN_BODY:5:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH5_M:PORTRAIT_HUMAN_BODY:5:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH5_M:PORTRAIT_HUMAN_BODY:5:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH5_M:PORTRAIT_HUMAN_BODY:5:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:5:6]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_MOUTH6_F:PORTRAIT_HUMAN_BODY:5:11]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_MOUTH6_M:PORTRAIT_HUMAN_BODY:5:5]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:5]
		[LAYER:N_MOUTH6_F:PORTRAIT_HUMAN_BODY:5:11]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:6]
		[LAYER:N_MOUTH6_M:PORTRAIT_HUMAN_BODY:5:5]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:6]
		[LAYER:V_MOUTH6_F:PORTRAIT_HUMAN_BODY:5:11]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:7]
		[LAYER:V_MOUTH6_M:PORTRAIT_HUMAN_BODY:5:5]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:7]
		[LAYER:U_MOUTH6_F:PORTRAIT_HUMAN_BODY:5:11]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:8]
		[LAYER:U_MOUTH6_M:PORTRAIT_HUMAN_BODY:5:5]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:8]
		[LAYER:G_MOUTH6_F:PORTRAIT_HUMAN_BODY:5:11]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:9]
		[LAYER:G_MOUTH6_M:PORTRAIT_HUMAN_BODY:5:5]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:9]
		[LAYER:M_MOUTH6_F:PORTRAIT_HUMAN_BODY:5:11]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:10]
		[LAYER:M_MOUTH6_M:PORTRAIT_HUMAN_BODY:5:5]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_MOUTH6_F:PORTRAIT_HUMAN_BODY:5:11]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_MOUTH6_M:PORTRAIT_HUMAN_BODY:5:5]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_MOUTH6_F:PORTRAIT_HUMAN_BODY:5:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH6_F:PORTRAIT_HUMAN_BODY:5:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH6_F:PORTRAIT_HUMAN_BODY:5:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH6_F:PORTRAIT_HUMAN_BODY:5:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_MOUTH6_M:PORTRAIT_HUMAN_BODY:5:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_MOUTH6_M:PORTRAIT_HUMAN_BODY:5:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_MOUTH6_M:PORTRAIT_HUMAN_BODY:5:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_MOUTH6_M:PORTRAIT_HUMAN_BODY:5:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_RANDOM_PART_INDEX:MOUTH:6:6]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	mouth missing
		[LAYER:MOUTH_MISSING:PORTRAIT_HUMAN_BODY:6:0]
			[CONDITION_BP:BY_TOKEN:HD]
				[BP_PRESENT]
			[CONDITION_BP:BY_TOKEN:L_LIP]
				[BP_MISSING]

	eyes
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:HD]
			[BP_PRESENT]
		[LAYER:Z_EYES_NARROWH_NARROW_F:PORTRAIT_HUMAN_BODY:7:11]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_EYES_NARROWH_NARROW_M:PORTRAIT_HUMAN_BODY:7:5]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:5]
		[LAYER:N_EYES_NARROWH_NARROW_F:PORTRAIT_HUMAN_BODY:7:11]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:6]
		[LAYER:N_EYES_NARROWH_NARROW_M:PORTRAIT_HUMAN_BODY:7:5]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:6]
		[LAYER:V_EYES_NARROWH_NARROW_F:PORTRAIT_HUMAN_BODY:7:11]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:7]
		[LAYER:V_EYES_NARROWH_NARROW_M:PORTRAIT_HUMAN_BODY:7:5]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:7]
		[LAYER:U_EYES_NARROWH_NARROW_F:PORTRAIT_HUMAN_BODY:7:11]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:8]
		[LAYER:U_EYES_NARROWH_NARROW_M:PORTRAIT_HUMAN_BODY:7:5]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:8]
		[LAYER:G_EYES_NARROWH_NARROW_F:PORTRAIT_HUMAN_BODY:7:11]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:9]
		[LAYER:G_EYES_NARROWH_NARROW_M:PORTRAIT_HUMAN_BODY:7:5]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:9]
		[LAYER:M_EYES_NARROWH_NARROW_F:PORTRAIT_HUMAN_BODY:7:11]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:10]
		[LAYER:M_EYES_NARROWH_NARROW_M:PORTRAIT_HUMAN_BODY:7:5]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_EYES_NARROWH_NARROW_F:PORTRAIT_HUMAN_BODY:7:11]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_EYES_NARROWH_NARROW_M:PORTRAIT_HUMAN_BODY:7:5]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_EYES_NARROWH_NARROW_F:PORTRAIT_HUMAN_BODY:7:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_NARROWH_NARROW_F:PORTRAIT_HUMAN_BODY:7:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_NARROWH_NARROW_F:PORTRAIT_HUMAN_BODY:7:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_NARROWH_NARROW_F:PORTRAIT_HUMAN_BODY:7:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_EYES_NARROWH_NARROW_M:PORTRAIT_HUMAN_BODY:7:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_NARROWH_NARROW_M:PORTRAIT_HUMAN_BODY:7:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_NARROWH_NARROW_M:PORTRAIT_HUMAN_BODY:7:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_NARROWH_NARROW_M:PORTRAIT_HUMAN_BODY:7:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_EYES_THICKH_NARROW_F:PORTRAIT_HUMAN_BODY:7:8]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_EYES_THICKH_NARROW_M:PORTRAIT_HUMAN_BODY:7:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:5]
		[LAYER:N_EYES_THICKH_NARROW_F:PORTRAIT_HUMAN_BODY:7:8]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:6]
		[LAYER:N_EYES_THICKH_NARROW_M:PORTRAIT_HUMAN_BODY:7:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:6]
		[LAYER:V_EYES_THICKH_NARROW_F:PORTRAIT_HUMAN_BODY:7:8]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:7]
		[LAYER:V_EYES_THICKH_NARROW_M:PORTRAIT_HUMAN_BODY:7:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:7]
		[LAYER:U_EYES_THICKH_NARROW_F:PORTRAIT_HUMAN_BODY:7:8]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:8]
		[LAYER:U_EYES_THICKH_NARROW_M:PORTRAIT_HUMAN_BODY:7:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:8]
		[LAYER:G_EYES_THICKH_NARROW_F:PORTRAIT_HUMAN_BODY:7:8]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:9]
		[LAYER:G_EYES_THICKH_NARROW_M:PORTRAIT_HUMAN_BODY:7:2]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:9]
		[LAYER:M_EYES_THICKH_NARROW_F:PORTRAIT_HUMAN_BODY:7:8]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:10]
		[LAYER:M_EYES_THICKH_NARROW_M:PORTRAIT_HUMAN_BODY:7:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_EYES_THICKH_NARROW_F:PORTRAIT_HUMAN_BODY:7:8]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_EYES_THICKH_NARROW_M:PORTRAIT_HUMAN_BODY:7:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_EYES_THICKH_NARROW_F:PORTRAIT_HUMAN_BODY:7:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_THICKH_NARROW_F:PORTRAIT_HUMAN_BODY:7:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_THICKH_NARROW_F:PORTRAIT_HUMAN_BODY:7:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_THICKH_NARROW_F:PORTRAIT_HUMAN_BODY:7:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_EYES_THICKH_NARROW_M:PORTRAIT_HUMAN_BODY:7:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_THICKH_NARROW_M:PORTRAIT_HUMAN_BODY:7:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_THICKH_NARROW_M:PORTRAIT_HUMAN_BODY:7:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_THICKH_NARROW_M:PORTRAIT_HUMAN_BODY:7:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:ROUND_VS_NARROW:0:99]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_EYES_NARROWH_DEEP_F:PORTRAIT_HUMAN_BODY:7:10]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_EYES_NARROWH_DEEP_M:PORTRAIT_HUMAN_BODY:7:4]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:N_EYES_NARROWH_DEEP_F:PORTRAIT_HUMAN_BODY:7:10]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:N_EYES_NARROWH_DEEP_M:PORTRAIT_HUMAN_BODY:7:4]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:V_EYES_NARROWH_DEEP_F:PORTRAIT_HUMAN_BODY:7:10]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:V_EYES_NARROWH_DEEP_M:PORTRAIT_HUMAN_BODY:7:4]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:U_EYES_NARROWH_DEEP_F:PORTRAIT_HUMAN_BODY:7:10]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:U_EYES_NARROWH_DEEP_M:PORTRAIT_HUMAN_BODY:7:4]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:G_EYES_NARROWH_DEEP_F:PORTRAIT_HUMAN_BODY:7:10]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:G_EYES_NARROWH_DEEP_M:PORTRAIT_HUMAN_BODY:7:4]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:M_EYES_NARROWH_DEEP_F:PORTRAIT_HUMAN_BODY:7:10]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:M_EYES_NARROWH_DEEP_M:PORTRAIT_HUMAN_BODY:7:4]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_EYES_NARROWH_DEEP_F:PORTRAIT_HUMAN_BODY:7:10]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_EYES_NARROWH_DEEP_M:PORTRAIT_HUMAN_BODY:7:4]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_EYES_NARROWH_DEEP_F:PORTRAIT_HUMAN_BODY:7:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_NARROWH_DEEP_F:PORTRAIT_HUMAN_BODY:7:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_NARROWH_DEEP_F:PORTRAIT_HUMAN_BODY:7:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_NARROWH_DEEP_F:PORTRAIT_HUMAN_BODY:7:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_EYES_NARROWH_DEEP_M:PORTRAIT_HUMAN_BODY:7:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_NARROWH_DEEP_M:PORTRAIT_HUMAN_BODY:7:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_NARROWH_DEEP_M:PORTRAIT_HUMAN_BODY:7:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_NARROWH_DEEP_M:PORTRAIT_HUMAN_BODY:7:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_EYES_THICKH_DEEP_F:PORTRAIT_HUMAN_BODY:7:7]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_EYES_THICKH_DEEP_M:PORTRAIT_HUMAN_BODY:7:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:N_EYES_THICKH_DEEP_F:PORTRAIT_HUMAN_BODY:7:7]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:N_EYES_THICKH_DEEP_M:PORTRAIT_HUMAN_BODY:7:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:V_EYES_THICKH_DEEP_F:PORTRAIT_HUMAN_BODY:7:7]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:V_EYES_THICKH_DEEP_M:PORTRAIT_HUMAN_BODY:7:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:U_EYES_THICKH_DEEP_F:PORTRAIT_HUMAN_BODY:7:7]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:U_EYES_THICKH_DEEP_M:PORTRAIT_HUMAN_BODY:7:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:G_EYES_THICKH_DEEP_F:PORTRAIT_HUMAN_BODY:7:7]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:G_EYES_THICKH_DEEP_M:PORTRAIT_HUMAN_BODY:7:1]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:M_EYES_THICKH_DEEP_F:PORTRAIT_HUMAN_BODY:7:7]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:M_EYES_THICKH_DEEP_M:PORTRAIT_HUMAN_BODY:7:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_EYES_THICKH_DEEP_F:PORTRAIT_HUMAN_BODY:7:7]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_EYES_THICKH_DEEP_M:PORTRAIT_HUMAN_BODY:7:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_EYES_THICKH_DEEP_F:PORTRAIT_HUMAN_BODY:7:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_THICKH_DEEP_F:PORTRAIT_HUMAN_BODY:7:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_THICKH_DEEP_F:PORTRAIT_HUMAN_BODY:7:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_THICKH_DEEP_F:PORTRAIT_HUMAN_BODY:7:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_EYES_THICKH_DEEP_M:PORTRAIT_HUMAN_BODY:7:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_THICKH_DEEP_M:PORTRAIT_HUMAN_BODY:7:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_THICKH_DEEP_M:PORTRAIT_HUMAN_BODY:7:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_THICKH_DEEP_M:PORTRAIT_HUMAN_BODY:7:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:EYE]
				[BP_APPEARANCE_MODIFIER_RANGE:DEEP_SET:101:200]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_EYES_NARROWH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:9]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_EYES_NARROWH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:5]
		[LAYER:N_EYES_NARROWH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:9]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:6]
		[LAYER:N_EYES_NARROWH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:6]
		[LAYER:V_EYES_NARROWH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:9]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:7]
		[LAYER:V_EYES_NARROWH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:7]
		[LAYER:U_EYES_NARROWH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:9]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:8]
		[LAYER:U_EYES_NARROWH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:8]
		[LAYER:G_EYES_NARROWH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:9]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:9]
		[LAYER:G_EYES_NARROWH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:3]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:9]
		[LAYER:M_EYES_NARROWH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:9]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:10]
		[LAYER:M_EYES_NARROWH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_EYES_NARROWH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:9]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_EYES_NARROWH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_EYES_NARROWH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_NARROWH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_NARROWH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_NARROWH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_EYES_NARROWH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_NARROWH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_NARROWH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_NARROWH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_EYES_THICKH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:6]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_EYES_THICKH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_EYES_THICKH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:6]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_EYES_THICKH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:V_EYES_THICKH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:6]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_EYES_THICKH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_EYES_THICKH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:6]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_EYES_THICKH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:G_EYES_THICKH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:6]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_EYES_THICKH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:0]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:M_EYES_THICKH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:6]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_EYES_THICKH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_EYES_THICKH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:6]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_EYES_THICKH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_EYES_THICKH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_THICKH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_THICKH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_THICKH_SHALLOW_F:PORTRAIT_HUMAN_BODY:7:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_EYES_THICKH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_EYES_THICKH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_EYES_THICKH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_EYES_THICKH_SHALLOW_M:PORTRAIT_HUMAN_BODY:7:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]

		[END_LAYER_GROUP]

	eye scar left
		[LAYER:EYE_SCAR_L:PORTRAIT_HUMAN_BODY:8:0]
			[CONDITION_BP:BY_TOKEN:HD]
				[BP_PRESENT]
				[BP_SCARRED]
			[CONDITION_RANDOM_PART_INDEX:HEAD_SCAR:1:2]

	eye scar right
		[LAYER:EYE_SCAR_R:PORTRAIT_HUMAN_BODY:9:0]
			[CONDITION_BP:BY_TOKEN:HD]
				[BP_PRESENT]
				[BP_SCARRED]
			[CONDITION_RANDOM_PART_INDEX:HEAD_SCAR:2:2]

	eye missing left
		[LAYER:EYE_L_MISSING:PORTRAIT_HUMAN_BODY:10:0]
			[CONDITION_BP:BY_TOKEN:HD]
				[BP_PRESENT]
			[CONDITION_BP:BY_TOKEN:LEYE]
				[BP_MISSING]

	eye missing right
		[LAYER:EYE_R_MISSING:PORTRAIT_HUMAN_BODY:11:0]
			[CONDITION_BP:BY_TOKEN:HD]
				[BP_PRESENT]
			[CONDITION_BP:BY_TOKEN:REYE]
				[BP_MISSING]

	cheek scar
		[LAYER:CHEEK_SCAR:PORTRAIT_HUMAN_BODY:13:0]
			[CONDITION_BP:BY_TOKEN:R_CHEEK]
				[BP_PRESENT]
				[BP_SCARRED]

	nose missing
		[LAYER:NOSE_MISSING:PORTRAIT_HUMAN_BODY:12:0]
			[CONDITION_BP:BY_TOKEN:HD]
				[BP_PRESENT]
			[CONDITION_BP:BY_TOKEN:NOSE]
				[BP_MISSING]

	hair
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:HD]
			[BP_PRESENT]
		[LG_CONDITION_BP:BY_TOKEN:R_EAR]
			[BP_PRESENT]
		stubble
		[LAYER:STUBBLE_WHITE:PORTRAIT_HUMAN_HAIR:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:STUBBLE_BLACK:PORTRAIT_HUMAN_HAIR:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:STUBBLE_RED:PORTRAIT_HUMAN_HAIR:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:STUBBLE_BLOND:PORTRAIT_HUMAN_HAIR:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:STUBBLE_LBROWN:PORTRAIT_HUMAN_HAIR:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:STUBBLE_DBROWN:PORTRAIT_HUMAN_HAIR:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short unkempt
		[LAYER:SHORT_UNKEMPT_WHITE:PORTRAIT_HUMAN_HAIR:1:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_UNKEMPT_BLACK:PORTRAIT_HUMAN_HAIR:1:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_UNKEMPT_RED:PORTRAIT_HUMAN_HAIR:1:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_UNKEMPT_BLOND:PORTRAIT_HUMAN_HAIR:1:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_UNKEMPT_LBROWN:PORTRAIT_HUMAN_HAIR:1:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_UNKEMPT_DBROWN:PORTRAIT_HUMAN_HAIR:1:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid unkempt
		[LAYER:MID_UNKEMPT_WHITE:PORTRAIT_HUMAN_HAIR:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_UNKEMPT_BLACK:PORTRAIT_HUMAN_HAIR:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_UNKEMPT_RED:PORTRAIT_HUMAN_HAIR:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_UNKEMPT_BLOND:PORTRAIT_HUMAN_HAIR:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_UNKEMPT_LBROWN:PORTRAIT_HUMAN_HAIR:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_UNKEMPT_DBROWN:PORTRAIT_HUMAN_HAIR:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long unkempt
		[LAYER:LONG_UNKEMPT_WHITE:PORTRAIT_HUMAN_HAIR:1:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_UNKEMPT_BLACK:PORTRAIT_HUMAN_HAIR:1:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_UNKEMPT_RED:PORTRAIT_HUMAN_HAIR:1:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_UNKEMPT_BLOND:PORTRAIT_HUMAN_HAIR:1:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_UNKEMPT_LBROWN:PORTRAIT_HUMAN_HAIR:1:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_UNKEMPT_DBROWN:PORTRAIT_HUMAN_HAIR:1:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short combed
		[LAYER:SHORT_COMBED_WHITE:PORTRAIT_HUMAN_HAIR:1:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_COMBED_BLACK:PORTRAIT_HUMAN_HAIR:1:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_COMBED_RED:PORTRAIT_HUMAN_HAIR:1:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_COMBED_BLOND:PORTRAIT_HUMAN_HAIR:1:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_COMBED_LBROWN:PORTRAIT_HUMAN_HAIR:1:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_COMBED_DBROWN:PORTRAIT_HUMAN_HAIR:1:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid combed
		[LAYER:MID_COMBED_WHITE:PORTRAIT_HUMAN_HAIR:1:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_COMBED_BLACK:PORTRAIT_HUMAN_HAIR:1:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_COMBED_RED:PORTRAIT_HUMAN_HAIR:1:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_COMBED_BLOND:PORTRAIT_HUMAN_HAIR:1:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_COMBED_LBROWN:PORTRAIT_HUMAN_HAIR:1:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_COMBED_DBROWN:PORTRAIT_HUMAN_HAIR:1:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long combed
		[LAYER:LONG_COMBED_WHITE:PORTRAIT_HUMAN_HAIR:1:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_COMBED_BLACK:PORTRAIT_HUMAN_HAIR:1:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_COMBED_RED:PORTRAIT_HUMAN_HAIR:1:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_COMBED_BLOND:PORTRAIT_HUMAN_HAIR:1:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_COMBED_LBROWN:PORTRAIT_HUMAN_HAIR:1:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_COMBED_DBROWN:PORTRAIT_HUMAN_HAIR:1:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short braid
		[LAYER:SHORT_BRAIDED_WHITE:PORTRAIT_HUMAN_HAIR:1:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_BRAIDED_BLACK:PORTRAIT_HUMAN_HAIR:1:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_BRAIDED_RED:PORTRAIT_HUMAN_HAIR:1:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_BRAIDED_BLOND:PORTRAIT_HUMAN_HAIR:1:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_BRAIDED_LBROWN:PORTRAIT_HUMAN_HAIR:1:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_BRAIDED_DBROWN:PORTRAIT_HUMAN_HAIR:1:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid braid
		[LAYER:MID_BRAIDED_WHITE:PORTRAIT_HUMAN_HAIR:1:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_BRAIDED_BLACK:PORTRAIT_HUMAN_HAIR:1:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_BRAIDED_RED:PORTRAIT_HUMAN_HAIR:1:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_BRAIDED_BLOND:PORTRAIT_HUMAN_HAIR:1:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_BRAIDED_LBROWN:PORTRAIT_HUMAN_HAIR:1:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_BRAIDED_DBROWN:PORTRAIT_HUMAN_HAIR:1:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long braid
		[LAYER:LONG_BRAIDED_WHITE:PORTRAIT_HUMAN_HAIR:1:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_BRAIDED_BLACK:PORTRAIT_HUMAN_HAIR:1:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_BRAIDED_RED:PORTRAIT_HUMAN_HAIR:1:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_BRAIDED_BLOND:PORTRAIT_HUMAN_HAIR:1:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_BRAIDED_LBROWN:PORTRAIT_HUMAN_HAIR:1:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_BRAIDED_DBROWN:PORTRAIT_HUMAN_HAIR:1:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short 2xbraid
		[LAYER:SHORT_DOUBLE_BRAIDS_WHITE:PORTRAIT_HUMAN_HAIR:1:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_DOUBLE_BRAIDS_BLACK:PORTRAIT_HUMAN_HAIR:1:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_DOUBLE_BRAIDS_RED:PORTRAIT_HUMAN_HAIR:1:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_DOUBLE_BRAIDS_BLOND:PORTRAIT_HUMAN_HAIR:1:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_DOUBLE_BRAIDS_LBROWN:PORTRAIT_HUMAN_HAIR:1:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_DOUBLE_BRAIDS_DBROWN:PORTRAIT_HUMAN_HAIR:1:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid 2xbraid
		[LAYER:MID_DOUBLE_BRAIDS_WHITE:PORTRAIT_HUMAN_HAIR:1:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_DOUBLE_BRAIDS_BLACK:PORTRAIT_HUMAN_HAIR:1:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_DOUBLE_BRAIDS_RED:PORTRAIT_HUMAN_HAIR:1:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_DOUBLE_BRAIDS_BLOND:PORTRAIT_HUMAN_HAIR:1:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_DOUBLE_BRAIDS_LBROWN:PORTRAIT_HUMAN_HAIR:1:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_DOUBLE_BRAIDS_DBROWN:PORTRAIT_HUMAN_HAIR:1:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long 2xbraid
		[LAYER:LONG_DOUBLE_BRAIDS_WHITE:PORTRAIT_HUMAN_HAIR:1:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_DOUBLE_BRAIDS_BLACK:PORTRAIT_HUMAN_HAIR:1:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_DOUBLE_BRAIDS_RED:PORTRAIT_HUMAN_HAIR:1:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_DOUBLE_BRAIDS_BLOND:PORTRAIT_HUMAN_HAIR:1:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_DOUBLE_BRAIDS_LBROWN:PORTRAIT_HUMAN_HAIR:1:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_DOUBLE_BRAIDS_DBROWN:PORTRAIT_HUMAN_HAIR:1:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short ponytail
		[LAYER:SHORT_PONY_TAIL_WHITE:PORTRAIT_HUMAN_HAIR:1:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_PONY_TAIL_BLACK:PORTRAIT_HUMAN_HAIR:1:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_PONY_TAIL_RED:PORTRAIT_HUMAN_HAIR:1:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_PONY_TAIL_BLOND:PORTRAIT_HUMAN_HAIR:1:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_PONY_TAIL_LBROWN:PORTRAIT_HUMAN_HAIR:1:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_PONY_TAIL_DBROWN:PORTRAIT_HUMAN_HAIR:1:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid ponytail
		[LAYER:MID_PONY_TAIL_WHITE:PORTRAIT_HUMAN_HAIR:1:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_PONY_TAIL_BLACK:PORTRAIT_HUMAN_HAIR:1:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_PONY_TAIL_RED:PORTRAIT_HUMAN_HAIR:1:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_PONY_TAIL_BLOND:PORTRAIT_HUMAN_HAIR:1:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_PONY_TAIL_LBROWN:PORTRAIT_HUMAN_HAIR:1:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_PONY_TAIL_DBROWN:PORTRAIT_HUMAN_HAIR:1:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long ponytail
		[LAYER:LONG_PONY_TAIL_WHITE:PORTRAIT_HUMAN_HAIR:1:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_PONY_TAIL_BLACK:PORTRAIT_HUMAN_HAIR:1:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_PONY_TAIL_RED:PORTRAIT_HUMAN_HAIR:1:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_PONY_TAIL_BLOND:PORTRAIT_HUMAN_HAIR:1:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_PONY_TAIL_LBROWN:PORTRAIT_HUMAN_HAIR:1:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_PONY_TAIL_DBROWN:PORTRAIT_HUMAN_HAIR:1:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:3:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]
		[END_LAYER_GROUP]

	hair ear missing
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:HD]
			[BP_PRESENT]
		[LG_CONDITION_BP:BY_TOKEN:R_EAR]
			[BP_PRESENT]
		stubble
		[LAYER:STUBBLE_WHITE:PORTRAIT_HUMAN_HAIR:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:STUBBLE_BLACK:PORTRAIT_HUMAN_HAIR:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:STUBBLE_RED:PORTRAIT_HUMAN_HAIR:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:STUBBLE_BLOND:PORTRAIT_HUMAN_HAIR:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:STUBBLE_LBROWN:PORTRAIT_HUMAN_HAIR:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:STUBBLE_DBROWN:PORTRAIT_HUMAN_HAIR:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:0]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short unkempt
		[LAYER:SHORT_UNKEMPT_WHITE:PORTRAIT_HUMAN_HAIR:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_UNKEMPT_BLACK:PORTRAIT_HUMAN_HAIR:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_UNKEMPT_RED:PORTRAIT_HUMAN_HAIR:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_UNKEMPT_BLOND:PORTRAIT_HUMAN_HAIR:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_UNKEMPT_LBROWN:PORTRAIT_HUMAN_HAIR:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_UNKEMPT_DBROWN:PORTRAIT_HUMAN_HAIR:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:1]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid unkempt
		[LAYER:MID_UNKEMPT_WHITE:PORTRAIT_HUMAN_HAIR:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_UNKEMPT_BLACK:PORTRAIT_HUMAN_HAIR:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_UNKEMPT_RED:PORTRAIT_HUMAN_HAIR:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_UNKEMPT_BLOND:PORTRAIT_HUMAN_HAIR:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_UNKEMPT_LBROWN:PORTRAIT_HUMAN_HAIR:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_UNKEMPT_DBROWN:PORTRAIT_HUMAN_HAIR:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:2]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long unkempt
		[LAYER:LONG_UNKEMPT_WHITE:PORTRAIT_HUMAN_HAIR:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_UNKEMPT_BLACK:PORTRAIT_HUMAN_HAIR:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_UNKEMPT_RED:PORTRAIT_HUMAN_HAIR:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_UNKEMPT_BLOND:PORTRAIT_HUMAN_HAIR:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_UNKEMPT_LBROWN:PORTRAIT_HUMAN_HAIR:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_UNKEMPT_DBROWN:PORTRAIT_HUMAN_HAIR:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:3]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short combed
		[LAYER:SHORT_COMBED_WHITE:PORTRAIT_HUMAN_HAIR:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_COMBED_BLACK:PORTRAIT_HUMAN_HAIR:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_COMBED_RED:PORTRAIT_HUMAN_HAIR:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_COMBED_BLOND:PORTRAIT_HUMAN_HAIR:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_COMBED_LBROWN:PORTRAIT_HUMAN_HAIR:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_COMBED_DBROWN:PORTRAIT_HUMAN_HAIR:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:4]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid combed
		[LAYER:MID_COMBED_WHITE:PORTRAIT_HUMAN_HAIR:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_COMBED_BLACK:PORTRAIT_HUMAN_HAIR:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_COMBED_RED:PORTRAIT_HUMAN_HAIR:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_COMBED_BLOND:PORTRAIT_HUMAN_HAIR:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_COMBED_LBROWN:PORTRAIT_HUMAN_HAIR:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_COMBED_DBROWN:PORTRAIT_HUMAN_HAIR:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:5]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long combed
		[LAYER:LONG_COMBED_WHITE:PORTRAIT_HUMAN_HAIR:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_COMBED_BLACK:PORTRAIT_HUMAN_HAIR:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_COMBED_RED:PORTRAIT_HUMAN_HAIR:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_COMBED_BLOND:PORTRAIT_HUMAN_HAIR:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_COMBED_LBROWN:PORTRAIT_HUMAN_HAIR:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_COMBED_DBROWN:PORTRAIT_HUMAN_HAIR:0:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:6]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short braid
		[LAYER:SHORT_BRAIDED_WHITE:PORTRAIT_HUMAN_HAIR:0:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_BRAIDED_BLACK:PORTRAIT_HUMAN_HAIR:0:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_BRAIDED_RED:PORTRAIT_HUMAN_HAIR:0:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_BRAIDED_BLOND:PORTRAIT_HUMAN_HAIR:0:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_BRAIDED_LBROWN:PORTRAIT_HUMAN_HAIR:0:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_BRAIDED_DBROWN:PORTRAIT_HUMAN_HAIR:0:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:7]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid braid
		[LAYER:MID_BRAIDED_WHITE:PORTRAIT_HUMAN_HAIR:0:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_BRAIDED_BLACK:PORTRAIT_HUMAN_HAIR:0:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_BRAIDED_RED:PORTRAIT_HUMAN_HAIR:0:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_BRAIDED_BLOND:PORTRAIT_HUMAN_HAIR:0:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_BRAIDED_LBROWN:PORTRAIT_HUMAN_HAIR:0:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_BRAIDED_DBROWN:PORTRAIT_HUMAN_HAIR:0:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:8]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long braid
		[LAYER:LONG_BRAIDED_WHITE:PORTRAIT_HUMAN_HAIR:0:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_BRAIDED_BLACK:PORTRAIT_HUMAN_HAIR:0:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_BRAIDED_RED:PORTRAIT_HUMAN_HAIR:0:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_BRAIDED_BLOND:PORTRAIT_HUMAN_HAIR:0:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_BRAIDED_LBROWN:PORTRAIT_HUMAN_HAIR:0:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_BRAIDED_DBROWN:PORTRAIT_HUMAN_HAIR:0:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:9]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short 2xbraid
		[LAYER:SHORT_DOUBLE_BRAIDS_WHITE:PORTRAIT_HUMAN_HAIR:0:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_DOUBLE_BRAIDS_BLACK:PORTRAIT_HUMAN_HAIR:0:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_DOUBLE_BRAIDS_RED:PORTRAIT_HUMAN_HAIR:0:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_DOUBLE_BRAIDS_BLOND:PORTRAIT_HUMAN_HAIR:0:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_DOUBLE_BRAIDS_LBROWN:PORTRAIT_HUMAN_HAIR:0:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_DOUBLE_BRAIDS_DBROWN:PORTRAIT_HUMAN_HAIR:0:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:10]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid 2xbraid
		[LAYER:MID_DOUBLE_BRAIDS_WHITE:PORTRAIT_HUMAN_HAIR:0:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_DOUBLE_BRAIDS_BLACK:PORTRAIT_HUMAN_HAIR:0:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_DOUBLE_BRAIDS_RED:PORTRAIT_HUMAN_HAIR:0:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_DOUBLE_BRAIDS_BLOND:PORTRAIT_HUMAN_HAIR:0:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_DOUBLE_BRAIDS_LBROWN:PORTRAIT_HUMAN_HAIR:0:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_DOUBLE_BRAIDS_DBROWN:PORTRAIT_HUMAN_HAIR:0:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:11]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long 2xbraid
		[LAYER:LONG_DOUBLE_BRAIDS_WHITE:PORTRAIT_HUMAN_HAIR:0:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_DOUBLE_BRAIDS_BLACK:PORTRAIT_HUMAN_HAIR:0:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_DOUBLE_BRAIDS_RED:PORTRAIT_HUMAN_HAIR:0:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_DOUBLE_BRAIDS_BLOND:PORTRAIT_HUMAN_HAIR:0:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_DOUBLE_BRAIDS_LBROWN:PORTRAIT_HUMAN_HAIR:0:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_DOUBLE_BRAIDS_DBROWN:PORTRAIT_HUMAN_HAIR:0:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:12]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		short ponytail
		[LAYER:SHORT_PONY_TAIL_WHITE:PORTRAIT_HUMAN_HAIR:0:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:SHORT_PONY_TAIL_BLACK:PORTRAIT_HUMAN_HAIR:0:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:SHORT_PONY_TAIL_RED:PORTRAIT_HUMAN_HAIR:0:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:SHORT_PONY_TAIL_BLOND:PORTRAIT_HUMAN_HAIR:0:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:SHORT_PONY_TAIL_LBROWN:PORTRAIT_HUMAN_HAIR:0:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:SHORT_PONY_TAIL_DBROWN:PORTRAIT_HUMAN_HAIR:0:13]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:13]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		mid ponytail
		[LAYER:MID_PONY_TAIL_WHITE:PORTRAIT_HUMAN_HAIR:0:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:MID_PONY_TAIL_BLACK:PORTRAIT_HUMAN_HAIR:0:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:MID_PONY_TAIL_RED:PORTRAIT_HUMAN_HAIR:0:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:MID_PONY_TAIL_BLOND:PORTRAIT_HUMAN_HAIR:0:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:MID_PONY_TAIL_LBROWN:PORTRAIT_HUMAN_HAIR:0:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:MID_PONY_TAIL_DBROWN:PORTRAIT_HUMAN_HAIR:0:14]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:14]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]

		long ponytail
		[LAYER:LONG_PONY_TAIL_WHITE:PORTRAIT_HUMAN_HAIR:0:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:5]
		[LAYER:LONG_PONY_TAIL_BLACK:PORTRAIT_HUMAN_HAIR:0:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:0]
		[LAYER:LONG_PONY_TAIL_RED:PORTRAIT_HUMAN_HAIR:0:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:11]
		[LAYER:LONG_PONY_TAIL_BLOND:PORTRAIT_HUMAN_HAIR:0:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:9]
		[LAYER:LONG_PONY_TAIL_LBROWN:PORTRAIT_HUMAN_HAIR:0:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:1]
		[LAYER:LONG_PONY_TAIL_DBROWN:PORTRAIT_HUMAN_HAIR:0:15]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:HAIR]
				[TISSUE_MAY_HAVE_SHAPING:PONY_TAILS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:2:15]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:2]
		[END_LAYER_GROUP]

	beard
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:HD]
			[BP_PRESENT]

		stubble
		[LAYER:BEARD_STUBBLE_WHITE:PORTRAIT_HUMAN_HAIR:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_STUBBLE_BLACK:PORTRAIT_HUMAN_HAIR:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_STUBBLE_RED:PORTRAIT_HUMAN_HAIR:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_STUBBLE_BLOND:PORTRAIT_HUMAN_HAIR:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_STUBBLE_LBROWN:PORTRAIT_HUMAN_HAIR:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_STUBBLE_DBROWN:PORTRAIT_HUMAN_HAIR:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MIN_LENGTH:1]
				[TISSUE_MAX_LENGTH:49]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		short unkempt
		[LAYER:BEARD_SHORT_UNKEMPT_WHITE:PORTRAIT_HUMAN_HAIR:4:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_SHORT_UNKEMPT_BLACK:PORTRAIT_HUMAN_HAIR:4:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_SHORT_UNKEMPT_RED:PORTRAIT_HUMAN_HAIR:4:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_SHORT_UNKEMPT_BLOND:PORTRAIT_HUMAN_HAIR:4:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_SHORT_UNKEMPT_LBROWN:PORTRAIT_HUMAN_HAIR:4:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_SHORT_UNKEMPT_DBROWN:PORTRAIT_HUMAN_HAIR:4:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		mid unkempt
		[LAYER:BEARD_MID_UNKEMPT_WHITE:PORTRAIT_HUMAN_HAIR:4:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_MID_UNKEMPT_BLACK:PORTRAIT_HUMAN_HAIR:4:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_MID_UNKEMPT_RED:PORTRAIT_HUMAN_HAIR:4:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_MID_UNKEMPT_BLOND:PORTRAIT_HUMAN_HAIR:4:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_MID_UNKEMPT_LBROWN:PORTRAIT_HUMAN_HAIR:4:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_MID_UNKEMPT_DBROWN:PORTRAIT_HUMAN_HAIR:4:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		long unkempt
		[LAYER:BEARD_LONG_UNKEMPT_WHITE:PORTRAIT_HUMAN_HAIR:4:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_LONG_UNKEMPT_BLACK:PORTRAIT_HUMAN_HAIR:4:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_LONG_UNKEMPT_RED:PORTRAIT_HUMAN_HAIR:4:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_LONG_UNKEMPT_BLOND:PORTRAIT_HUMAN_HAIR:4:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_LONG_UNKEMPT_LBROWN:PORTRAIT_HUMAN_HAIR:4:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_LONG_UNKEMPT_DBROWN:PORTRAIT_HUMAN_HAIR:4:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_NOT_SHAPED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		short combed
		[LAYER:BEARD_SHORT_COMBED_WHITE:PORTRAIT_HUMAN_HAIR:4:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:13]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_SHORT_COMBED_BLACK:PORTRAIT_HUMAN_HAIR:4:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:13]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_SHORT_COMBED_RED:PORTRAIT_HUMAN_HAIR:4:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:13]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_SHORT_COMBED_BLOND:PORTRAIT_HUMAN_HAIR:4:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:13]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_SHORT_COMBED_LBROWN:PORTRAIT_HUMAN_HAIR:4:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:13]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_SHORT_COMBED_DBROWN:PORTRAIT_HUMAN_HAIR:4:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:13]
			[USE_PALETTE:HAIR:2]

		mid combed
		[LAYER:BEARD_MID_COMBED_WHITE:PORTRAIT_HUMAN_HAIR:4:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:14]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_MID_COMBED_BLACK:PORTRAIT_HUMAN_HAIR:4:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:14]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_MID_COMBED_RED:PORTRAIT_HUMAN_HAIR:4:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:14]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_MID_COMBED_BLOND:PORTRAIT_HUMAN_HAIR:4:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:14]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_MID_COMBED_LBROWN:PORTRAIT_HUMAN_HAIR:4:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:14]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_MID_COMBED_DBROWN:PORTRAIT_HUMAN_HAIR:4:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:14]
			[USE_PALETTE:HAIR:2]

		long combed
		[LAYER:BEARD_LONG_COMBED_WHITE:PORTRAIT_HUMAN_HAIR:4:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:15]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_LONG_COMBED_BLACK:PORTRAIT_HUMAN_HAIR:4:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:15]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_LONG_COMBED_RED:PORTRAIT_HUMAN_HAIR:4:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:15]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_LONG_COMBED_BLOND:PORTRAIT_HUMAN_HAIR:4:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:15]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_LONG_COMBED_LBROWN:PORTRAIT_HUMAN_HAIR:4:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:15]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_LONG_COMBED_DBROWN:PORTRAIT_HUMAN_HAIR:4:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:NEATLY_COMBED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
				[TISSUE_SWAP:IF_MIN_CURLY:150:PORTRAIT_HUMAN_HAIR:4:15]
			[USE_PALETTE:HAIR:2]

		short braid
		[LAYER:BEARD_SHORT_BRAIDED_WHITE:PORTRAIT_HUMAN_HAIR:4:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_SHORT_BRAIDED_BLACK:PORTRAIT_HUMAN_HAIR:4:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_SHORT_BRAIDED_RED:PORTRAIT_HUMAN_HAIR:4:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_SHORT_BRAIDED_BLOND:PORTRAIT_HUMAN_HAIR:4:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_SHORT_BRAIDED_LBROWN:PORTRAIT_HUMAN_HAIR:4:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_SHORT_BRAIDED_DBROWN:PORTRAIT_HUMAN_HAIR:4:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		mid braid
		[LAYER:BEARD_MID_BRAIDED_WHITE:PORTRAIT_HUMAN_HAIR:4:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_MID_BRAIDED_BLACK:PORTRAIT_HUMAN_HAIR:4:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_MID_BRAIDED_RED:PORTRAIT_HUMAN_HAIR:4:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_MID_BRAIDED_BLOND:PORTRAIT_HUMAN_HAIR:4:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_MID_BRAIDED_LBROWN:PORTRAIT_HUMAN_HAIR:4:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_MID_BRAIDED_DBROWN:PORTRAIT_HUMAN_HAIR:4:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		long braid
		[LAYER:BEARD_LONG_BRAIDED_WHITE:PORTRAIT_HUMAN_HAIR:4:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_LONG_BRAIDED_BLACK:PORTRAIT_HUMAN_HAIR:4:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_LONG_BRAIDED_RED:PORTRAIT_HUMAN_HAIR:4:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_LONG_BRAIDED_BLOND:PORTRAIT_HUMAN_HAIR:4:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_LONG_BRAIDED_LBROWN:PORTRAIT_HUMAN_HAIR:4:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_LONG_BRAIDED_DBROWN:PORTRAIT_HUMAN_HAIR:4:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:BRAIDED]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		short 2xbraid
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_WHITE:PORTRAIT_HUMAN_HAIR:4:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_BLACK:PORTRAIT_HUMAN_HAIR:4:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_RED:PORTRAIT_HUMAN_HAIR:4:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_BLOND:PORTRAIT_HUMAN_HAIR:4:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_LBROWN:PORTRAIT_HUMAN_HAIR:4:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_DBROWN:PORTRAIT_HUMAN_HAIR:4:10]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:50]
				[TISSUE_MAX_LENGTH:99]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		mid 2xbraid
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_WHITE:PORTRAIT_HUMAN_HAIR:4:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_BLACK:PORTRAIT_HUMAN_HAIR:4:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_RED:PORTRAIT_HUMAN_HAIR:4:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_BLOND:PORTRAIT_HUMAN_HAIR:4:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_LBROWN:PORTRAIT_HUMAN_HAIR:4:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_DBROWN:PORTRAIT_HUMAN_HAIR:4:11]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:100]
				[TISSUE_MAX_LENGTH:199]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		long 2xbraid
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_WHITE:PORTRAIT_HUMAN_HAIR:4:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_BLACK:PORTRAIT_HUMAN_HAIR:4:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_RED:PORTRAIT_HUMAN_HAIR:4:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_BLOND:PORTRAIT_HUMAN_HAIR:4:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_LBROWN:PORTRAIT_HUMAN_HAIR:4:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_DBROWN:PORTRAIT_HUMAN_HAIR:4:12]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:CHIN_WHISKERS]
				[TISSUE_MAY_HAVE_SHAPING:DOUBLE_BRAIDS]
				[TISSUE_MIN_LENGTH:200]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[END_LAYER_GROUP]

	nose
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:NOSE]
			[BP_PRESENT]
		[LAYER:Z_NOSE_UPTURNED_F:PORTRAIT_HUMAN_BODY:14:9]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_NOSE_UPTURNED_M:PORTRAIT_HUMAN_BODY:14:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:N_NOSE_UPTURNED_F:PORTRAIT_HUMAN_BODY:14:9]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:N_NOSE_UPTURNED_M:PORTRAIT_HUMAN_BODY:14:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:V_NOSE_UPTURNED_F:PORTRAIT_HUMAN_BODY:14:9]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:V_NOSE_UPTURNED_M:PORTRAIT_HUMAN_BODY:14:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:U_NOSE_UPTURNED_F:PORTRAIT_HUMAN_BODY:14:9]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:U_NOSE_UPTURNED_M:PORTRAIT_HUMAN_BODY:14:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:G_NOSE_UPTURNED_F:PORTRAIT_HUMAN_BODY:14:9]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:G_NOSE_UPTURNED_M:PORTRAIT_HUMAN_BODY:14:3]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:M_NOSE_UPTURNED_F:PORTRAIT_HUMAN_BODY:14:9]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:M_NOSE_UPTURNED_M:PORTRAIT_HUMAN_BODY:14:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_NOSE_UPTURNED_F:PORTRAIT_HUMAN_BODY:14:9]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_NOSE_UPTURNED_M:PORTRAIT_HUMAN_BODY:14:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_NOSE_UPTURNED_F:PORTRAIT_HUMAN_BODY:14:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_NOSE_UPTURNED_F:PORTRAIT_HUMAN_BODY:14:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_NOSE_UPTURNED_F:PORTRAIT_HUMAN_BODY:14:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_NOSE_UPTURNED_F:PORTRAIT_HUMAN_BODY:14:9]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_NOSE_UPTURNED_M:PORTRAIT_HUMAN_BODY:14:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_NOSE_UPTURNED_M:PORTRAIT_HUMAN_BODY:14:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_NOSE_UPTURNED_M:PORTRAIT_HUMAN_BODY:14:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_NOSE_UPTURNED_M:PORTRAIT_HUMAN_BODY:14:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:UPTURNED:101:200]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_NOSE_WIDE_F:PORTRAIT_HUMAN_BODY:14:7]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_NOSE_WIDE_M:PORTRAIT_HUMAN_BODY:14:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:N_NOSE_WIDE_F:PORTRAIT_HUMAN_BODY:14:7]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:N_NOSE_WIDE_M:PORTRAIT_HUMAN_BODY:14:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:V_NOSE_WIDE_F:PORTRAIT_HUMAN_BODY:14:7]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:V_NOSE_WIDE_M:PORTRAIT_HUMAN_BODY:14:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:U_NOSE_WIDE_F:PORTRAIT_HUMAN_BODY:14:7]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:U_NOSE_WIDE_M:PORTRAIT_HUMAN_BODY:14:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:G_NOSE_WIDE_F:PORTRAIT_HUMAN_BODY:14:7]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:G_NOSE_WIDE_M:PORTRAIT_HUMAN_BODY:14:1]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:M_NOSE_WIDE_F:PORTRAIT_HUMAN_BODY:14:7]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:M_NOSE_WIDE_M:PORTRAIT_HUMAN_BODY:14:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_NOSE_WIDE_F:PORTRAIT_HUMAN_BODY:14:7]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_NOSE_WIDE_M:PORTRAIT_HUMAN_BODY:14:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_NOSE_WIDE_F:PORTRAIT_HUMAN_BODY:14:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_NOSE_WIDE_F:PORTRAIT_HUMAN_BODY:14:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_NOSE_WIDE_F:PORTRAIT_HUMAN_BODY:14:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_NOSE_WIDE_F:PORTRAIT_HUMAN_BODY:14:7]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_NOSE_WIDE_M:PORTRAIT_HUMAN_BODY:14:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_NOSE_WIDE_M:PORTRAIT_HUMAN_BODY:14:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_NOSE_WIDE_M:PORTRAIT_HUMAN_BODY:14:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_NOSE_WIDE_M:PORTRAIT_HUMAN_BODY:14:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:101:200]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_NOSE_LONG_F:PORTRAIT_HUMAN_BODY:14:6]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_NOSE_LONG_M:PORTRAIT_HUMAN_BODY:14:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:5]
		[LAYER:N_NOSE_LONG_F:PORTRAIT_HUMAN_BODY:14:6]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:N_NOSE_LONG_M:PORTRAIT_HUMAN_BODY:14:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:6]
		[LAYER:V_NOSE_LONG_F:PORTRAIT_HUMAN_BODY:14:6]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:V_NOSE_LONG_M:PORTRAIT_HUMAN_BODY:14:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:7]
		[LAYER:U_NOSE_LONG_F:PORTRAIT_HUMAN_BODY:14:6]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:U_NOSE_LONG_M:PORTRAIT_HUMAN_BODY:14:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:8]
		[LAYER:G_NOSE_LONG_F:PORTRAIT_HUMAN_BODY:14:6]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:G_NOSE_LONG_M:PORTRAIT_HUMAN_BODY:14:0]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:9]
		[LAYER:M_NOSE_LONG_F:PORTRAIT_HUMAN_BODY:14:6]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:M_NOSE_LONG_M:PORTRAIT_HUMAN_BODY:14:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_NOSE_LONG_F:PORTRAIT_HUMAN_BODY:14:6]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_NOSE_LONG_M:PORTRAIT_HUMAN_BODY:14:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_NOSE_LONG_F:PORTRAIT_HUMAN_BODY:14:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_NOSE_LONG_F:PORTRAIT_HUMAN_BODY:14:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_NOSE_LONG_F:PORTRAIT_HUMAN_BODY:14:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_NOSE_LONG_F:PORTRAIT_HUMAN_BODY:14:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_NOSE_LONG_M:PORTRAIT_HUMAN_BODY:14:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_NOSE_LONG_M:PORTRAIT_HUMAN_BODY:14:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_NOSE_LONG_M:PORTRAIT_HUMAN_BODY:14:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_NOSE_LONG_M:PORTRAIT_HUMAN_BODY:14:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[CONDITION_BP:BY_CATEGORY:NOSE]
				[BP_APPEARANCE_MODIFIER_RANGE:LENGTH:101:200]
			[USE_PALETTE:BODY:3]

		[LAYER:Z_NOSE_SHORT_F:PORTRAIT_HUMAN_BODY:14:8]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:5]
		[LAYER:Z_NOSE_SHORT_M:PORTRAIT_HUMAN_BODY:14:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:5]
		[LAYER:N_NOSE_SHORT_F:PORTRAIT_HUMAN_BODY:14:8]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_NOSE_SHORT_M:PORTRAIT_HUMAN_BODY:14:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:V_NOSE_SHORT_F:PORTRAIT_HUMAN_BODY:14:8]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_NOSE_SHORT_M:PORTRAIT_HUMAN_BODY:14:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:U_NOSE_SHORT_F:PORTRAIT_HUMAN_BODY:14:8]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_NOSE_SHORT_M:PORTRAIT_HUMAN_BODY:14:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:G_NOSE_SHORT_F:PORTRAIT_HUMAN_BODY:14:8]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_NOSE_SHORT_M:PORTRAIT_HUMAN_BODY:14:2]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:M_NOSE_SHORT_F:PORTRAIT_HUMAN_BODY:14:8]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_NOSE_SHORT_M:PORTRAIT_HUMAN_BODY:14:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:GL_NOSE_SHORT_F:PORTRAIT_HUMAN_BODY:14:8]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_NOSE_SHORT_M:PORTRAIT_HUMAN_BODY:14:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:DARK_NOSE_SHORT_F:PORTRAIT_HUMAN_BODY:14:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_NOSE_SHORT_F:PORTRAIT_HUMAN_BODY:14:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_NOSE_SHORT_F:PORTRAIT_HUMAN_BODY:14:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_NOSE_SHORT_F:PORTRAIT_HUMAN_BODY:14:8]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DARK_NOSE_SHORT_M:PORTRAIT_HUMAN_BODY:14:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:0]
		[LAYER:DMID_NOSE_SHORT_M:PORTRAIT_HUMAN_BODY:14:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LMID_NOSE_SHORT_M:PORTRAIT_HUMAN_BODY:14:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:DARK_PEACH:ECRU:PALE_CHESTNUT:PEACH:TAN:TAUPE_SANDY]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_NOSE_SHORT_M:PORTRAIT_HUMAN_BODY:14:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[END_LAYER_GROUP]

	nose scar
		[LAYER:NOSE_SCAR:PORTRAIT_HUMAN_BODY:15:0]
			[CONDITION_BP:BY_TOKEN:NOSE]
				[BP_PRESENT]
				[BP_SCARRED]

	eyebrows 
		[LAYER_GROUP]
		[LG_CONDITION_BP:BY_TOKEN:HD]
			[BP_PRESENT]

		[LAYER:THIN_HEAD_EYEBROW_DENSE1_WHITE:PORTRAIT_HUMAN_HAIR:5:7]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:5]
		[LAYER:THIN_HEAD_EYEBROW_DENSE1_BLACK:PORTRAIT_HUMAN_HAIR:5:7]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:0]
		[LAYER:THIN_HEAD_EYEBROW_DENSE1_RED:PORTRAIT_HUMAN_HAIR:5:7]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:11]
		[LAYER:THIN_HEAD_EYEBROW_DENSE1_BLOND:PORTRAIT_HUMAN_HAIR:5:7]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:9]
		[LAYER:THIN_HEAD_EYEBROW_DENSE1_LBROWN:PORTRAIT_HUMAN_HAIR:5:7]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:1]
		[LAYER:THIN_HEAD_EYEBROW_DENSE1_DBROWN:PORTRAIT_HUMAN_HAIR:5:7]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:2]

		[LAYER:THIN_HEAD_EYEBROW_DENSE2_WHITE:PORTRAIT_HUMAN_HAIR:5:11]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:5]
		[LAYER:THIN_HEAD_EYEBROW_DENSE2_BLACK:PORTRAIT_HUMAN_HAIR:5:11]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:0]
		[LAYER:THIN_HEAD_EYEBROW_DENSE2_RED:PORTRAIT_HUMAN_HAIR:5:11]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:11]
		[LAYER:THIN_HEAD_EYEBROW_DENSE2_BLOND:PORTRAIT_HUMAN_HAIR:5:11]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:9]
		[LAYER:THIN_HEAD_EYEBROW_DENSE2_LBROWN:PORTRAIT_HUMAN_HAIR:5:11]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:1]
		[LAYER:THIN_HEAD_EYEBROW_DENSE2_DBROWN:PORTRAIT_HUMAN_HAIR:5:11]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:2]

		[LAYER:THIN_HEAD_EYEBROW_SPARSE1_WHITE:PORTRAIT_HUMAN_HAIR:5:8]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:5]
		[LAYER:THIN_HEAD_EYEBROW_SPARSE1_BLACK:PORTRAIT_HUMAN_HAIR:5:8]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:0]
		[LAYER:THIN_HEAD_EYEBROW_SPARSE1_RED:PORTRAIT_HUMAN_HAIR:5:8]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:11]
		[LAYER:THIN_HEAD_EYEBROW_SPARSE1_BLOND:PORTRAIT_HUMAN_HAIR:5:8]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:9]
		[LAYER:THIN_HEAD_EYEBROW_SPARSE1_LBROWN:PORTRAIT_HUMAN_HAIR:5:8]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:1]
		[LAYER:THIN_HEAD_EYEBROW_SPARSE1_DBROWN:PORTRAIT_HUMAN_HAIR:5:8]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:2]

		[LAYER:THIN_HEAD_EYEBROW_SPARSE2_WHITE:PORTRAIT_HUMAN_HAIR:5:9]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:5]
		[LAYER:THIN_HEAD_EYEBROW_SPARSE2_BLACK:PORTRAIT_HUMAN_HAIR:5:9]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:0]
		[LAYER:THIN_HEAD_EYEBROW_SPARSE2_RED:PORTRAIT_HUMAN_HAIR:5:9]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:11]
		[LAYER:THIN_HEAD_EYEBROW_SPARSE2_BLOND:PORTRAIT_HUMAN_HAIR:5:9]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:9]
		[LAYER:THIN_HEAD_EYEBROW_SPARSE2_LBROWN:PORTRAIT_HUMAN_HAIR:5:9]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:1]
		[LAYER:THIN_HEAD_EYEBROW_SPARSE2_DBROWN:PORTRAIT_HUMAN_HAIR:5:9]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:2]

		[LAYER:THIN_HEAD_EYEBROW_MID1_WHITE:PORTRAIT_HUMAN_HAIR:5:6]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:5]
		[LAYER:THIN_HEAD_EYEBROW_MID1_BLACK:PORTRAIT_HUMAN_HAIR:5:6]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:0]
		[LAYER:THIN_HEAD_EYEBROW_MID1_RED:PORTRAIT_HUMAN_HAIR:5:6]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:11]
		[LAYER:THIN_HEAD_EYEBROW_MID1_BLOND:PORTRAIT_HUMAN_HAIR:5:6]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:9]
		[LAYER:THIN_HEAD_EYEBROW_MID1_LBROWN:PORTRAIT_HUMAN_HAIR:5:6]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:1]
		[LAYER:THIN_HEAD_EYEBROW_MID1_DBROWN:PORTRAIT_HUMAN_HAIR:5:6]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:2]

		[LAYER:THIN_HEAD_EYEBROW_MID2_WHITE:PORTRAIT_HUMAN_HAIR:5:10]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:5]
		[LAYER:THIN_HEAD_EYEBROW_MID2_BLACK:PORTRAIT_HUMAN_HAIR:5:10]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:0]
		[LAYER:THIN_HEAD_EYEBROW_MID2_RED:PORTRAIT_HUMAN_HAIR:5:10]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:11]
		[LAYER:THIN_HEAD_EYEBROW_MID2_BLOND:PORTRAIT_HUMAN_HAIR:5:10]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:9]
		[LAYER:THIN_HEAD_EYEBROW_MID2_LBROWN:PORTRAIT_HUMAN_HAIR:5:10]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:1]
		[LAYER:THIN_HEAD_EYEBROW_MID2_DBROWN:PORTRAIT_HUMAN_HAIR:5:10]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[CONDITION_BP:BY_CATEGORY:HEAD]
				[BP_APPEARANCE_MODIFIER_RANGE:BROADNESS:0:99]
			[USE_PALETTE:HAIR:2]

		[LAYER:THICK_HEAD_EYEBROW_DENSE1_WHITE:PORTRAIT_HUMAN_HAIR:5:1]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:THICK_HEAD_EYEBROW_DENSE1_BLACK:PORTRAIT_HUMAN_HAIR:5:1]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:THICK_HEAD_EYEBROW_DENSE1_RED:PORTRAIT_HUMAN_HAIR:5:1]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:THICK_HEAD_EYEBROW_DENSE1_BLOND:PORTRAIT_HUMAN_HAIR:5:1]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:THICK_HEAD_EYEBROW_DENSE1_LBROWN:PORTRAIT_HUMAN_HAIR:5:1]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:THICK_HEAD_EYEBROW_DENSE1_DBROWN:PORTRAIT_HUMAN_HAIR:5:1]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[LAYER:THICK_HEAD_EYEBROW_DENSE2_WHITE:PORTRAIT_HUMAN_HAIR:5:5]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:THICK_HEAD_EYEBROW_DENSE2_BLACK:PORTRAIT_HUMAN_HAIR:5:5]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:THICK_HEAD_EYEBROW_DENSE2_RED:PORTRAIT_HUMAN_HAIR:5:5]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:THICK_HEAD_EYEBROW_DENSE2_BLOND:PORTRAIT_HUMAN_HAIR:5:5]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:THICK_HEAD_EYEBROW_DENSE2_LBROWN:PORTRAIT_HUMAN_HAIR:5:5]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:THICK_HEAD_EYEBROW_DENSE2_DBROWN:PORTRAIT_HUMAN_HAIR:5:5]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:110]
				[TISSUE_MAX_DENSITY:150]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[LAYER:THICK_HEAD_EYEBROW_SPARSE1_WHITE:PORTRAIT_HUMAN_HAIR:5:2]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:THICK_HEAD_EYEBROW_SPARSE1_BLACK:PORTRAIT_HUMAN_HAIR:5:2]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:THICK_HEAD_EYEBROW_SPARSE1_RED:PORTRAIT_HUMAN_HAIR:5:2]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:THICK_HEAD_EYEBROW_SPARSE1_BLOND:PORTRAIT_HUMAN_HAIR:5:2]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:THICK_HEAD_EYEBROW_SPARSE1_LBROWN:PORTRAIT_HUMAN_HAIR:5:2]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:THICK_HEAD_EYEBROW_SPARSE1_DBROWN:PORTRAIT_HUMAN_HAIR:5:2]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[LAYER:THICK_HEAD_EYEBROW_SPARSE2_WHITE:PORTRAIT_HUMAN_HAIR:5:3]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:THICK_HEAD_EYEBROW_SPARSE2_BLACK:PORTRAIT_HUMAN_HAIR:5:3]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:THICK_HEAD_EYEBROW_SPARSE2_RED:PORTRAIT_HUMAN_HAIR:5:3]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:THICK_HEAD_EYEBROW_SPARSE2_BLOND:PORTRAIT_HUMAN_HAIR:5:3]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:THICK_HEAD_EYEBROW_SPARSE2_LBROWN:PORTRAIT_HUMAN_HAIR:5:3]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:THICK_HEAD_EYEBROW_SPARSE2_DBROWN:PORTRAIT_HUMAN_HAIR:5:3]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MIN_DENSITY:50]
				[TISSUE_MAX_DENSITY:90]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[LAYER:THICK_HEAD_EYEBROW_MID1_WHITE:PORTRAIT_HUMAN_HAIR:5:0]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:THICK_HEAD_EYEBROW_MID1_BLACK:PORTRAIT_HUMAN_HAIR:5:0]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:THICK_HEAD_EYEBROW_MID1_RED:PORTRAIT_HUMAN_HAIR:5:0]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:THICK_HEAD_EYEBROW_MID1_BLOND:PORTRAIT_HUMAN_HAIR:5:0]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:THICK_HEAD_EYEBROW_MID1_LBROWN:PORTRAIT_HUMAN_HAIR:5:0]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:THICK_HEAD_EYEBROW_MID1_DBROWN:PORTRAIT_HUMAN_HAIR:5:0]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[LAYER:THICK_HEAD_EYEBROW_MID2_WHITE:PORTRAIT_HUMAN_HAIR:5:4]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:GRAY:WHITE]
			[USE_PALETTE:HAIR:5]
		[LAYER:THICK_HEAD_EYEBROW_MID2_BLACK:PORTRAIT_HUMAN_HAIR:5:4]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BLACK:CHARCOAL]
			[USE_PALETTE:HAIR:0]
		[LAYER:THICK_HEAD_EYEBROW_MID2_RED:PORTRAIT_HUMAN_HAIR:5:4]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:CHESTNUT:CINNAMON:COPPER:MAHOGANY:PUMPKIN:RAW_UMBER:RUSSET]
			[USE_PALETTE:HAIR:11]
		[LAYER:THICK_HEAD_EYEBROW_MID2_BLOND:PORTRAIT_HUMAN_HAIR:5:4]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BUFF:DARK_TAN:ECRU:FLAX:GOLD:GOLDEN_YELLOW:GOLDENROD:PALE_CHESTNUT:SAFFRON:TAN:TAUPE_PALE:TAUPE_SANDY]
			[USE_PALETTE:HAIR:9]
		[LAYER:THICK_HEAD_EYEBROW_MID2_LBROWN:PORTRAIT_HUMAN_HAIR:5:4]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:AMBER:AUBURN:BURNT_SIENNA:DARK_CHESTNUT:LIGHT_BROWN:OCHRE:PALE_BROWN:SEPIA:TAUPE_DARK:TAUPE_GRAY:TAUPE_MEDIUM]
			[USE_PALETTE:HAIR:1]
		[LAYER:THICK_HEAD_EYEBROW_MID2_DBROWN:PORTRAIT_HUMAN_HAIR:5:4]
			[CONDITION_RANDOM_PART_INDEX:EYEBROW:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW]
				[TISSUE_MAY_HAVE_COLOR:BROWN:BURNT_UMBER:CHOCOLATE:DARK_BROWN]
			[USE_PALETTE:HAIR:2]

		[END_LAYER_GROUP]

	veil
		[LAYER_GROUP]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:MASK:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:MASK:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:MASK:1:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:MASK:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:MASK:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:MASK:2:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:MASK:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:MASK:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:MASK:3:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:2:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:MASK:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:MASK:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:0:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:MASK:4:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:2:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:MASK:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:MASK:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_MASK:PORTRAIT_HUMAN_CLOTHING_MASK:0:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:MASK:5:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_VEIL_FACE:PORTRAIT_HUMAN_CLOTHING_VEIL_FACE:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_FACE:PORTRAIT_HUMAN_CLOTHING_VEIL_FACE:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_FACE:PORTRAIT_HUMAN_CLOTHING_VEIL_FACE:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_FACE:PORTRAIT_HUMAN_CLOTHING_VEIL_FACE:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_FACE:PORTRAIT_HUMAN_CLOTHING_VEIL_FACE:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEIL_FACE:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_FACE:PORTRAIT_HUMAN_CLOTHING_VEIL_FACE:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEIL_FACE:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_FACE:PORTRAIT_HUMAN_CLOTHING_VEIL_FACE:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEIL_FACE:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_FACE:PORTRAIT_HUMAN_CLOTHING_VEIL_FACE:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEIL_FACE:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_FACE:PORTRAIT_HUMAN_CLOTHING_VEIL_FACE:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEIL_FACE:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_FACE:PORTRAIT_HUMAN_CLOTHING_VEIL_FACE:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEIL_FACE:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	hat
		[LAYER_GROUP]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:6:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[CONDITION_MATERIAL_TYPE:INORGANIC]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:5:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_TYPE:INORGANIC]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:4:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_TYPE:INORGANIC]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:3:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_TYPE:INORGANIC]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:2:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_TYPE:INORGANIC]
			[ITEM_QUALITY:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_TYPE:INORGANIC]
			[ITEM_QUALITY:1]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:0:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_TYPE:INORGANIC]
			[ITEM_QUALITY:0]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:6:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:5:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:4:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:3:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL]
			[ITEM_QUALITY:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL]
			[ITEM_QUALITY:1]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL]
			[ITEM_QUALITY:0]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:6:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_BONE_MATERIAL:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:5:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_BONE_MATERIAL]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:4:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_BONE_MATERIAL]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:3:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_BONE_MATERIAL]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_BONE_MATERIAL]
			[ITEM_QUALITY:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_BONE_MATERIAL]
			[ITEM_QUALITY:1]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_BONE_MATERIAL]
			[ITEM_QUALITY:0]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:6:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_SHELL_MATERIAL:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:5:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_SHELL_MATERIAL]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:4:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_SHELL_MATERIAL]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:3:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_SHELL_MATERIAL]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_SHELL_MATERIAL]
			[ITEM_QUALITY:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_SHELL_MATERIAL]
			[ITEM_QUALITY:1]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_SHELL_MATERIAL]
			[ITEM_QUALITY:0]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:6:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_LEATHER_MATERIAL:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:5:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_LEATHER_MATERIAL]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:4:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_LEATHER_MATERIAL]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:3:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_LEATHER_MATERIAL]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_LEATHER_MATERIAL]
			[ITEM_QUALITY:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_LEATHER_MATERIAL]
			[ITEM_QUALITY:1]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_LEATHER_MATERIAL]
			[ITEM_QUALITY:0]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:CAP:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:CAP:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:CAP:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:CAP:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:CAP:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP:PORTRAIT_HUMAN_CLOTHING_CAP:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:CAP:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:TURBAN:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:TURBAN:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:TURBAN:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:TURBAN:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:TURBAN:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:TURBAN:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:TURBAN:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:TURBAN:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TURBAN:PORTRAIT_HUMAN_CLOTHING_TURBAN:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:TURBAN:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_VEIL_HEAD:PORTRAIT_HUMAN_CLOTHING_VEIL_HEAD:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_HEAD:PORTRAIT_HUMAN_CLOTHING_VEIL_HEAD:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_HEAD:PORTRAIT_HUMAN_CLOTHING_VEIL_HEAD:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_HEAD:PORTRAIT_HUMAN_CLOTHING_VEIL_HEAD:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_HEAD:PORTRAIT_HUMAN_CLOTHING_VEIL_HEAD:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEIL_HEAD:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_HEAD:PORTRAIT_HUMAN_CLOTHING_VEIL_HEAD:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEIL_HEAD:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_HEAD:PORTRAIT_HUMAN_CLOTHING_VEIL_HEAD:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEIL_HEAD:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_HEAD:PORTRAIT_HUMAN_CLOTHING_VEIL_HEAD:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:VEIL_HEAD:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_HEAD:PORTRAIT_HUMAN_CLOTHING_VEIL_HEAD:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:VEIL_HEAD:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_VEIL_HEAD:PORTRAIT_HUMAN_CLOTHING_VEIL_HEAD:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:VEIL_HEAD:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SCARF_HEAD:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SCARF_HEAD:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SCARF_HEAD:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SCARF_HEAD:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SCARF_HEAD:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SCARF_HEAD:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:SCARF_HEAD:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:SCARF_HEAD:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_SCARF_HEAD:PORTRAIT_HUMAN_CLOTHING_SCARF_HEAD:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:SCARF_HEAD:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:HELM:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:HELM:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:HELM:1:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:HELM:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:HELM:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:HELM:2:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:HELM:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:HELM:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HELM:PORTRAIT_HUMAN_CLOTHING_HELM:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:HELM:3:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_HOOD:PORTRAIT_HUMAN_CLOTHING_HOOD:6:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HOOD:PORTRAIT_HUMAN_CLOTHING_HOOD:5:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[ITEM_QUALITY:5]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HOOD:PORTRAIT_HUMAN_CLOTHING_HOOD:4:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[ITEM_QUALITY:4]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HOOD:PORTRAIT_HUMAN_CLOTHING_HOOD:3:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[ITEM_QUALITY:3]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HOOD:PORTRAIT_HUMAN_CLOTHING_HOOD:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:HOOD:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HOOD:PORTRAIT_HUMAN_CLOTHING_HOOD:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:HOOD:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HOOD:PORTRAIT_HUMAN_CLOTHING_HOOD:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:HOOD:1:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HOOD:PORTRAIT_HUMAN_CLOTHING_HOOD:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[ITEM_QUALITY:2]
			[CONDITION_RANDOM_PART_INDEX:HOOD:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HOOD:PORTRAIT_HUMAN_CLOTHING_HOOD:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[ITEM_QUALITY:1]
			[CONDITION_RANDOM_PART_INDEX:HOOD:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_HOOD:PORTRAIT_HUMAN_CLOTHING_HOOD:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[ITEM_QUALITY:0]
			[CONDITION_RANDOM_PART_INDEX:HOOD:2:2]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]
