graphics_creatures_dwarf

[OBJECT:GRAPHICS]

[CREATURE_GRAPHICS:DWARF]
	[SKELETON_WITH_SKULL:BONE_PILE:1:0]
	[SKELETON:BONE_PILE:0:0]

	[LAYER_SET:BABY:DEFAULT]

	[LS_PALETTE:BODY]
		[LS_PALETTE_FILE:images/dwarf/dwarf_body_palettes.png]
		[LS_PALETTE_DEFAULT:0]

	shadow

		[LAYER_GROUP]
		[LAYER:SHADOW:DWARF_BODY:8:6]

	body

		[LAYER_GROUP]
		[LAYER:Z_BABY:DWARF_BODY:7:6]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_BABY:DWARF_BODY:7:6]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[USE_PALETTE:BODY:7]
		[LAYER:V_BABY:DWARF_BODY:7:6]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_BABY:DWARF_BODY:7:6]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[USE_PALETTE:BODY:9]
		[LAYER:G_BABY:DWARF_BODY:7:6]
			[CONDITION_GHOST]
			[USE_PALETTE:BODY:10]
		[LAYER:M_BABY:DWARF_BODY:7:6]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_BABY:DWARF_BODY:7:6]
			[CONDITION_SYN_CLASS:GHOUL]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_BABY:DWARF_BODY:7:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_BABY:DWARF_BODY:7:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BROWN:CINNAMON:COPPER:DARK_TAN:PALE_BROWN:RAW_UMBER:SEPIA]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_BABY:DWARF_BODY:7:6]
			[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_BABY:DWARF_BODY:7:6]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[USE_PALETTE:BODY:1]
		[END_LAYER_GROUP]

	[LAYER_SET:CHILD:DEFAULT]

	[LS_PALETTE:BODY]
		[LS_PALETTE_FILE:images/dwarf/dwarf_body_palettes.png]
		[LS_PALETTE_DEFAULT:0]
	[LS_PALETTE:HAIR]
		[LS_PALETTE_FILE:images/dwarf/dwarf_hair_palettes.png]
		[LS_PALETTE_DEFAULT:0]
	[LS_PALETTE:CLOTHES]
		[LS_PALETTE_FILE:images/dwarf/dwarf_clothes_palettes.png]
		[LS_PALETTE_DEFAULT:0]

	shadow

		[LAYER_GROUP]
		[LAYER:SHADOW:DWARF_BODY:8:3]

	cape

		[LAYER_GROUP]
		[LAYER:CLOTHING_CAPE:DWARF_WEARABLES:0:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_CAPE_STANDARD:DWARF_WEARABLES:0:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	right shoulder

		[LAYER_GROUP]
		[LAYER:Z_RIGHT_SHOULDER_F:DWARF_BODY:3:5]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_RIGHT_SHOULDER_M:DWARF_BODY:3:4]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_RIGHT_SHOULDER_F:DWARF_BODY:3:5]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_RIGHT_SHOULDER_M:DWARF_BODY:3:4]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_RIGHT_SHOULDER_F:DWARF_BODY:3:5]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_RIGHT_SHOULDER_M:DWARF_BODY:3:4]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_RIGHT_SHOULDER_F:DWARF_BODY:3:5]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_RIGHT_SHOULDER_M:DWARF_BODY:3:4]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_RIGHT_SHOULDER_F:DWARF_BODY:3:5]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_RIGHT_SHOULDER_M:DWARF_BODY:3:4]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_RIGHT_SHOULDER_F:DWARF_BODY:3:5]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_RIGHT_SHOULDER_M:DWARF_BODY:3:4]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_RIGHT_SHOULDER_F:DWARF_BODY:3:5]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_RIGHT_SHOULDER_M:DWARF_BODY:3:4]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_RIGHT_SHOULDER:DWARF_BODY:3:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_SHOULDER:DWARF_BODY:3:5]
			[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:3]
		[LAYER:LMID_RIGHT_SHOULDER:DWARF_BODY:3:5]
			[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_RIGHT_SHOULDER:DWARF_BODY:3:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_RIGHT_SHOULDER:DWARF_BODY:3:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_SHOULDER:DWARF_BODY:3: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_RIGHT_SHOULDER:DWARF_BODY:3:4]
			[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_RIGHT_SHOULDER:DWARF_BODY:3:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		right arm - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_RA:DWARF_WEARABLES:0:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:40]
		[LAYER:CLOTHING_RA_DEFAULT:DWARF_WEARABLES:0:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	right hand

		[LAYER_GROUP]
		[LAYER:Z_RIGHT_HAND_F:DWARF_BODY:2:5]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_RIGHT_HAND_M:DWARF_BODY:2:4]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_RIGHT_HAND_F:DWARF_BODY:2:5]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_RIGHT_HAND_M:DWARF_BODY:2:4]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_RIGHT_HAND_F:DWARF_BODY:2:5]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_RIGHT_HAND_M:DWARF_BODY:2:4]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_RIGHT_HAND_F:DWARF_BODY:2:5]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_RIGHT_HAND_M:DWARF_BODY:2:4]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_RIGHT_HAND_F:DWARF_BODY:2:5]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_RIGHT_HAND_M:DWARF_BODY:2:4]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_RIGHT_HAND_F:DWARF_BODY:2:5]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_RIGHT_HAND_M:DWARF_BODY:2:4]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_RIGHT_HAND_F:DWARF_BODY:2:5]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_RIGHT_HAND_M:DWARF_BODY:2:4]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_RIGHT_HAND:DWARF_BODY:2:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_HAND:DWARF_BODY:2:5]
			[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:3]
		[LAYER:LMID_RIGHT_HAND:DWARF_BODY:2:5]
			[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_RIGHT_HAND:DWARF_BODY:2:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_RIGHT_HAND:DWARF_BODY:2:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_HAND:DWARF_BODY:2: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_RIGHT_HAND:DWARF_BODY:2:4]
			[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_RIGHT_HAND:DWARF_BODY:2:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		right hand - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_RH:DWARF_WEARABLES:0:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_RH_DEFAULT:DWARF_WEARABLES:0:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	right leg

		[LAYER_GROUP]
		[LAYER:Z_RIGHT_LEG_F:DWARF_BODY:1:5]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_RIGHT_LEG_M:DWARF_BODY:1:4]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_RIGHT_LEG_F:DWARF_BODY:1:5]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_RIGHT_LEG_M:DWARF_BODY:1:4]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_RIGHT_LEG_F:DWARF_BODY:1:5]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_RIGHT_LEG_M:DWARF_BODY:1:4]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_RIGHT_LEG_F:DWARF_BODY:1:5]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_RIGHT_LEG_M:DWARF_BODY:1:4]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_RIGHT_LEG_F:DWARF_BODY:1:5]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_RIGHT_LEG_M:DWARF_BODY:1:4]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_RIGHT_LEG_F:DWARF_BODY:1:5]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_RIGHT_LEG_M:DWARF_BODY:1:4]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_RIGHT_LEG_F:DWARF_BODY:1:5]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_RIGHT_LEG_M:DWARF_BODY:1:4]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_RIGHT_LEG:DWARF_BODY:1:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_LEG:DWARF_BODY:1:5]
			[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:3]
		[LAYER:LMID_RIGHT_LEG:DWARF_BODY:1:5]
			[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_RIGHT_LEG:DWARF_BODY:1:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_RIGHT_LEG:DWARF_BODY:1:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_LEG:DWARF_BODY:1: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_RIGHT_LEG:DWARF_BODY:1:4]
			[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_RIGHT_LEG:DWARF_BODY:1:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		right leg - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_RL:DWARF_WEARABLES:0:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:40]
		[LAYER:CLOTHING_RL_DEFAULT:DWARF_WEARABLES:0:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	right foot

		[LAYER_GROUP]
		[LAYER:Z_RIGHT_FOOT_F:DWARF_BODY:0:5]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_RIGHT_FOOT_M:DWARF_BODY:0:4]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_RIGHT_FOOT_F:DWARF_BODY:0:5]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_RIGHT_FOOT_M:DWARF_BODY:0:4]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_RIGHT_FOOT_F:DWARF_BODY:0:5]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_RIGHT_FOOT_M:DWARF_BODY:0:4]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_RIGHT_FOOT_F:DWARF_BODY:0:5]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_RIGHT_FOOT_M:DWARF_BODY:0:4]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_RIGHT_FOOT_F:DWARF_BODY:0:5]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_RIGHT_FOOT_M:DWARF_BODY:0:4]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_RIGHT_FOOT_F:DWARF_BODY:0:5]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_RIGHT_FOOT_M:DWARF_BODY:0:4]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_RIGHT_FOOT_F:DWARF_BODY:0:5]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_RIGHT_FOOT_M:DWARF_BODY:0:4]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_RIGHT_FOOT:DWARF_BODY:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_FOOT:DWARF_BODY:0:5]
			[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:3]
		[LAYER:LMID_RIGHT_FOOT:DWARF_BODY:0:5]
			[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_RIGHT_FOOT:DWARF_BODY:0:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_RIGHT_FOOT:DWARF_BODY:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_FOOT:DWARF_BODY:0: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_RIGHT_FOOT:DWARF_BODY:0:4]
			[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_RIGHT_FOOT:DWARF_BODY:0:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		right foot - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_RF:DWARF_WEARABLES:0:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_RF_DEFAULT:DWARF_WEARABLES:0:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	left leg

		[LAYER_GROUP]
		[LAYER:Z_LEFT_LEG_F:DWARF_BODY:7:5]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_LEFT_LEG_M:DWARF_BODY:7:4]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_LEFT_LEG_F:DWARF_BODY:7:5]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_LEFT_LEG_M:DWARF_BODY:7:4]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_LEFT_LEG_F:DWARF_BODY:7:5]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_LEFT_LEG_M:DWARF_BODY:7:4]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_LEFT_LEG_F:DWARF_BODY:7:5]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_LEFT_LEG_M:DWARF_BODY:7:4]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_LEFT_LEG_F:DWARF_BODY:7:5]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_LEFT_LEG_M:DWARF_BODY:7:4]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_LEFT_LEG_F:DWARF_BODY:7:5]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_LEFT_LEG_M:DWARF_BODY:7:4]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_LEFT_LEG_F:DWARF_BODY:7:5]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_LEFT_LEG_M:DWARF_BODY:7:4]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_LEFT_LEG:DWARF_BODY:7:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_LEG:DWARF_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:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_LEG:DWARF_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:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_LEFT_LEG:DWARF_BODY:7:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_LEFT_LEG:DWARF_BODY:7:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_LEG:DWARF_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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_LEG:DWARF_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]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_LEFT_LEG:DWARF_BODY:7:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		left leg - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_LL:DWARF_WEARABLES:0:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:40]
		[LAYER:CLOTHING_LL_DEFAULT:DWARF_WEARABLES:0:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	left foot

		[LAYER_GROUP]
		[LAYER:Z_LEFT_FOOT_F:DWARF_BODY:8:5]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_LEFT_FOOT_M:DWARF_BODY:8:4]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_LEFT_FOOT_F:DWARF_BODY:8:5]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_LEFT_FOOT_M:DWARF_BODY:8:4]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_LEFT_FOOT_F:DWARF_BODY:8:5]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_LEFT_FOOT_M:DWARF_BODY:8:4]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_LEFT_FOOT_F:DWARF_BODY:8:5]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_LEFT_FOOT_M:DWARF_BODY:8:4]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_LEFT_FOOT_F:DWARF_BODY:8:5]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_LEFT_FOOT_M:DWARF_BODY:8:4]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_LEFT_FOOT_F:DWARF_BODY:8:5]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_LEFT_FOOT_M:DWARF_BODY:8:4]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_LEFT_FOOT_F:DWARF_BODY:8:5]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_LEFT_FOOT_M:DWARF_BODY:8:4]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_LEFT_FOOT:DWARF_BODY:8:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_FOOT:DWARF_BODY:8:5]
			[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:3]
		[LAYER:LMID_LEFT_FOOT:DWARF_BODY:8:5]
			[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_LEFT_FOOT:DWARF_BODY:8:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_LEFT_FOOT:DWARF_BODY:8:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_FOOT:DWARF_BODY:8: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_FOOT:DWARF_BODY:8:4]
			[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_LEFT_FOOT:DWARF_BODY:8:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		left foot - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_LF:DWARF_WEARABLES:0:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_LF_DEFAULT:DWARF_WEARABLES:0:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	lower body clothes hanging over legs

		[LAYER_GROUP]
		[LAYER:CLOTHING_WAIST_ROBE:DWARF_WEARABLES:0:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_WAIST_ROBE_DEFAULT:DWARF_WEARABLES:0:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_WAIST_SKIRT:DWARF_WEARABLES:0:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_WAIST_SKIRT_DEFAULT:DWARF_WEARABLES:0:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT:DWARF_WEARABLES:0:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_DEFAULT:DWARF_WEARABLES:0:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_WAIST_TUNIC:DWARF_WEARABLES:0:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_WAIST_TUNIC_DEFAULT:DWARF_WEARABLES:0:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	torso

		[LAYER_GROUP]
		[LAYER:Z_BODY_F:DWARF_BODY:4:5]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_BODY_M:DWARF_BODY:4:4]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_BODY_F:DWARF_BODY:4:5]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_BODY_M:DWARF_BODY:4:4]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_BODY_F:DWARF_BODY:4:5]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_BODY_M:DWARF_BODY:4:4]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_BODY_F:DWARF_BODY:4:5]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_BODY_M:DWARF_BODY:4:4]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_BODY_F:DWARF_BODY:4:5]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_BODY_M:DWARF_BODY:4:4]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_BODY_F:DWARF_BODY:4:5]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_BODY_M:DWARF_BODY:4:4]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_BODY_F:DWARF_BODY:4:5]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_BODY_M:DWARF_BODY:4:4]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_BODY:DWARF_BODY:4:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_BODY:DWARF_BODY:4:5]
			[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:3]
		[LAYER:LMID_BODY:DWARF_BODY:4:5]
			[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:DWARF_BODY:4:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_BODY:DWARF_BODY:4:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_BODY:DWARF_BODY:4: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_BODY:DWARF_BODY:4:4]
			[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:DWARF_BODY:4:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		[LAYER_GROUP]
		[LAYER:CLOTHING_TORSO_SIMPLE:DWARF_WEARABLES:0:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_TORSO_SIMPLE_DEFAULT:DWARF_WEARABLES:0:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_TORSO_VEST:DWARF_WEARABLES:0:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_TORSO_VEST_DEFAULT:DWARF_WEARABLES:0:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	left shoulder

		[LAYER_GROUP]
		[LAYER:Z_LEFT_SHOULDER_F:DWARF_BODY:5:5]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_LEFT_SHOULDER_M:DWARF_BODY:5:4]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_LEFT_SHOULDER_F:DWARF_BODY:5:5]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_LEFT_SHOULDER_M:DWARF_BODY:5:4]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_LEFT_SHOULDER_F:DWARF_BODY:5:5]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_LEFT_SHOULDER_M:DWARF_BODY:5:4]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_LEFT_SHOULDER_F:DWARF_BODY:5:5]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_LEFT_SHOULDER_M:DWARF_BODY:5:4]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_LEFT_SHOULDER_F:DWARF_BODY:5:5]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_LEFT_SHOULDER_M:DWARF_BODY:5:4]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_LEFT_SHOULDER_F:DWARF_BODY:5:5]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_LEFT_SHOULDER_M:DWARF_BODY:5:4]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_LEFT_SHOULDER_F:DWARF_BODY:5:5]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_LEFT_SHOULDER_M:DWARF_BODY:5:4]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_LEFT_SHOULDER:DWARF_BODY:5:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_SHOULDER:DWARF_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:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_SHOULDER:DWARF_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:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_LEFT_SHOULDER:DWARF_BODY:5:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_LEFT_SHOULDER:DWARF_BODY:5:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_SHOULDER:DWARF_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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_SHOULDER:DWARF_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]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_LEFT_SHOULDER:DWARF_BODY:5:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		left arm - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_LA:DWARF_WEARABLES:0:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:40]
		[LAYER:CLOTHING_LA_DEFAULT:DWARF_WEARABLES:0:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

	head

		[LAYER_GROUP]
		[LAYER:Z_FACE_F1:DWARF_BODY:0:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_F2:DWARF_BODY:1:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_F3:DWARF_BODY:2:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_F4:DWARF_BODY:3:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_M1:DWARF_BODY:4:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_M2:DWARF_BODY:5:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_M3:DWARF_BODY:6:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_M4:DWARF_BODY:7:3]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_FACE_F1:DWARF_BODY:0:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_F2:DWARF_BODY:1:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_F3:DWARF_BODY:2:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_F4:DWARF_BODY:3:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_M1:DWARF_BODY:4:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_M2:DWARF_BODY:5:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_M3:DWARF_BODY:6:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_M4:DWARF_BODY:7:3]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_FACE_F1:DWARF_BODY:0:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_F2:DWARF_BODY:1:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_F3:DWARF_BODY:2:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_F4:DWARF_BODY:3:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_M1:DWARF_BODY:4:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_M2:DWARF_BODY:5:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_M3:DWARF_BODY:6:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_M4:DWARF_BODY:7:3]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_FACE_F1:DWARF_BODY:0:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_F2:DWARF_BODY:1:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_F3:DWARF_BODY:2:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_F4:DWARF_BODY:3:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_M1:DWARF_BODY:4:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_M2:DWARF_BODY:5:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_M3:DWARF_BODY:6:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_M4:DWARF_BODY:7:3]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_FACE_F1:DWARF_BODY:0:3]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_F2:DWARF_BODY:1:3]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_F3:DWARF_BODY:2:3]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_F4:DWARF_BODY:3:3]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_M1:DWARF_BODY:4:3]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_M2:DWARF_BODY:5:3]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_M3:DWARF_BODY:6:3]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_M4:DWARF_BODY:7:3]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_FACE_F1:DWARF_BODY:0:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_F2:DWARF_BODY:1:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_F3:DWARF_BODY:2:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_F4:DWARF_BODY:3:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_M1:DWARF_BODY:4:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_M2:DWARF_BODY:5:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_M3:DWARF_BODY:6:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_M4:DWARF_BODY:7:3]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_FACE_F1:DWARF_BODY:0:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_F2:DWARF_BODY:1:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_F3:DWARF_BODY:2:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_F4:DWARF_BODY:3:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_M1:DWARF_BODY:4:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_M2:DWARF_BODY:5:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_M3:DWARF_BODY:6:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_M4:DWARF_BODY:7:3]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_FACE_F1:DWARF_BODY:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_F2:DWARF_BODY:1:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_F3:DWARF_BODY:2:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_F4:DWARF_BODY:3:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_M1:DWARF_BODY:4:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_M2:DWARF_BODY:5:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_M3:DWARF_BODY:6:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_M4:DWARF_BODY:7:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_FACE_F1:DWARF_BODY:0: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:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_F2:DWARF_BODY:1: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:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_F3:DWARF_BODY:2: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:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_F4:DWARF_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_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_M1:DWARF_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_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_M2:DWARF_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:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_M3:DWARF_BODY:6: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:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_M4:DWARF_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_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_FACE_F1:DWARF_BODY:0: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:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_F2:DWARF_BODY:1: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:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_F3:DWARF_BODY:2: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:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_F4:DWARF_BODY:3: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:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_M1:DWARF_BODY:4: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:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_M2:DWARF_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:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_M3:DWARF_BODY:6: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:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_M4:DWARF_BODY:7: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:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_FACE_F1:DWARF_BODY:0:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_F2:DWARF_BODY:1:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_F3:DWARF_BODY:2:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_F4:DWARF_BODY:3:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_M1:DWARF_BODY:4:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_M2:DWARF_BODY:5:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_M3:DWARF_BODY:6:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_M4:DWARF_BODY:7:3]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

	hair

		[LAYER_GROUP]

		stubble
		[LAYER:STUBBLE_WHITE:DWARF_HAIR:3: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:DWARF_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]
		[LAYER:STUBBLE_BLACK:DWARF_HAIR:3: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:DWARF_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:12]
		[LAYER:STUBBLE_RED:DWARF_HAIR:3: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:DWARF_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_BLOND:DWARF_HAIR:3: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:DWARF_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:3]
		[LAYER:STUBBLE_LBROWN:DWARF_HAIR:3: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:DWARF_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:4]
		[LAYER:STUBBLE_DBROWN:DWARF_HAIR:3: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:DWARF_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]

		short unkempt
		[LAYER:SHORT_UNKEMPT_WHITE:DWARF_HAIR:3: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:DWARF_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]
		[LAYER:SHORT_UNKEMPT_BLACK:DWARF_HAIR:3: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:DWARF_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:12]
		[LAYER:SHORT_UNKEMPT_RED:DWARF_HAIR:3: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:DWARF_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_BLOND:DWARF_HAIR:3: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:DWARF_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:3]
		[LAYER:SHORT_UNKEMPT_LBROWN:DWARF_HAIR:3: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:DWARF_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:4]
		[LAYER:SHORT_UNKEMPT_DBROWN:DWARF_HAIR:3: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:DWARF_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]

		mid unkempt
		[LAYER:MID_UNKEMPT_WHITE:DWARF_HAIR:3: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:DWARF_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]
		[LAYER:MID_UNKEMPT_BLACK:DWARF_HAIR:3: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:DWARF_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:12]
		[LAYER:MID_UNKEMPT_RED:DWARF_HAIR:3: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:DWARF_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_BLOND:DWARF_HAIR:3: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:DWARF_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:3]
		[LAYER:MID_UNKEMPT_LBROWN:DWARF_HAIR:3: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:DWARF_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:4]
		[LAYER:MID_UNKEMPT_DBROWN:DWARF_HAIR:3: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:DWARF_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]

		long unkempt
		[LAYER:LONG_UNKEMPT_WHITE:DWARF_HAIR:3: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:DWARF_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]
		[LAYER:LONG_UNKEMPT_BLACK:DWARF_HAIR:3: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:DWARF_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:12]
		[LAYER:LONG_UNKEMPT_RED:DWARF_HAIR:3: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:DWARF_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_BLOND:DWARF_HAIR:3: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:DWARF_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:3]
		[LAYER:LONG_UNKEMPT_LBROWN:DWARF_HAIR:3: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:DWARF_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:4]
		[LAYER:LONG_UNKEMPT_DBROWN:DWARF_HAIR:3: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:DWARF_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]

		short combed
		[LAYER:SHORT_COMBED_WHITE:DWARF_HAIR:3: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:DWARF_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]
		[LAYER:SHORT_COMBED_BLACK:DWARF_HAIR:3: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:DWARF_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:12]
		[LAYER:SHORT_COMBED_RED:DWARF_HAIR:3: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:DWARF_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_BLOND:DWARF_HAIR:3: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:DWARF_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:3]
		[LAYER:SHORT_COMBED_LBROWN:DWARF_HAIR:3: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:DWARF_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:4]
		[LAYER:SHORT_COMBED_DBROWN:DWARF_HAIR:3: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:DWARF_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]

		mid combed
		[LAYER:MID_COMBED_WHITE:DWARF_HAIR:3: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:DWARF_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]
		[LAYER:MID_COMBED_BLACK:DWARF_HAIR:3: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:DWARF_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:12]
		[LAYER:MID_COMBED_RED:DWARF_HAIR:3: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:DWARF_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_BLOND:DWARF_HAIR:3: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:DWARF_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:3]
		[LAYER:MID_COMBED_LBROWN:DWARF_HAIR:3: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:DWARF_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:4]
		[LAYER:MID_COMBED_DBROWN:DWARF_HAIR:3: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:DWARF_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]

		long combed
		[LAYER:LONG_COMBED_WHITE:DWARF_HAIR:3: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:DWARF_HAIR:1:6]
				[TISSUE_SWAP:IF_MIN_CURLY:190:DWARF_HAIR:LARGE_IMAGE:1:17:1:18]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_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]
		[LAYER:LONG_COMBED_BLACK:DWARF_HAIR:3: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:DWARF_HAIR:1:6]
				[TISSUE_SWAP:IF_MIN_CURLY:190:DWARF_HAIR:LARGE_IMAGE:1:17:1:18]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:12]
		[LAYER:LONG_COMBED_RED:DWARF_HAIR:3: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:DWARF_HAIR:1:6]
				[TISSUE_SWAP:IF_MIN_CURLY:190:DWARF_HAIR:LARGE_IMAGE:1:17:1:18]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_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_BLOND:DWARF_HAIR:3: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:DWARF_HAIR:1:6]
				[TISSUE_SWAP:IF_MIN_CURLY:190:DWARF_HAIR:LARGE_IMAGE:1:17:1:18]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:3]
		[LAYER:LONG_COMBED_LBROWN:DWARF_HAIR:3: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:DWARF_HAIR:1:6]
				[TISSUE_SWAP:IF_MIN_CURLY:190:DWARF_HAIR:LARGE_IMAGE:1:17:1:18]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:4]
		[LAYER:LONG_COMBED_DBROWN:DWARF_HAIR:3: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:DWARF_HAIR:1:6]
				[TISSUE_SWAP:IF_MIN_CURLY:190:DWARF_HAIR:LARGE_IMAGE:1:17:1:18]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_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]

		short braid
		[LAYER:SHORT_BRAIDED_WHITE:DWARF_HAIR:3: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:DWARF_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]
		[LAYER:SHORT_BRAIDED_BLACK:DWARF_HAIR:3: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:DWARF_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:12]
		[LAYER:SHORT_BRAIDED_RED:DWARF_HAIR:3: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:DWARF_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_BLOND:DWARF_HAIR:3: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:DWARF_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:3]
		[LAYER:SHORT_BRAIDED_LBROWN:DWARF_HAIR:3: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:DWARF_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:4]
		[LAYER:SHORT_BRAIDED_DBROWN:DWARF_HAIR:3: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:DWARF_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]

		mid braid
		[LAYER:MID_BRAIDED_WHITE:DWARF_HAIR:3: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:DWARF_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]
		[LAYER:MID_BRAIDED_BLACK:DWARF_HAIR:3: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:DWARF_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:12]
		[LAYER:MID_BRAIDED_RED:DWARF_HAIR:3: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:DWARF_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_BLOND:DWARF_HAIR:3: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:DWARF_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:3]
		[LAYER:MID_BRAIDED_LBROWN:DWARF_HAIR:3: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:DWARF_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:4]
		[LAYER:MID_BRAIDED_DBROWN:DWARF_HAIR:3: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:DWARF_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]

		long braid
		[LAYER:LONG_BRAIDED_WHITE:DWARF_HAIR:3: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:DWARF_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]
		[LAYER:LONG_BRAIDED_BLACK:DWARF_HAIR:3: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:DWARF_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:12]
		[LAYER:LONG_BRAIDED_RED:DWARF_HAIR:3: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:DWARF_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_BLOND:DWARF_HAIR:3: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:DWARF_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:3]
		[LAYER:LONG_BRAIDED_LBROWN:DWARF_HAIR:3: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:DWARF_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:4]
		[LAYER:LONG_BRAIDED_DBROWN:DWARF_HAIR:3: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:DWARF_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]

		short 2xbraid
		[LAYER:SHORT_DOUBLE_BRAIDS_WHITE:DWARF_HAIR:3: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:DWARF_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]
		[LAYER:SHORT_DOUBLE_BRAIDS_BLACK:DWARF_HAIR:3: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:DWARF_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:12]
		[LAYER:SHORT_DOUBLE_BRAIDS_RED:DWARF_HAIR:3: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:DWARF_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_BLOND:DWARF_HAIR:3: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:DWARF_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:3]
		[LAYER:SHORT_DOUBLE_BRAIDS_LBROWN:DWARF_HAIR:3: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:DWARF_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:4]
		[LAYER:SHORT_DOUBLE_BRAIDS_DBROWN:DWARF_HAIR:3: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:DWARF_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]

		mid 2xbraid
		[LAYER:MID_DOUBLE_BRAIDS_WHITE:DWARF_HAIR:3: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:DWARF_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]
		[LAYER:MID_DOUBLE_BRAIDS_BLACK:DWARF_HAIR:3: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:DWARF_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:12]
		[LAYER:MID_DOUBLE_BRAIDS_RED:DWARF_HAIR:3: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:DWARF_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_BLOND:DWARF_HAIR:3: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:DWARF_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:3]
		[LAYER:MID_DOUBLE_BRAIDS_LBROWN:DWARF_HAIR:3: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:DWARF_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:4]
		[LAYER:MID_DOUBLE_BRAIDS_DBROWN:DWARF_HAIR:3: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:DWARF_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]

		long 2xbraid
		[LAYER:LONG_DOUBLE_BRAIDS_WHITE:DWARF_HAIR:3: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:DWARF_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]
		[LAYER:LONG_DOUBLE_BRAIDS_BLACK:DWARF_HAIR:3: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:DWARF_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:12]
		[LAYER:LONG_DOUBLE_BRAIDS_RED:DWARF_HAIR:3: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:DWARF_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_BLOND:DWARF_HAIR:3: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:DWARF_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:3]
		[LAYER:LONG_DOUBLE_BRAIDS_LBROWN:DWARF_HAIR:3: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:DWARF_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:4]
		[LAYER:LONG_DOUBLE_BRAIDS_DBROWN:DWARF_HAIR:3: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:DWARF_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]

		short ponytail
		[LAYER:SHORT_PONY_TAIL_WHITE:DWARF_HAIR:LARGE_IMAGE:3:13:3:14]
			[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:DWARF_HAIR:LARGE_IMAGE:1:13: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]
		[LAYER:SHORT_PONY_TAIL_BLACK:DWARF_HAIR:LARGE_IMAGE:3:13:3:14]
			[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:DWARF_HAIR:LARGE_IMAGE:1:13: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:12]
		[LAYER:SHORT_PONY_TAIL_RED:DWARF_HAIR:LARGE_IMAGE:3:13:3:14]
			[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:DWARF_HAIR:LARGE_IMAGE:1:13: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:SHORT_PONY_TAIL_BLOND:DWARF_HAIR:LARGE_IMAGE:3:13:3:14]
			[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:DWARF_HAIR:LARGE_IMAGE:1:13: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:3]
		[LAYER:SHORT_PONY_TAIL_LBROWN:DWARF_HAIR:LARGE_IMAGE:3:13:3:14]
			[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:DWARF_HAIR:LARGE_IMAGE:1:13: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:4]
		[LAYER:SHORT_PONY_TAIL_DBROWN:DWARF_HAIR:LARGE_IMAGE:3:13:3:14]
			[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:DWARF_HAIR:LARGE_IMAGE:1:13: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]

		mid ponytail
		[LAYER:MID_PONY_TAIL_WHITE:DWARF_HAIR:LARGE_IMAGE:3:15:3:16]
			[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:DWARF_HAIR:LARGE_IMAGE:1:13: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]
		[LAYER:MID_PONY_TAIL_BLACK:DWARF_HAIR:LARGE_IMAGE:3:15:3:16]
			[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:DWARF_HAIR:LARGE_IMAGE:1:13: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:12]
		[LAYER:MID_PONY_TAIL_RED:DWARF_HAIR:LARGE_IMAGE:3:15:3:16]
			[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:DWARF_HAIR:LARGE_IMAGE:1:13: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_BLOND:DWARF_HAIR:LARGE_IMAGE:3:15:3:16]
			[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:DWARF_HAIR:LARGE_IMAGE:1:13: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:3]
		[LAYER:MID_PONY_TAIL_LBROWN:DWARF_HAIR:LARGE_IMAGE:3:15:3:16]
			[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:DWARF_HAIR:LARGE_IMAGE:1:13: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:4]
		[LAYER:MID_PONY_TAIL_DBROWN:DWARF_HAIR:LARGE_IMAGE:3:15:3:16]
			[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:DWARF_HAIR:LARGE_IMAGE:1:13: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]

		long ponytail
		[LAYER:LONG_PONY_TAIL_WHITE:DWARF_HAIR:LARGE_IMAGE:3:17:3:18]
			[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:DWARF_HAIR:LARGE_IMAGE:1:15:1:16]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_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]
		[LAYER:LONG_PONY_TAIL_BLACK:DWARF_HAIR:LARGE_IMAGE:3:17:3:18]
			[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:DWARF_HAIR:LARGE_IMAGE:1:15:1:16]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:12]
		[LAYER:LONG_PONY_TAIL_RED:DWARF_HAIR:LARGE_IMAGE:3:17:3:18]
			[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:DWARF_HAIR:LARGE_IMAGE:1:15:1:16]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_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_BLOND:DWARF_HAIR:LARGE_IMAGE:3:17:3:18]
			[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:DWARF_HAIR:LARGE_IMAGE:1:15:1:16]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:3]
		[LAYER:LONG_PONY_TAIL_LBROWN:DWARF_HAIR:LARGE_IMAGE:3:17:3:18]
			[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:DWARF_HAIR:LARGE_IMAGE:1:15:1:16]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:4]
		[LAYER:LONG_PONY_TAIL_DBROWN:DWARF_HAIR:LARGE_IMAGE:3:17:3:18]
			[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:DWARF_HAIR:LARGE_IMAGE:1:15:1:16]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_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]

	head clothing

		[LAYER_GROUP]
		[LAYER:CLOTHING_EARRING:DWARF_WEARABLES:0:22]
			[CONDITION_ITEM_WORN:BY_CATEGORY:EAR:EARRING:ANY]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_CAP:DWARF_WEARABLES:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_CAP_DEFAULT:DWARF_WEARABLES:0:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_SCARF_HEAD:DWARF_WEARABLES:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_SCARF_HEAD_DEFAULT:DWARF_WEARABLES:0:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_VEIL_HEAD:DWARF_WEARABLES:0:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_VEIL_HEAD_DEFAULT:DWARF_WEARABLES:0:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_TURBAN:DWARF_WEARABLES:0:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_TURBAN_DEFAULT:DWARF_WEARABLES:0:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_HOOD:DWARF_WEARABLES:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_HOOD_DEFAULT:DWARF_WEARABLES:0:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_CROWN:DWARF_WEARABLES:0:23]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:CROWN:ANY]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	beard

		[LAYER_GROUP]

		stubble invisible

		short unkempt
		[LAYER:BEARD_SHORT_UNKEMPT_WHITE:DWARF_HAIR:5: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:2]
		[LAYER:BEARD_SHORT_UNKEMPT_BLACK:DWARF_HAIR:5: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:12]
		[LAYER:BEARD_SHORT_UNKEMPT_RED:DWARF_HAIR:5: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:1]
		[LAYER:BEARD_SHORT_UNKEMPT_BLOND:DWARF_HAIR:5: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:3]
		[LAYER:BEARD_SHORT_UNKEMPT_LBROWN:DWARF_HAIR:5: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:4]
		[LAYER:BEARD_SHORT_UNKEMPT_DBROWN:DWARF_HAIR:5: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:5]

		mid unkempt
		[LAYER:BEARD_MID_UNKEMPT_WHITE:DWARF_HAIR:5: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:2]
		[LAYER:BEARD_MID_UNKEMPT_BLACK:DWARF_HAIR:5: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:12]
		[LAYER:BEARD_MID_UNKEMPT_RED:DWARF_HAIR:5: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:1]
		[LAYER:BEARD_MID_UNKEMPT_BLOND:DWARF_HAIR:5: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:3]
		[LAYER:BEARD_MID_UNKEMPT_LBROWN:DWARF_HAIR:5: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:4]
		[LAYER:BEARD_MID_UNKEMPT_DBROWN:DWARF_HAIR:5: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:5]

		long unkempt
		[LAYER:BEARD_LONG_UNKEMPT_WHITE:DWARF_HAIR:5: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:2]
		[LAYER:BEARD_LONG_UNKEMPT_BLACK:DWARF_HAIR:5: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:12]
		[LAYER:BEARD_LONG_UNKEMPT_RED:DWARF_HAIR:5: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:1]
		[LAYER:BEARD_LONG_UNKEMPT_BLOND:DWARF_HAIR:5: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:3]
		[LAYER:BEARD_LONG_UNKEMPT_LBROWN:DWARF_HAIR:5: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:4]
		[LAYER:BEARD_LONG_UNKEMPT_DBROWN:DWARF_HAIR:5: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:5]

		short combed
		[LAYER:BEARD_SHORT_COMBED_WHITE:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:2]
		[LAYER:BEARD_SHORT_COMBED_BLACK:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:12]
		[LAYER:BEARD_SHORT_COMBED_RED:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_SHORT_COMBED_BLOND:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:3]
		[LAYER:BEARD_SHORT_COMBED_LBROWN:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:4]
		[LAYER:BEARD_SHORT_COMBED_DBROWN:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:5]

		mid combed
		[LAYER:BEARD_MID_COMBED_WHITE:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:2]
		[LAYER:BEARD_MID_COMBED_BLACK:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:12]
		[LAYER:BEARD_MID_COMBED_RED:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_MID_COMBED_BLOND:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:3]
		[LAYER:BEARD_MID_COMBED_LBROWN:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:4]
		[LAYER:BEARD_MID_COMBED_DBROWN:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:5]

		long combed
		[LAYER:BEARD_LONG_COMBED_WHITE:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:2]
		[LAYER:BEARD_LONG_COMBED_BLACK:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:12]
		[LAYER:BEARD_LONG_COMBED_RED:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_LONG_COMBED_BLOND:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:3]
		[LAYER:BEARD_LONG_COMBED_LBROWN:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:4]
		[LAYER:BEARD_LONG_COMBED_DBROWN:DWARF_HAIR:5: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]
			[USE_PALETTE:HAIR:5]

		short braid
		[LAYER:BEARD_SHORT_BRAIDED_WHITE:DWARF_HAIR:5: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:2]
		[LAYER:BEARD_SHORT_BRAIDED_BLACK:DWARF_HAIR:5: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:12]
		[LAYER:BEARD_SHORT_BRAIDED_RED:DWARF_HAIR:5: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:1]
		[LAYER:BEARD_SHORT_BRAIDED_BLOND:DWARF_HAIR:5: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:3]
		[LAYER:BEARD_SHORT_BRAIDED_LBROWN:DWARF_HAIR:5: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:4]
		[LAYER:BEARD_SHORT_BRAIDED_DBROWN:DWARF_HAIR:5: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:5]

		mid braid
		[LAYER:BEARD_MID_BRAIDED_WHITE:DWARF_HAIR:5: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:2]
		[LAYER:BEARD_MID_BRAIDED_BLACK:DWARF_HAIR:5: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:12]
		[LAYER:BEARD_MID_BRAIDED_RED:DWARF_HAIR:5: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:1]
		[LAYER:BEARD_MID_BRAIDED_BLOND:DWARF_HAIR:5: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:3]
		[LAYER:BEARD_MID_BRAIDED_LBROWN:DWARF_HAIR:5: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:4]
		[LAYER:BEARD_MID_BRAIDED_DBROWN:DWARF_HAIR:5: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:5]

		long braid
		[LAYER:BEARD_LONG_BRAIDED_WHITE:DWARF_HAIR:5: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:2]
		[LAYER:BEARD_LONG_BRAIDED_BLACK:DWARF_HAIR:5: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:12]
		[LAYER:BEARD_LONG_BRAIDED_RED:DWARF_HAIR:5: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:1]
		[LAYER:BEARD_LONG_BRAIDED_BLOND:DWARF_HAIR:5: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:3]
		[LAYER:BEARD_LONG_BRAIDED_LBROWN:DWARF_HAIR:5: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:4]
		[LAYER:BEARD_LONG_BRAIDED_DBROWN:DWARF_HAIR:5: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:5]

		short 2xbraid
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_WHITE:DWARF_HAIR:5: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:2]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_BLACK:DWARF_HAIR:5: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:12]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_RED:DWARF_HAIR:5: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:1]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_BLOND:DWARF_HAIR:5: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:3]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_LBROWN:DWARF_HAIR:5: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:4]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_DBROWN:DWARF_HAIR:5: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:5]

		mid 2xbraid
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_WHITE:DWARF_HAIR:5: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:2]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_BLACK:DWARF_HAIR:5: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:12]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_RED:DWARF_HAIR:5: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:1]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_BLOND:DWARF_HAIR:5: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:3]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_LBROWN:DWARF_HAIR:5: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:4]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_DBROWN:DWARF_HAIR:5: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:5]

		long 2xbraid
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_WHITE:DWARF_HAIR:5: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:2]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_BLACK:DWARF_HAIR:5: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:12]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_RED:DWARF_HAIR:5: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:1]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_BLOND:DWARF_HAIR:5: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:3]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_LBROWN:DWARF_HAIR:5: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:4]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_DBROWN:DWARF_HAIR:5: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:5]

	top head - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_MASK:DWARF_WEARABLES:0:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_MASK_DEFAULT:DWARF_WEARABLES:0:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_VEIL_FACE:DWARF_WEARABLES:0:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_VEIL_FACE_DEFAULT:DWARF_WEARABLES:0:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	left hand

		[LAYER_GROUP]
		[LAYER:Z_LEFT_HAND_F:DWARF_BODY:6:5]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_LEFT_HAND_M:DWARF_BODY:6:4]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_LEFT_HAND_F:DWARF_BODY:6:5]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_LEFT_HAND_M:DWARF_BODY:6:4]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_LEFT_HAND_F:DWARF_BODY:6:5]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_LEFT_HAND_M:DWARF_BODY:6:4]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_LEFT_HAND_F:DWARF_BODY:6:5]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_LEFT_HAND_M:DWARF_BODY:6:4]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_LEFT_HAND_F:DWARF_BODY:6:5]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_LEFT_HAND_M:DWARF_BODY:6:4]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_LEFT_HAND_F:DWARF_BODY:6:5]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_LEFT_HAND_M:DWARF_BODY:6:4]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_LEFT_HAND_F:DWARF_BODY:6:5]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_LEFT_HAND_M:DWARF_BODY:6:4]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_LEFT_HAND:DWARF_BODY:6:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_HAND:DWARF_BODY:6:5]
			[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:3]
		[LAYER:LMID_LEFT_HAND:DWARF_BODY:6:5]
			[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_LEFT_HAND:DWARF_BODY:6:5]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_LEFT_HAND:DWARF_BODY:6:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_HAND:DWARF_BODY:6: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_HAND:DWARF_BODY:6:4]
			[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_LEFT_HAND:DWARF_BODY:6:4]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		left hand - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_LH:DWARF_WEARABLES:0:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:CHILD]
			[USE_PALETTE:CLOTHES:29]
		[LAYER:CLOTHING_LH_DEFAULT:DWARF_WEARABLES:0:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	wound

		*** gut wound

	[LAYER_SET:DEFAULT]

	[LS_PALETTE:BODY]
		[LS_PALETTE_FILE:images/dwarf/dwarf_body_palettes.png]
		[LS_PALETTE_DEFAULT:0]
	[LS_PALETTE:HAIR]
		[LS_PALETTE_FILE:images/dwarf/dwarf_hair_palettes.png]
		[LS_PALETTE_DEFAULT:0]
	[LS_PALETTE:CLOTHES]
		[LS_PALETTE_FILE:images/dwarf/dwarf_clothes_palettes.png]
		[LS_PALETTE_DEFAULT:0]

	shadow

		[LAYER_GROUP]
		[LAYER:SHADOW:DWARF_BODY:8:0]

	cape

		[LAYER_GROUP]
		[LAYER:CLOTHING_CAPE_WHITE:DWARF_WEARABLES:1:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_CAPE_LGRAY:DWARF_WEARABLES:1:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_CAPE_DGRAY:DWARF_WEARABLES:1:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_CAPE_LRED:DWARF_WEARABLES:1:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_CAPE_BROWN:DWARF_WEARABLES:1:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_CAPE_YELLOW:DWARF_WEARABLES:1:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_CAPE_LGREEN:DWARF_WEARABLES:1:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_CAPE_DGREEN:DWARF_WEARABLES:1:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_CAPE_DCYAN:DWARF_WEARABLES:1:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_CAPE_LBLUE:DWARF_WEARABLES:1:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_CAPE_DBLUE:DWARF_WEARABLES:1:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_CAPE_DEFAULT:DWARF_WEARABLES:1:17]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK:ITEM_ARMOR_CAPE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	right arm shield
		[LAYER_GROUP]
		[LAYER:CLOTHING_RH_SHIELD_GROWN:WIELDABLES:LARGE_IMAGE:2:24:3:24]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:SHIELD:ITEM_SHIELD_SHIELD]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RH_SHIELD_WOOD:WIELDABLES:5:24]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:SHIELD:ITEM_SHIELD_SHIELD]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RH_SHIELD_STANDARD:WIELDABLES:1:24]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:SHIELD:ITEM_SHIELD_SHIELD]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_BUCKLER_GROWN:WIELDABLES:LARGE_IMAGE:2:25:3:25]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:SHIELD:ITEM_SHIELD_BUCKLER]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RH_BUCKLER_WOOD:WIELDABLES:5:25]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:SHIELD:ITEM_SHIELD_BUCKLER]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RH_BUCKLER_STANDARD:WIELDABLES:1:25]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:SHIELD:ITEM_SHIELD_BUCKLER]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	right shoulder

		[LAYER_GROUP]
		[LAYER:Z_RIGHT_SHOULDER_F:DWARF_BODY:3:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_RIGHT_SHOULDER_M:DWARF_BODY:3:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_RIGHT_SHOULDER_F:DWARF_BODY:3:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_RIGHT_SHOULDER_M:DWARF_BODY:3:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_RIGHT_SHOULDER_F:DWARF_BODY:3:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_RIGHT_SHOULDER_M:DWARF_BODY:3:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_RIGHT_SHOULDER_F:DWARF_BODY:3:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_RIGHT_SHOULDER_M:DWARF_BODY:3:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_RIGHT_SHOULDER_F:DWARF_BODY:3:2]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_RIGHT_SHOULDER_M:DWARF_BODY:3:1]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_RIGHT_SHOULDER_F:DWARF_BODY:3:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_RIGHT_SHOULDER_M:DWARF_BODY:3:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_RIGHT_SHOULDER_F:DWARF_BODY:3:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_RIGHT_SHOULDER_M:DWARF_BODY:3:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_RIGHT_SHOULDER:DWARF_BODY:3:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_SHOULDER:DWARF_BODY:3:2]
			[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:3]
		[LAYER:LMID_RIGHT_SHOULDER:DWARF_BODY:3:2]
			[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_RIGHT_SHOULDER:DWARF_BODY:3:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_RIGHT_SHOULDER:DWARF_BODY:3:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_SHOULDER:DWARF_BODY:3: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_RIGHT_SHOULDER:DWARF_BODY:3:1]
			[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_RIGHT_SHOULDER:DWARF_BODY:3:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		right arm - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_RA_WHITE:DWARF_WEARABLES:1:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:77]
		[LAYER:CLOTHING_RA_LGRAY:DWARF_WEARABLES:1:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_RA_DGRAY:DWARF_WEARABLES:1:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:54]
		[LAYER:CLOTHING_RA_LRED:DWARF_WEARABLES:1:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_RA_BROWN:DWARF_WEARABLES:1:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:23]
		[LAYER:CLOTHING_RA_YELLOW:DWARF_WEARABLES:1:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:88]
		[LAYER:CLOTHING_RA_LGREEN:DWARF_WEARABLES:1:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_RA_DGREEN:DWARF_WEARABLES:1:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:24]
		[LAYER:CLOTHING_RA_DCYAN:DWARF_WEARABLES:1:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:65]
		[LAYER:CLOTHING_RA_LBLUE:DWARF_WEARABLES:1:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:65]
		[LAYER:CLOTHING_RA_DBLUE:DWARF_WEARABLES:1:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:24]
		[LAYER:CLOTHING_RA_DEFAULT:DWARF_WEARABLES:1:15]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_RA_MAIL_ARTIFACT:DWARF_WEARABLES:3:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RA_MAIL_STANDARD:DWARF_WEARABLES:2:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_RA_PLATE_ARTIFACT:DWARF_WEARABLES:3:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RA_PLATE_STANDARD:DWARF_WEARABLES:2:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	right hand

		[LAYER_GROUP]
		[LAYER:Z_RIGHT_HAND_F:DWARF_BODY:2:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_RIGHT_HAND_M:DWARF_BODY:2:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_RIGHT_HAND_F:DWARF_BODY:2:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_RIGHT_HAND_M:DWARF_BODY:2:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_RIGHT_HAND_F:DWARF_BODY:2:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_RIGHT_HAND_M:DWARF_BODY:2:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_RIGHT_HAND_F:DWARF_BODY:2:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_RIGHT_HAND_M:DWARF_BODY:2:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_RIGHT_HAND_F:DWARF_BODY:2:2]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_RIGHT_HAND_M:DWARF_BODY:2:1]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_RIGHT_HAND_F:DWARF_BODY:2:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_RIGHT_HAND_M:DWARF_BODY:2:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_RIGHT_HAND_F:DWARF_BODY:2:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_RIGHT_HAND_M:DWARF_BODY:2:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_RIGHT_HAND:DWARF_BODY:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_HAND:DWARF_BODY:2:2]
			[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:3]
		[LAYER:LMID_RIGHT_HAND:DWARF_BODY:2:2]
			[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_RIGHT_HAND:DWARF_BODY:2:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_RIGHT_HAND:DWARF_BODY:2:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_HAND:DWARF_BODY:2: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_RIGHT_HAND:DWARF_BODY:2:1]
			[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_RIGHT_HAND:DWARF_BODY:2:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		right hand - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_RH_WHITE:DWARF_WEARABLES:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_RH_LGRAY:DWARF_WEARABLES:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_RH_DGRAY:DWARF_WEARABLES:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_RH_LRED:DWARF_WEARABLES:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_RH_BROWN:DWARF_WEARABLES:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_RH_YELLOW:DWARF_WEARABLES:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_RH_LGREEN:DWARF_WEARABLES:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_RH_DGREEN:DWARF_WEARABLES:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_RH_DCYAN:DWARF_WEARABLES:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_RH_LBLUE:DWARF_WEARABLES:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_RH_DBLUE:DWARF_WEARABLES:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_RH_DEFAULT:DWARF_WEARABLES:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_RH_GAUNTLET_ARTIFACT:DWARF_WEARABLES:3:16]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RH_GAUNTLET_STANDARD:DWARF_WEARABLES:2:16]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:RH:WEAPON:ANY]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_RH_HALBERD_GROWN:WIELDABLES:LARGE_IMAGE:2:0:3:1]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_HALBERD]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RH_HALBERD:WIELDABLES:LARGE_IMAGE:0:0:1:1]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_HALBERD]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_PIKE_GROWN:WIELDABLES:LARGE_IMAGE:2:2:3:3]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_PIKE]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RH_PIKE:WIELDABLES:LARGE_IMAGE:0:2:1:3]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_PIKE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SPEAR_GROWN:WIELDABLES:LARGE_IMAGE:2:4:3:5]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SPEAR]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SPEAR:WIELDABLES:LARGE_IMAGE:0:4:1:5]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SPEAR]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_AXE_GREAT_GROWN:WIELDABLES:LARGE_IMAGE:2:6:3:6]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_AXE_GREAT]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_AXE_GREAT:WIELDABLES:LARGE_IMAGE:0:6:1:6]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_AXE_GREAT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_AXE_BATTLE_GROWN:WIELDABLES:LARGE_IMAGE:2:7:3:7]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_AXE_BATTLE]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_AXE_BATTLE:WIELDABLES:LARGE_IMAGE:0:7:1:7]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_AXE_BATTLE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SCIMITAR_GROWN:WIELDABLES:LARGE_IMAGE:2:8:3:8]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SCIMITAR]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SCIMITAR:WIELDABLES:LARGE_IMAGE:0:8:1:8]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SCIMITAR]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SWORD_2H_GROWN:WIELDABLES:LARGE_IMAGE:2:9:3:9]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SWORD_2H]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SWORD_2H:WIELDABLES:LARGE_IMAGE:0:9:1:9]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SWORD_2H]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SWORD_LONG_GROWN:WIELDABLES:LARGE_IMAGE:2:10:3:10]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SWORD_LONG]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SWORD_LONG:WIELDABLES:LARGE_IMAGE:0:10:1:10]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SWORD_LONG]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SWORD_SHORT_GROWN:WIELDABLES:LARGE_IMAGE:2:11:3:11]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SWORD_SHORT]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SWORD_SHORT:WIELDABLES:LARGE_IMAGE:0:11:1:11]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SWORD_SHORT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_DAGGER_LARGE_GROWN:WIELDABLES:LARGE_IMAGE:2:12:3:12]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_DAGGER_LARGE]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_DAGGER_LARGE:WIELDABLES:LARGE_IMAGE:0:12:1:12]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_DAGGER_LARGE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_PICK_GROWN:WIELDABLES:LARGE_IMAGE:2:13:3:13]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_PICK]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_PICK:WIELDABLES:LARGE_IMAGE:0:13:1:13]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_PICK]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_HAMMER_WAR_GROWN:WIELDABLES:LARGE_IMAGE:2:14:3:14]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_HAMMER_WAR]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_HAMMER_WAR:WIELDABLES:LARGE_IMAGE:0:14:1:14]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_HAMMER_WAR]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_MAUL_GROWN:WIELDABLES:LARGE_IMAGE:2:15:3:15]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_MAUL]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_MAUL:WIELDABLES:LARGE_IMAGE:0:15:1:15]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_MAUL]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_FLAIL_GROWN:WIELDABLES:LARGE_IMAGE:2:16:3:16]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_FLAIL]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_FLAIL:WIELDABLES:LARGE_IMAGE:0:16:1:16]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_FLAIL]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_MORNINGSTAR_GROWN:WIELDABLES:LARGE_IMAGE:2:17:3:17]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_MORNINGSTAR]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_MORNINGSTAR:WIELDABLES:LARGE_IMAGE:0:17:1:17]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_MORNINGSTAR]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_MACE_GROWN:WIELDABLES:LARGE_IMAGE:2:18:3:18]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_MACE]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_MACE:WIELDABLES:LARGE_IMAGE:0:18:1:18]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_MACE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_WHIP_GROWN:WIELDABLES:LARGE_IMAGE:2:19:3:19]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_WHIP]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_WHIP:WIELDABLES:LARGE_IMAGE:0:19:1:19]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_WHIP]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SCOURGE_GROWN:WIELDABLES:LARGE_IMAGE:2:20:3:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SCOURGE]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SCOURGE:WIELDABLES:LARGE_IMAGE:0:20:1:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SCOURGE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_CROSSBOW_GROWN:WIELDABLES:LARGE_IMAGE:2:21:3:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_CROSSBOW]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_CROSSBOW:WIELDABLES:LARGE_IMAGE:0:21:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_CROSSBOW]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_BOW_GROWN:WIELDABLES:LARGE_IMAGE:2:22:3:22]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_BOW]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_BOW:WIELDABLES:LARGE_IMAGE:0:22:1:22]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_BOW]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_BLOWGUN_GROWN:WIELDABLES:LARGE_IMAGE:2:23:3:23]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_BLOWGUN]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_BLOWGUN:WIELDABLES:LARGE_IMAGE:0:23:1:23]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_BLOWGUN]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SWORD_SHORT_TRAINING:WIELDABLES:LARGE_IMAGE:4:7:5:7]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SWORD_SHORT_TRAINING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SPEAR_TRAINING:WIELDABLES:LARGE_IMAGE:4:4:5:5]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SPEAR_TRAINING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_AXE_TRAINING:WIELDABLES:LARGE_IMAGE:4:6:5:6]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_AXE_TRAINING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_SWORD_STONE:WIELDABLES:LARGE_IMAGE:4:8:5:8]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:WEAPON:ITEM_WEAPON_SWORD_SHORT]
			[CONDITION_MATERIAL_FLAG:ANY_STONE_MATERIAL]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_KNIFE:WIELDABLES:LARGE_IMAGE:4:9:5:9]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:TOOL:ITEM_TOOL_KNIFE_CARVING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_CLEAVER:WIELDABLES:LARGE_IMAGE:4:10:5:10]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:TOOL:ITEM_TOOL_KNIFE_BONING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_CLEAVER:WIELDABLES:LARGE_IMAGE:4:11:5:11]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:TOOL:ITEM_TOOL_KNIFE_SLICING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_CLEAVER:WIELDABLES:LARGE_IMAGE:4:12:5:12]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:TOOL:ITEM_TOOL_KNIFE_MEAT_CLEAVER]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_FORK:WIELDABLES:LARGE_IMAGE:4:13:5:13]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:TOOL:ITEM_TOOL_FORK_CARVING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_STONE_AXE:WIELDABLES:LARGE_IMAGE:4:15:5:15]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:TOOL:ITEM_TOOL_LADLE]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_STONE_AXE:WIELDABLES:LARGE_IMAGE:4:14:5:14]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:TOOL:ITEM_TOOL_LADLE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_STONE_AXE:WIELDABLES:LARGE_IMAGE:4:16:5:16]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:TOOL:ITEM_TOOL_HELVE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_RH_STONE_AXE:WIELDABLES:LARGE_IMAGE:4:17:5:17]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:TOOL:ITEM_TOOL_STONE_AXE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:RH_CRUTCH:WIELDABLES:5:1]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:CRUTCH:ANY]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	right leg

		[LAYER_GROUP]
		[LAYER:Z_RIGHT_LEG_F:DWARF_BODY:1:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_RIGHT_LEG_M:DWARF_BODY:1:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_RIGHT_LEG_F:DWARF_BODY:1:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_RIGHT_LEG_M:DWARF_BODY:1:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_RIGHT_LEG_F:DWARF_BODY:1:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_RIGHT_LEG_M:DWARF_BODY:1:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_RIGHT_LEG_F:DWARF_BODY:1:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_RIGHT_LEG_M:DWARF_BODY:1:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_RIGHT_LEG_F:DWARF_BODY:1:2]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_RIGHT_LEG_M:DWARF_BODY:1:1]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_RIGHT_LEG_F:DWARF_BODY:1:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_RIGHT_LEG_M:DWARF_BODY:1:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_RIGHT_LEG_F:DWARF_BODY:1:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_RIGHT_LEG_M:DWARF_BODY:1:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_RIGHT_LEG:DWARF_BODY:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_LEG:DWARF_BODY:1:2]
			[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:3]
		[LAYER:LMID_RIGHT_LEG:DWARF_BODY:1:2]
			[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_RIGHT_LEG:DWARF_BODY:1:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_RIGHT_LEG:DWARF_BODY:1:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_LEG:DWARF_BODY:1: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_RIGHT_LEG:DWARF_BODY:1:1]
			[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_RIGHT_LEG:DWARF_BODY:1:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		right leg - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_RL_WHITE:DWARF_WEARABLES:1:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:77]
		[LAYER:CLOTHING_RL_LGRAY:DWARF_WEARABLES:1:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_RL_DGRAY:DWARF_WEARABLES:1:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:54]
		[LAYER:CLOTHING_RL_LRED:DWARF_WEARABLES:1:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_RL_BROWN:DWARF_WEARABLES:1:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:23]
		[LAYER:CLOTHING_RL_YELLOW:DWARF_WEARABLES:1:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:88]
		[LAYER:CLOTHING_RL_LGREEN:DWARF_WEARABLES:1:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_RL_DGREEN:DWARF_WEARABLES:1:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:24]
		[LAYER:CLOTHING_RL_DCYAN:DWARF_WEARABLES:1:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:65]
		[LAYER:CLOTHING_RL_LBLUE:DWARF_WEARABLES:1:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:65]
		[LAYER:CLOTHING_RL_DBLUE:DWARF_WEARABLES:1:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:24]
		[LAYER:CLOTHING_RL_DEFAULT:DWARF_WEARABLES:1:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_RL_LEGGINGS_ARTIFACT:DWARF_WEARABLES:3:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_LEGGINGS]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RL_LEGGINGS_STANDARD:DWARF_WEARABLES:2:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_LEGGINGS]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_RL_GREAVES_ARTIFACT:DWARF_WEARABLES:3:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RL_GREAVES_STANDARD:DWARF_WEARABLES:2:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	right foot

		[LAYER_GROUP]
		[LAYER:Z_RIGHT_FOOT_F:DWARF_BODY:0:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_RIGHT_FOOT_M:DWARF_BODY:0:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_RIGHT_FOOT_F:DWARF_BODY:0:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_RIGHT_FOOT_M:DWARF_BODY:0:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_RIGHT_FOOT_F:DWARF_BODY:0:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_RIGHT_FOOT_M:DWARF_BODY:0:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_RIGHT_FOOT_F:DWARF_BODY:0:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_RIGHT_FOOT_M:DWARF_BODY:0:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_RIGHT_FOOT_F:DWARF_BODY:0:2]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_RIGHT_FOOT_M:DWARF_BODY:0:1]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_RIGHT_FOOT_F:DWARF_BODY:0:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_RIGHT_FOOT_M:DWARF_BODY:0:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_RIGHT_FOOT_F:DWARF_BODY:0:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_RIGHT_FOOT_M:DWARF_BODY:0:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_RIGHT_FOOT:DWARF_BODY:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_FOOT:DWARF_BODY:0:2]
			[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:3]
		[LAYER:LMID_RIGHT_FOOT:DWARF_BODY:0:2]
			[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_RIGHT_FOOT:DWARF_BODY:0:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_RIGHT_FOOT:DWARF_BODY:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_RIGHT_FOOT:DWARF_BODY:0: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_RIGHT_FOOT:DWARF_BODY:0:1]
			[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_RIGHT_FOOT:DWARF_BODY:0:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		right foot - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_RF_WHITE:DWARF_WEARABLES:1:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_RF_LGRAY:DWARF_WEARABLES:1:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_RF_DGRAY:DWARF_WEARABLES:1:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_RF_LRED:DWARF_WEARABLES:1:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_RF_BROWN:DWARF_WEARABLES:1:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_RF_YELLOW:DWARF_WEARABLES:1:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_RF_LGREEN:DWARF_WEARABLES:1:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_RF_DGREEN:DWARF_WEARABLES:1:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_RF_DCYAN:DWARF_WEARABLES:1:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_RF_LBLUE:DWARF_WEARABLES:1:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_RF_DBLUE:DWARF_WEARABLES:1:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_RF_DEFAULT:DWARF_WEARABLES:1:18]
[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_RF_LOW_ARTIFACT:DWARF_WEARABLES:3:13]
			[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_BOOTS_LOW]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RF_LOW_STANDARD:DWARF_WEARABLES:2:13]
			[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_BOOTS_LOW]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_RF_HIGH_ARTIFACT:DWARF_WEARABLES:3:15]
			[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_BOOTS]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RF_HIGH_STANDARD:DWARF_WEARABLES:2:15]
			[CONDITION_ITEM_WORN:BY_TOKEN:RF:SHOES:ITEM_SHOES_BOOTS]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	left leg

		[LAYER_GROUP]
		[LAYER:Z_LEFT_LEG_F:DWARF_BODY:7:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_LEFT_LEG_M:DWARF_BODY:7:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_LEFT_LEG_F:DWARF_BODY:7:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_LEFT_LEG_M:DWARF_BODY:7:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_LEFT_LEG_F:DWARF_BODY:7:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_LEFT_LEG_M:DWARF_BODY:7:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_LEFT_LEG_F:DWARF_BODY:7:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_LEFT_LEG_M:DWARF_BODY:7:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_LEFT_LEG_F:DWARF_BODY:7:2]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_LEFT_LEG_M:DWARF_BODY:7:1]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_LEFT_LEG_F:DWARF_BODY:7:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_LEFT_LEG_M:DWARF_BODY:7:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_LEFT_LEG_F:DWARF_BODY:7:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_LEFT_LEG_M:DWARF_BODY:7:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_LEFT_LEG:DWARF_BODY:7:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_LEG:DWARF_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:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_LEG:DWARF_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:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_LEFT_LEG:DWARF_BODY:7:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_LEFT_LEG:DWARF_BODY:7:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_LEG:DWARF_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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_LEG:DWARF_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]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_LEFT_LEG:DWARF_BODY:7:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		left leg - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_LL_WHITE:DWARF_WEARABLES:1:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:77]
		[LAYER:CLOTHING_LL_LGRAY:DWARF_WEARABLES:1:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_LL_DGRAY:DWARF_WEARABLES:1:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:54]
		[LAYER:CLOTHING_LL_LRED:DWARF_WEARABLES:1:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_LL_BROWN:DWARF_WEARABLES:1:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:23]
		[LAYER:CLOTHING_LL_YELLOW:DWARF_WEARABLES:1:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:88]
		[LAYER:CLOTHING_LL_LGREEN:DWARF_WEARABLES:1:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_LL_DGREEN:DWARF_WEARABLES:1:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:24]
		[LAYER:CLOTHING_LL_DCYAN:DWARF_WEARABLES:1:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:65]
		[LAYER:CLOTHING_LL_LBLUE:DWARF_WEARABLES:1:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:65]
		[LAYER:CLOTHING_LL_DBLUE:DWARF_WEARABLES:1:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:24]
		[LAYER:CLOTHING_LL_DEFAULT:DWARF_WEARABLES:1:12]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_PANTS:ITEM_PANTS_BRAIES]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_LL_LEGGINGS_ARTIFACT:DWARF_WEARABLES:3:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_LEGGINGS]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LL_LEGGINGS_STANDARD:DWARF_WEARABLES:2:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_LEGGINGS]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_LL_GREAVES_ARTIFACT:DWARF_WEARABLES:3:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LL_GREAVES_STANDARD:DWARF_WEARABLES:2:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	left foot

		[LAYER_GROUP]
		[LAYER:Z_LEFT_FOOT_F:DWARF_BODY:8:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_LEFT_FOOT_M:DWARF_BODY:8:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_LEFT_FOOT_F:DWARF_BODY:8:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_LEFT_FOOT_M:DWARF_BODY:8:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_LEFT_FOOT_F:DWARF_BODY:8:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_LEFT_FOOT_M:DWARF_BODY:8:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_LEFT_FOOT_F:DWARF_BODY:8:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_LEFT_FOOT_M:DWARF_BODY:8:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_LEFT_FOOT_F:DWARF_BODY:8:2]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_LEFT_FOOT_M:DWARF_BODY:8:1]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_LEFT_FOOT_F:DWARF_BODY:8:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_LEFT_FOOT_M:DWARF_BODY:8:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_LEFT_FOOT_F:DWARF_BODY:8:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_LEFT_FOOT_M:DWARF_BODY:8:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_LEFT_FOOT:DWARF_BODY:8:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_FOOT:DWARF_BODY:8:2]
			[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:3]
		[LAYER:LMID_LEFT_FOOT:DWARF_BODY:8:2]
			[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_LEFT_FOOT:DWARF_BODY:8:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_LEFT_FOOT:DWARF_BODY:8:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_FOOT:DWARF_BODY:8: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_FOOT:DWARF_BODY:8:1]
			[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_LEFT_FOOT:DWARF_BODY:8:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		left foot - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_LF_WHITE:DWARF_WEARABLES:1:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_LF_LGRAY:DWARF_WEARABLES:1:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_LF_DGRAY:DWARF_WEARABLES:1:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_LF_LRED:DWARF_WEARABLES:1:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_LF_BROWN:DWARF_WEARABLES:1:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_LF_YELLOW:DWARF_WEARABLES:1:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_LF_LGREEN:DWARF_WEARABLES:1:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_LF_DGREEN:DWARF_WEARABLES:1:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_LF_DCYAN:DWARF_WEARABLES:1:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_LF_LBLUE:DWARF_WEARABLES:1:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_LF_DBLUE:DWARF_WEARABLES:1:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_LF_DEFAULT:DWARF_WEARABLES:1:19]
[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_SHOES:ITEM_SHOES_BOOTS:ITEM_SHOES_BOOTS_LOW:ITEM_SHOES_SANDAL:ITEM_SHOES_CHAUSSE:ITEM_SHOES_SOCKS]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_LF_LOW_ARTIFACT:DWARF_WEARABLES:3:12]
			[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_BOOTS_LOW]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LF_LOW_STANDARD:DWARF_WEARABLES:2:12]
			[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_BOOTS_LOW]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_LF_HIGH_ARTIFACT:DWARF_WEARABLES:3:14]
			[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_BOOTS]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LF_HIGH_STANDARD:DWARF_WEARABLES:2:14]
			[CONDITION_ITEM_WORN:BY_TOKEN:LF:SHOES:ITEM_SHOES_BOOTS]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	lower body clothes hanging over legs

		[LAYER_GROUP]
		[LAYER:CLOTHING_WAIST_ROBE_WHITE:DWARF_WEARABLES:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_WAIST_ROBE_LGRAY:DWARF_WEARABLES:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_WAIST_ROBE_DGRAY:DWARF_WEARABLES:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_WAIST_ROBE_LRED:DWARF_WEARABLES:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_WAIST_ROBE_BROWN:DWARF_WEARABLES:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_WAIST_ROBE_YELLOW:DWARF_WEARABLES:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_WAIST_ROBE_LGREEN:DWARF_WEARABLES:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_WAIST_ROBE_DGREEN:DWARF_WEARABLES:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_WAIST_ROBE_DCYAN:DWARF_WEARABLES:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_WAIST_ROBE_LBLUE:DWARF_WEARABLES:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_WAIST_ROBE_DBLUE:DWARF_WEARABLES:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_WAIST_ROBE_DEFAULT:DWARF_WEARABLES:1:7]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_ROBE]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_LONG]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_WAIST_SKIRT_WHITE:DWARF_WEARABLES:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_WAIST_SKIRT_LGRAY:DWARF_WEARABLES:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_WAIST_SKIRT_DGRAY:DWARF_WEARABLES:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_WAIST_SKIRT_LRED:DWARF_WEARABLES:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_WAIST_SKIRT_BROWN:DWARF_WEARABLES:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_WAIST_SKIRT_YELLOW:DWARF_WEARABLES:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_WAIST_SKIRT_LGREEN:DWARF_WEARABLES:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_WAIST_SKIRT_DGREEN:DWARF_WEARABLES:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_WAIST_SKIRT_DCYAN:DWARF_WEARABLES:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_WAIST_SKIRT_LBLUE:DWARF_WEARABLES:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_WAIST_SKIRT_DBLUE:DWARF_WEARABLES:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_WAIST_SKIRT_DEFAULT:DWARF_WEARABLES:1:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_DRESS]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_WHITE:DWARF_WEARABLES:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_LGRAY:DWARF_WEARABLES:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_DGRAY:DWARF_WEARABLES:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_LRED:DWARF_WEARABLES:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_BROWN:DWARF_WEARABLES:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_YELLOW:DWARF_WEARABLES:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_LGREEN:DWARF_WEARABLES:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_DGREEN:DWARF_WEARABLES:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_DCYAN:DWARF_WEARABLES:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_LBLUE:DWARF_WEARABLES:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_DBLUE:DWARF_WEARABLES:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_WAIST_SKIRT_SHORT_DEFAULT:DWARF_WEARABLES:1:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_SKIRT_SHORT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_WAIST_TUNIC_WHITE:DWARF_WEARABLES:1:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_WAIST_TUNIC_LGRAY:DWARF_WEARABLES:1:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_WAIST_TUNIC_DGRAY:DWARF_WEARABLES:1:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_WAIST_TUNIC_LRED:DWARF_WEARABLES:1:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_WAIST_TUNIC_BROWN:DWARF_WEARABLES:1:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_WAIST_TUNIC_YELLOW:DWARF_WEARABLES:1:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_WAIST_TUNIC_LGREEN:DWARF_WEARABLES:1:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_WAIST_TUNIC_DGREEN:DWARF_WEARABLES:1:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_WAIST_TUNIC_DCYAN:DWARF_WEARABLES:1:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_WAIST_TUNIC_LBLUE:DWARF_WEARABLES:1:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_WAIST_TUNIC_DBLUE:DWARF_WEARABLES:1:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_WAIST_TUNIC_DEFAULT:DWARF_WEARABLES:1:10]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_TUNIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_LOWER:PANTS:ITEM_PANTS_GREAVES:ITEM_PANTS_LEGGINGS]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	torso

		[LAYER_GROUP]
		[LAYER:Z_BODY_F:DWARF_BODY:4:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_BODY_M:DWARF_BODY:4:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_BODY_F:DWARF_BODY:4:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_BODY_M:DWARF_BODY:4:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_BODY_F:DWARF_BODY:4:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_BODY_M:DWARF_BODY:4:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_BODY_F:DWARF_BODY:4:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_BODY_M:DWARF_BODY:4:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_BODY_F:DWARF_BODY:4:2]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_BODY_M:DWARF_BODY:4:1]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_BODY_F:DWARF_BODY:4:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_BODY_M:DWARF_BODY:4:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_BODY_F:DWARF_BODY:4:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_BODY_M:DWARF_BODY:4:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_BODY:DWARF_BODY:4:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_BODY:DWARF_BODY:4:2]
			[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:3]
		[LAYER:LMID_BODY:DWARF_BODY:4:2]
			[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:DWARF_BODY:4:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_BODY:DWARF_BODY:4:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_BODY:DWARF_BODY:4: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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_BODY:DWARF_BODY:4:1]
			[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:DWARF_BODY:4:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		[LAYER_GROUP]
		[LAYER:CLOTHING_TORSO_SIMPLE_WHITE:DWARF_WEARABLES:1:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_TORSO_SIMPLE_LGRAY:DWARF_WEARABLES:1:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_TORSO_SIMPLE_DGRAY:DWARF_WEARABLES:1:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_TORSO_SIMPLE_LRED:DWARF_WEARABLES:1:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_TORSO_SIMPLE_BROWN:DWARF_WEARABLES:1:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_TORSO_SIMPLE_YELLOW:DWARF_WEARABLES:1:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_TORSO_SIMPLE_LGREEN:DWARF_WEARABLES:1:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_TORSO_SIMPLE_DGREEN:DWARF_WEARABLES:1:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_TORSO_SIMPLE_DCYAN:DWARF_WEARABLES:1:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_TORSO_SIMPLE_LBLUE:DWARF_WEARABLES:1:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_TORSO_SIMPLE_DBLUE:DWARF_WEARABLES:1:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_TORSO_SIMPLE_DEFAULT:DWARF_WEARABLES:1:13]
[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TUNIC:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_TORSO_VEST_WHITE:DWARF_WEARABLES:1:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_TORSO_VEST_LGRAY:DWARF_WEARABLES:1:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_TORSO_VEST_DGRAY:DWARF_WEARABLES:1:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_TORSO_VEST_LRED:DWARF_WEARABLES:1:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_TORSO_VEST_BROWN:DWARF_WEARABLES:1:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_TORSO_VEST_YELLOW:DWARF_WEARABLES:1:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_TORSO_VEST_LGREEN:DWARF_WEARABLES:1:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_TORSO_VEST_DGREEN:DWARF_WEARABLES:1:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_TORSO_VEST_DCYAN:DWARF_WEARABLES:1:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_TORSO_VEST_LBLUE:DWARF_WEARABLES:1:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_TORSO_VEST_DBLUE:DWARF_WEARABLES:1:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_TORSO_VEST_DEFAULT:DWARF_WEARABLES:1:14]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_VEST]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_TORSO_MAIL_ARTIFACT:DWARF_WEARABLES:3:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TORSO_MAIL_STANDARD:DWARF_WEARABLES:2:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_TORSO_LEATHER_ARTIFACT:DWARF_WEARABLES:3:18]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE:ITEM_ARMOR_LEATHER]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TORSO_LEATHER_STANDARD:DWARF_WEARABLES:2:18]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE:ITEM_ARMOR_LEATHER]
			[CONDITION_MATERIAL_FLAG:ANY_LEATHER_MATERIAL:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_TORSO_PLATE_ARTIFACT:DWARF_WEARABLES:3:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_TORSO_PLATE_STANDARD:DWARF_WEARABLES:2:9]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	left shoulder

		[LAYER_GROUP]
		[LAYER:Z_LEFT_SHOULDER_F:DWARF_BODY:5:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_LEFT_SHOULDER_M:DWARF_BODY:5:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_LEFT_SHOULDER_F:DWARF_BODY:5:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_LEFT_SHOULDER_M:DWARF_BODY:5:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_LEFT_SHOULDER_F:DWARF_BODY:5:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_LEFT_SHOULDER_M:DWARF_BODY:5:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_LEFT_SHOULDER_F:DWARF_BODY:5:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_LEFT_SHOULDER_M:DWARF_BODY:5:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_LEFT_SHOULDER_F:DWARF_BODY:5:2]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_LEFT_SHOULDER_M:DWARF_BODY:5:1]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_LEFT_SHOULDER_F:DWARF_BODY:5:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_LEFT_SHOULDER_M:DWARF_BODY:5:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_LEFT_SHOULDER_F:DWARF_BODY:5:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_LEFT_SHOULDER_M:DWARF_BODY:5:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_LEFT_SHOULDER:DWARF_BODY:5:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_SHOULDER:DWARF_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:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_SHOULDER:DWARF_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:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_LEFT_SHOULDER:DWARF_BODY:5:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_LEFT_SHOULDER:DWARF_BODY:5:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_SHOULDER:DWARF_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]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_SHOULDER:DWARF_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]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_LEFT_SHOULDER:DWARF_BODY:5:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		left arm - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_LA_WHITE:DWARF_WEARABLES:1:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:77]
		[LAYER:CLOTHING_LA_LGRAY:DWARF_WEARABLES:1:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_LA_DGRAY:DWARF_WEARABLES:1:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:54]
		[LAYER:CLOTHING_LA_LRED:DWARF_WEARABLES:1:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_LA_BROWN:DWARF_WEARABLES:1:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:23]
		[LAYER:CLOTHING_LA_YELLOW:DWARF_WEARABLES:1:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:88]
		[LAYER:CLOTHING_LA_LGREEN:DWARF_WEARABLES:1:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_LA_DGREEN:DWARF_WEARABLES:1:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:24]
		[LAYER:CLOTHING_LA_DCYAN:DWARF_WEARABLES:1:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:65]
		[LAYER:CLOTHING_LA_LBLUE:DWARF_WEARABLES:1:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:65]
		[LAYER:CLOTHING_LA_DBLUE:DWARF_WEARABLES:1:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:24]
		[LAYER:CLOTHING_LA_DEFAULT:DWARF_WEARABLES:1:16]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_COAT:ITEM_ARMOR_SHIRT:ITEM_ARMOR_TOGA:ITEM_ARMOR_DRESS:ITEM_ARMOR_ROBE]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[END_LAYER_GROUP]

		[LAYER_GROUP]
		[LAYER:CLOTHING_LA_MAIL_ARTIFACT:DWARF_WEARABLES:3:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LA_MAIL_STANDARD:DWARF_WEARABLES:2:8]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_MAIL_SHIRT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_LA_PLATE_ARTIFACT:DWARF_WEARABLES:3:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LA_PLATE_STANDARD:DWARF_WEARABLES:2:11]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_BREASTPLATE]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]
]

	head

		[LAYER_GROUP]
		[LAYER:Z_FACE_F1:DWARF_BODY:0:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_F2:DWARF_BODY:1:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_F3:DWARF_BODY:2:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_F4:DWARF_BODY:3:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_M1:DWARF_BODY:4:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_M2:DWARF_BODY:5:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_M3:DWARF_BODY:6:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_FACE_M4:DWARF_BODY:7:0]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_FACE_F1:DWARF_BODY:0:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_F2:DWARF_BODY:1:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_F3:DWARF_BODY:2:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_F4:DWARF_BODY:3:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_M1:DWARF_BODY:4:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_M2:DWARF_BODY:5:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_M3:DWARF_BODY:6:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_FACE_M4:DWARF_BODY:7:0]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_FACE_F1:DWARF_BODY:0:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_F2:DWARF_BODY:1:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_F3:DWARF_BODY:2:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_F4:DWARF_BODY:3:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_M1:DWARF_BODY:4:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_M2:DWARF_BODY:5:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_M3:DWARF_BODY:6:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_FACE_M4:DWARF_BODY:7:0]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_FACE_F1:DWARF_BODY:0:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_F2:DWARF_BODY:1:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_F3:DWARF_BODY:2:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_F4:DWARF_BODY:3:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_M1:DWARF_BODY:4:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_M2:DWARF_BODY:5:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_M3:DWARF_BODY:6:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_FACE_M4:DWARF_BODY:7:0]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_FACE_F1:DWARF_BODY:0:0]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_F2:DWARF_BODY:1:0]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_F3:DWARF_BODY:2:0]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_F4:DWARF_BODY:3:0]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_M1:DWARF_BODY:4:0]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_M2:DWARF_BODY:5:0]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_M3:DWARF_BODY:6:0]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_FACE_M4:DWARF_BODY:7:0]
			[CONDITION_GHOST]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_FACE_F1:DWARF_BODY:0:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_F2:DWARF_BODY:1:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_F3:DWARF_BODY:2:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_F4:DWARF_BODY:3:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_M1:DWARF_BODY:4:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_M2:DWARF_BODY:5:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_M3:DWARF_BODY:6:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_FACE_M4:DWARF_BODY:7:0]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_FACE_F1:DWARF_BODY:0:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_F2:DWARF_BODY:1:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_F3:DWARF_BODY:2:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_F4:DWARF_BODY:3:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_M1:DWARF_BODY:4:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_M2:DWARF_BODY:5:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_M3:DWARF_BODY:6:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_FACE_M4:DWARF_BODY:7:0]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_FACE_F1:DWARF_BODY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_F2:DWARF_BODY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_F3:DWARF_BODY:2:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_F4:DWARF_BODY:3:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_M1:DWARF_BODY:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_M2:DWARF_BODY:5:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_M3:DWARF_BODY:6:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DARK_FACE_M4:DWARF_BODY:7:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_FACE_F1:DWARF_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_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_F2:DWARF_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_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_F3:DWARF_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_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_F4:DWARF_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_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_M1:DWARF_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_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_M2:DWARF_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:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_M3:DWARF_BODY:6: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:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[LAYER:DMID_FACE_M4:DWARF_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_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_FACE_F1:DWARF_BODY:0: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:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_F2:DWARF_BODY:1: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:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_F3:DWARF_BODY:2: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:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_F4:DWARF_BODY:3: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:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_M1:DWARF_BODY:4: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:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_M2:DWARF_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:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_M3:DWARF_BODY:6: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:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LMID_FACE_M4:DWARF_BODY:7: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:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:2]
		[LAYER:LIGHT_FACE_F1:DWARF_BODY:0:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_F2:DWARF_BODY:1:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_F3:DWARF_BODY:2:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_F4:DWARF_BODY:3:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_M1:DWARF_BODY:4:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:1:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_M2:DWARF_BODY:5:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:2:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_M3:DWARF_BODY:6:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]
		[LAYER:LIGHT_FACE_M4:DWARF_BODY:7:0]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_RANDOM_PART_INDEX:HEAD:4:4]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

	hair

		[LAYER_GROUP]

		stubble
		[LAYER:STUBBLE_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0: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]
		[LAYER:STUBBLE_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0: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:12]
		[LAYER:STUBBLE_RED:DWARF_HAIR:2: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:DWARF_HAIR:0: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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0: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:3]
		[LAYER:STUBBLE_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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:4]
		[LAYER:STUBBLE_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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]

		short unkempt
		[LAYER:SHORT_UNKEMPT_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0: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]
		[LAYER:SHORT_UNKEMPT_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0: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:12]
		[LAYER:SHORT_UNKEMPT_RED:DWARF_HAIR:2: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:DWARF_HAIR:0: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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0: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:3]
		[LAYER:SHORT_UNKEMPT_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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:4]
		[LAYER:SHORT_UNKEMPT_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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]

		mid unkempt
		[LAYER:MID_UNKEMPT_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0: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]
		[LAYER:MID_UNKEMPT_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0: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:12]
		[LAYER:MID_UNKEMPT_RED:DWARF_HAIR:2: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:DWARF_HAIR:0: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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0: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:3]
		[LAYER:MID_UNKEMPT_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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:4]
		[LAYER:MID_UNKEMPT_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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]

		long unkempt
		[LAYER:LONG_UNKEMPT_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0: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]
		[LAYER:LONG_UNKEMPT_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0: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:12]
		[LAYER:LONG_UNKEMPT_RED:DWARF_HAIR:2: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:DWARF_HAIR:0: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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0: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:3]
		[LAYER:LONG_UNKEMPT_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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:4]
		[LAYER:LONG_UNKEMPT_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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]

		short combed
		[LAYER:SHORT_COMBED_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0: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]
		[LAYER:SHORT_COMBED_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0: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:12]
		[LAYER:SHORT_COMBED_RED:DWARF_HAIR:2: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:DWARF_HAIR:0: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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0: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:3]
		[LAYER:SHORT_COMBED_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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:4]
		[LAYER:SHORT_COMBED_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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]

		mid combed
		[LAYER:MID_COMBED_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0: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]
		[LAYER:MID_COMBED_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0: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:12]
		[LAYER:MID_COMBED_RED:DWARF_HAIR:2: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:DWARF_HAIR:0: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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0: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:3]
		[LAYER:MID_COMBED_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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:4]
		[LAYER:MID_COMBED_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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]

		long combed
		[LAYER:LONG_COMBED_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0:6]
				[TISSUE_SWAP:IF_MIN_CURLY:190:DWARF_HAIR:LARGE_IMAGE:0:17:0:18]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_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]
		[LAYER:LONG_COMBED_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0:6]
				[TISSUE_SWAP:IF_MIN_CURLY:190:DWARF_HAIR:LARGE_IMAGE:0:17:0:18]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:12]
		[LAYER:LONG_COMBED_RED:DWARF_HAIR:2: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:DWARF_HAIR:0:6]
				[TISSUE_SWAP:IF_MIN_CURLY:190:DWARF_HAIR:LARGE_IMAGE:0:17:0:18]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0:6]
				[TISSUE_SWAP:IF_MIN_CURLY:190:DWARF_HAIR:LARGE_IMAGE:0:17:0:18]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:3]
		[LAYER:LONG_COMBED_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0:6]
				[TISSUE_SWAP:IF_MIN_CURLY:190:DWARF_HAIR:LARGE_IMAGE:0:17:0:18]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:4]
		[LAYER:LONG_COMBED_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0:6]
				[TISSUE_SWAP:IF_MIN_CURLY:190:DWARF_HAIR:LARGE_IMAGE:0:17:0:18]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_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]

		short braid
		[LAYER:SHORT_BRAIDED_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0: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]
		[LAYER:SHORT_BRAIDED_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0: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:12]
		[LAYER:SHORT_BRAIDED_RED:DWARF_HAIR:2: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:DWARF_HAIR:0: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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0: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:3]
		[LAYER:SHORT_BRAIDED_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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:4]
		[LAYER:SHORT_BRAIDED_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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]

		mid braid
		[LAYER:MID_BRAIDED_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0: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]
		[LAYER:MID_BRAIDED_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0: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:12]
		[LAYER:MID_BRAIDED_RED:DWARF_HAIR:2: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:DWARF_HAIR:0: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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0: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:3]
		[LAYER:MID_BRAIDED_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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:4]
		[LAYER:MID_BRAIDED_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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]

		long braid
		[LAYER:LONG_BRAIDED_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0: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]
		[LAYER:LONG_BRAIDED_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0: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:12]
		[LAYER:LONG_BRAIDED_RED:DWARF_HAIR:2: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:DWARF_HAIR:0: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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0: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:3]
		[LAYER:LONG_BRAIDED_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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:4]
		[LAYER:LONG_BRAIDED_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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]

		short 2xbraid
		[LAYER:SHORT_DOUBLE_BRAIDS_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0: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]
		[LAYER:SHORT_DOUBLE_BRAIDS_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0: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:12]
		[LAYER:SHORT_DOUBLE_BRAIDS_RED:DWARF_HAIR:2: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:DWARF_HAIR:0: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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0: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:3]
		[LAYER:SHORT_DOUBLE_BRAIDS_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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:4]
		[LAYER:SHORT_DOUBLE_BRAIDS_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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]

		mid 2xbraid
		[LAYER:MID_DOUBLE_BRAIDS_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0: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]
		[LAYER:MID_DOUBLE_BRAIDS_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0: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:12]
		[LAYER:MID_DOUBLE_BRAIDS_RED:DWARF_HAIR:2: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:DWARF_HAIR:0: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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0: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:3]
		[LAYER:MID_DOUBLE_BRAIDS_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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:4]
		[LAYER:MID_DOUBLE_BRAIDS_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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]

		long 2xbraid
		[LAYER:LONG_DOUBLE_BRAIDS_WHITE:DWARF_HAIR:2: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:DWARF_HAIR:0: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]
		[LAYER:LONG_DOUBLE_BRAIDS_BLACK:DWARF_HAIR:2: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:DWARF_HAIR:0: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:12]
		[LAYER:LONG_DOUBLE_BRAIDS_RED:DWARF_HAIR:2: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:DWARF_HAIR:0: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_BLOND:DWARF_HAIR:2: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:DWARF_HAIR:0: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:3]
		[LAYER:LONG_DOUBLE_BRAIDS_LBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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:4]
		[LAYER:LONG_DOUBLE_BRAIDS_DBROWN:DWARF_HAIR:2: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:DWARF_HAIR:0: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]

		short ponytail
		[LAYER:SHORT_PONY_TAIL_WHITE:DWARF_HAIR:LARGE_IMAGE:2:13:2:14]
			[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:DWARF_HAIR:LARGE_IMAGE:0:13:0: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]
		[LAYER:SHORT_PONY_TAIL_BLACK:DWARF_HAIR:LARGE_IMAGE:2:13:2:14]
			[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:DWARF_HAIR:LARGE_IMAGE:0:13:0: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:12]
		[LAYER:SHORT_PONY_TAIL_RED:DWARF_HAIR:LARGE_IMAGE:2:13:2:14]
			[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:DWARF_HAIR:LARGE_IMAGE:0:13:0: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:SHORT_PONY_TAIL_BLOND:DWARF_HAIR:LARGE_IMAGE:2:13:2:14]
			[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:DWARF_HAIR:LARGE_IMAGE:0:13:0: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:3]
		[LAYER:SHORT_PONY_TAIL_LBROWN:DWARF_HAIR:LARGE_IMAGE:2:13:2:14]
			[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:DWARF_HAIR:LARGE_IMAGE:0:13:0: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:4]
		[LAYER:SHORT_PONY_TAIL_DBROWN:DWARF_HAIR:LARGE_IMAGE:2:13:2:14]
			[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:DWARF_HAIR:LARGE_IMAGE:0:13:0: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]

		mid ponytail
		[LAYER:MID_PONY_TAIL_WHITE:DWARF_HAIR:LARGE_IMAGE:2:15:2:16]
			[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:DWARF_HAIR:LARGE_IMAGE:0:13:0: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]
		[LAYER:MID_PONY_TAIL_BLACK:DWARF_HAIR:LARGE_IMAGE:2:15:2:16]
			[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:DWARF_HAIR:LARGE_IMAGE:0:13:0: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:12]
		[LAYER:MID_PONY_TAIL_RED:DWARF_HAIR:LARGE_IMAGE:2:15:2:16]
			[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:DWARF_HAIR:LARGE_IMAGE:0:13:0: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_BLOND:DWARF_HAIR:LARGE_IMAGE:2:15:2:16]
			[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:DWARF_HAIR:LARGE_IMAGE:0:13:0: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:3]
		[LAYER:MID_PONY_TAIL_LBROWN:DWARF_HAIR:LARGE_IMAGE:2:15:2:16]
			[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:DWARF_HAIR:LARGE_IMAGE:0:13:0: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:4]
		[LAYER:MID_PONY_TAIL_DBROWN:DWARF_HAIR:LARGE_IMAGE:2:15:2:16]
			[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:DWARF_HAIR:LARGE_IMAGE:0:13:0: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]

		long ponytail
		[LAYER:LONG_PONY_TAIL_WHITE:DWARF_HAIR:LARGE_IMAGE:2:17:2:18]
			[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:DWARF_HAIR:LARGE_IMAGE:0:15:0:16]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_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]
		[LAYER:LONG_PONY_TAIL_BLACK:DWARF_HAIR:LARGE_IMAGE:2:17:2:18]
			[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:DWARF_HAIR:LARGE_IMAGE:0:15:0:16]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:12]
		[LAYER:LONG_PONY_TAIL_RED:DWARF_HAIR:LARGE_IMAGE:2:17:2:18]
			[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:DWARF_HAIR:LARGE_IMAGE:0:15:0:16]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_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_BLOND:DWARF_HAIR:LARGE_IMAGE:2:17:2:18]
			[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:DWARF_HAIR:LARGE_IMAGE:0:15:0:16]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:3]
		[LAYER:LONG_PONY_TAIL_LBROWN:DWARF_HAIR:LARGE_IMAGE:2:17:2:18]
			[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:DWARF_HAIR:LARGE_IMAGE:0:15:0:16]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_HELM:ITEM_HELM_VEIL_HEAD:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:HAIR:4]
		[LAYER:LONG_PONY_TAIL_DBROWN:DWARF_HAIR:LARGE_IMAGE:2:17:2:18]
			[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:DWARF_HAIR:LARGE_IMAGE:0:15:0:16]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD:ITEM_HELM_TURBAN:ITEM_HELM_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]

	head clothing

		[LAYER_GROUP]
		[LAYER:CLOTHING_EARRING:DWARF_WEARABLES:1:22]
			[CONDITION_ITEM_WORN:BY_CATEGORY:EAR:EARRING:ANY]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_CAP_ARTIFACT:DWARF_WEARABLES:3:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP_WOOD:DWARF_WEARABLES:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:NOT_ARTIFACT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP_LEATHER:DWARF_WEARABLES:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_LEATHER_MATERIAL:NOT_ARTIFACT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP_BONE:DWARF_WEARABLES:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_BONE_MATERIAL:NOT_ARTIFACT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP_SHELL:DWARF_WEARABLES:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:ANY_SHELL_MATERIAL:NOT_ARTIFACT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP_METAL:DWARF_WEARABLES:2:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_TYPE:INORGANIC]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_CAP_WHITE:DWARF_WEARABLES:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_CAP_LGRAY:DWARF_WEARABLES:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_CAP_DGRAY:DWARF_WEARABLES:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_CAP_LRED:DWARF_WEARABLES:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_CAP_BROWN:DWARF_WEARABLES:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_CAP_YELLOW:DWARF_WEARABLES:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_CAP_LGREEN:DWARF_WEARABLES:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_CAP_DGREEN:DWARF_WEARABLES:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_CAP_DCYAN:DWARF_WEARABLES:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_CAP_LBLUE:DWARF_WEARABLES:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_CAP_DBLUE:DWARF_WEARABLES:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_CAP_DEFAULT:DWARF_WEARABLES:1:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_CAP]
			[CONDITION_MATERIAL_FLAG:WOVEN_ITEM]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_SCARF_HEAD_WHITE:DWARF_WEARABLES:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_SCARF_HEAD_LGRAY:DWARF_WEARABLES:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_SCARF_HEAD_DGRAY:DWARF_WEARABLES:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_SCARF_HEAD_LRED:DWARF_WEARABLES:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_SCARF_HEAD_BROWN:DWARF_WEARABLES:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_SCARF_HEAD_YELLOW:DWARF_WEARABLES:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_SCARF_HEAD_LGREEN:DWARF_WEARABLES:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_SCARF_HEAD_DGREEN:DWARF_WEARABLES:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_SCARF_HEAD_DCYAN:DWARF_WEARABLES:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_SCARF_HEAD_LBLUE:DWARF_WEARABLES:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_SCARF_HEAD_DBLUE:DWARF_WEARABLES:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_SCARF_HEAD_DEFAULT:DWARF_WEARABLES:1:2]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_SCARF_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_VEIL_HEAD_WHITE:DWARF_WEARABLES:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_VEIL_HEAD_LGRAY:DWARF_WEARABLES:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_VEIL_HEAD_DGRAY:DWARF_WEARABLES:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_VEIL_HEAD_LRED:DWARF_WEARABLES:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_VEIL_HEAD_BROWN:DWARF_WEARABLES:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_VEIL_HEAD_YELLOW:DWARF_WEARABLES:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_VEIL_HEAD_LGREEN:DWARF_WEARABLES:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_VEIL_HEAD_DGREEN:DWARF_WEARABLES:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_VEIL_HEAD_DCYAN:DWARF_WEARABLES:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_VEIL_HEAD_LBLUE:DWARF_WEARABLES:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_VEIL_HEAD_DBLUE:DWARF_WEARABLES:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_VEIL_HEAD_DEFAULT:DWARF_WEARABLES:1:5]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_HEAD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_TURBAN_WHITE:DWARF_WEARABLES:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_TURBAN_LGRAY:DWARF_WEARABLES:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_TURBAN_DGRAY:DWARF_WEARABLES:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_TURBAN_LRED:DWARF_WEARABLES:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_TURBAN_BROWN:DWARF_WEARABLES:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_TURBAN_YELLOW:DWARF_WEARABLES:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_TURBAN_LGREEN:DWARF_WEARABLES:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_TURBAN_DGREEN:DWARF_WEARABLES:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_TURBAN_DCYAN:DWARF_WEARABLES:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_TURBAN_LBLUE:DWARF_WEARABLES:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_TURBAN_DBLUE:DWARF_WEARABLES:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_TURBAN_DEFAULT:DWARF_WEARABLES:1:4]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_TURBAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_HOOD_WHITE:DWARF_WEARABLES:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_HOOD_LGRAY:DWARF_WEARABLES:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_HOOD_DGRAY:DWARF_WEARABLES:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_HOOD_LRED:DWARF_WEARABLES:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_HOOD_BROWN:DWARF_WEARABLES:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_HOOD_YELLOW:DWARF_WEARABLES:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_HOOD_LGREEN:DWARF_WEARABLES:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_HOOD_DGREEN:DWARF_WEARABLES:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_HOOD_DCYAN:DWARF_WEARABLES:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_HOOD_LBLUE:DWARF_WEARABLES:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_HOOD_DBLUE:DWARF_WEARABLES:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_HOOD_DEFAULT:DWARF_WEARABLES:1:1]
			[CONDITION_ITEM_WORN:BY_CATEGORY:BODY_UPPER:ARMOR:ITEM_ARMOR_CLOAK]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HOOD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_HELM_ARTIFACT:DWARF_WEARABLES:3: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_WOOD:DWARF_WEARABLES:2:0]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_HELM]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_CROWN:DWARF_WEARABLES:1:23]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:CROWN:ANY]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	beard

		[LAYER_GROUP]

		stubble
		[LAYER:BEARD_STUBBLE_WHITE:DWARF_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:2]
		[LAYER:BEARD_STUBBLE_BLACK:DWARF_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:12]
		[LAYER:BEARD_STUBBLE_RED:DWARF_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:1]
		[LAYER:BEARD_STUBBLE_BLOND:DWARF_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:3]
		[LAYER:BEARD_STUBBLE_LBROWN:DWARF_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:4]
		[LAYER:BEARD_STUBBLE_DBROWN:DWARF_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:5]

		short unkempt
		[LAYER:BEARD_SHORT_UNKEMPT_WHITE:DWARF_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:2]
		[LAYER:BEARD_SHORT_UNKEMPT_BLACK:DWARF_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:12]
		[LAYER:BEARD_SHORT_UNKEMPT_RED:DWARF_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:1]
		[LAYER:BEARD_SHORT_UNKEMPT_BLOND:DWARF_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:3]
		[LAYER:BEARD_SHORT_UNKEMPT_LBROWN:DWARF_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:4]
		[LAYER:BEARD_SHORT_UNKEMPT_DBROWN:DWARF_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:5]

		mid unkempt
		[LAYER:BEARD_MID_UNKEMPT_WHITE:DWARF_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:2]
		[LAYER:BEARD_MID_UNKEMPT_BLACK:DWARF_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:12]
		[LAYER:BEARD_MID_UNKEMPT_RED:DWARF_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:1]
		[LAYER:BEARD_MID_UNKEMPT_BLOND:DWARF_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:3]
		[LAYER:BEARD_MID_UNKEMPT_LBROWN:DWARF_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:4]
		[LAYER:BEARD_MID_UNKEMPT_DBROWN:DWARF_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:5]

		long unkempt
		[LAYER:BEARD_LONG_UNKEMPT_WHITE:DWARF_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:2]
		[LAYER:BEARD_LONG_UNKEMPT_BLACK:DWARF_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:12]
		[LAYER:BEARD_LONG_UNKEMPT_RED:DWARF_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:1]
		[LAYER:BEARD_LONG_UNKEMPT_BLOND:DWARF_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:3]
		[LAYER:BEARD_LONG_UNKEMPT_LBROWN:DWARF_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:4]
		[LAYER:BEARD_LONG_UNKEMPT_DBROWN:DWARF_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:5]

		short combed
		[LAYER:BEARD_SHORT_COMBED_WHITE:DWARF_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]
			[USE_PALETTE:HAIR:2]
		[LAYER:BEARD_SHORT_COMBED_BLACK:DWARF_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]
			[USE_PALETTE:HAIR:12]
		[LAYER:BEARD_SHORT_COMBED_RED:DWARF_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]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_SHORT_COMBED_BLOND:DWARF_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]
			[USE_PALETTE:HAIR:3]
		[LAYER:BEARD_SHORT_COMBED_LBROWN:DWARF_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]
			[USE_PALETTE:HAIR:4]
		[LAYER:BEARD_SHORT_COMBED_DBROWN:DWARF_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]
			[USE_PALETTE:HAIR:5]

		mid combed
		[LAYER:BEARD_MID_COMBED_WHITE:DWARF_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]
			[USE_PALETTE:HAIR:2]
		[LAYER:BEARD_MID_COMBED_BLACK:DWARF_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]
			[USE_PALETTE:HAIR:12]
		[LAYER:BEARD_MID_COMBED_RED:DWARF_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]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_MID_COMBED_BLOND:DWARF_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]
			[USE_PALETTE:HAIR:3]
		[LAYER:BEARD_MID_COMBED_LBROWN:DWARF_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]
			[USE_PALETTE:HAIR:4]
		[LAYER:BEARD_MID_COMBED_DBROWN:DWARF_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]
			[USE_PALETTE:HAIR:5]

		long combed
		[LAYER:BEARD_LONG_COMBED_WHITE:DWARF_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]
			[USE_PALETTE:HAIR:2]
		[LAYER:BEARD_LONG_COMBED_BLACK:DWARF_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]
			[USE_PALETTE:HAIR:12]
		[LAYER:BEARD_LONG_COMBED_RED:DWARF_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]
			[USE_PALETTE:HAIR:1]
		[LAYER:BEARD_LONG_COMBED_BLOND:DWARF_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]
			[USE_PALETTE:HAIR:3]
		[LAYER:BEARD_LONG_COMBED_LBROWN:DWARF_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]
			[USE_PALETTE:HAIR:4]
		[LAYER:BEARD_LONG_COMBED_DBROWN:DWARF_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]
			[USE_PALETTE:HAIR:5]

		short braid
		[LAYER:BEARD_SHORT_BRAIDED_WHITE:DWARF_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:2]
		[LAYER:BEARD_SHORT_BRAIDED_BLACK:DWARF_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:12]
		[LAYER:BEARD_SHORT_BRAIDED_RED:DWARF_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:1]
		[LAYER:BEARD_SHORT_BRAIDED_BLOND:DWARF_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:3]
		[LAYER:BEARD_SHORT_BRAIDED_LBROWN:DWARF_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:4]
		[LAYER:BEARD_SHORT_BRAIDED_DBROWN:DWARF_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:5]

		mid braid
		[LAYER:BEARD_MID_BRAIDED_WHITE:DWARF_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:2]
		[LAYER:BEARD_MID_BRAIDED_BLACK:DWARF_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:12]
		[LAYER:BEARD_MID_BRAIDED_RED:DWARF_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:1]
		[LAYER:BEARD_MID_BRAIDED_BLOND:DWARF_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:3]
		[LAYER:BEARD_MID_BRAIDED_LBROWN:DWARF_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:4]
		[LAYER:BEARD_MID_BRAIDED_DBROWN:DWARF_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:5]

		long braid
		[LAYER:BEARD_LONG_BRAIDED_WHITE:DWARF_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:2]
		[LAYER:BEARD_LONG_BRAIDED_BLACK:DWARF_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:12]
		[LAYER:BEARD_LONG_BRAIDED_RED:DWARF_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:1]
		[LAYER:BEARD_LONG_BRAIDED_BLOND:DWARF_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:3]
		[LAYER:BEARD_LONG_BRAIDED_LBROWN:DWARF_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:4]
		[LAYER:BEARD_LONG_BRAIDED_DBROWN:DWARF_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:5]

		short 2xbraid
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_WHITE:DWARF_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:2]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_BLACK:DWARF_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:12]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_RED:DWARF_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:1]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_BLOND:DWARF_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:3]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_LBROWN:DWARF_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:4]
		[LAYER:BEARD_SHORT_DOUBLE_BRAIDS_DBROWN:DWARF_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:5]

		mid 2xbraid
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_WHITE:DWARF_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:2]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_BLACK:DWARF_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:12]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_RED:DWARF_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:1]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_BLOND:DWARF_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:3]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_LBROWN:DWARF_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:4]
		[LAYER:BEARD_MID_DOUBLE_BRAIDS_DBROWN:DWARF_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:5]

		long 2xbraid
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_WHITE:DWARF_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:2]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_BLACK:DWARF_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:12]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_RED:DWARF_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:1]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_BLOND:DWARF_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:3]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_LBROWN:DWARF_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:4]
		[LAYER:BEARD_LONG_DOUBLE_BRAIDS_DBROWN:DWARF_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:5]

	top head - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_MASK_WHITE:DWARF_WEARABLES:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_MASK_LGRAY:DWARF_WEARABLES:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_MASK_DGRAY:DWARF_WEARABLES:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_MASK_LRED:DWARF_WEARABLES:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_MASK_BROWN:DWARF_WEARABLES:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_MASK_YELLOW:DWARF_WEARABLES:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_MASK_LGREEN:DWARF_WEARABLES:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_MASK_DGREEN:DWARF_WEARABLES:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_MASK_DCYAN:DWARF_WEARABLES:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_MASK_LBLUE:DWARF_WEARABLES:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_MASK_DBLUE:DWARF_WEARABLES:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_MASK_DEFAULT:DWARF_WEARABLES:1:6]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_MASK]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_VEIL_FACE_WHITE:DWARF_WEARABLES:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_VEIL_FACE_LGRAY:DWARF_WEARABLES:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_VEIL_FACE_DGRAY:DWARF_WEARABLES:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_VEIL_FACE_LRED:DWARF_WEARABLES:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_VEIL_FACE_BROWN:DWARF_WEARABLES:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_VEIL_FACE_YELLOW:DWARF_WEARABLES:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_VEIL_FACE_LGREEN:DWARF_WEARABLES:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_VEIL_FACE_DGREEN:DWARF_WEARABLES:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_VEIL_FACE_DCYAN:DWARF_WEARABLES:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_VEIL_FACE_LBLUE:DWARF_WEARABLES:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_VEIL_FACE_DBLUE:DWARF_WEARABLES:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_VEIL_FACE_DEFAULT:DWARF_WEARABLES:1:3]
			[CONDITION_ITEM_WORN:BY_CATEGORY:HEAD:HELM:ITEM_HELM_VEIL_FACE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	left hand

		[LAYER_GROUP]
		[LAYER:Z_LEFT_HAND_F:DWARF_BODY:6:2]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:6]
		[LAYER:Z_LEFT_HAND_M:DWARF_BODY:6:1]
			[CONDITION_SYN_CLASS:ZOMBIE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:6]
		[LAYER:N_LEFT_HAND_F:DWARF_BODY:6:2]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:7]
		[LAYER:N_LEFT_HAND_M:DWARF_BODY:6:1]
			[CONDITION_SYN_CLASS:NECROMANCER]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:7]
		[LAYER:V_LEFT_HAND_F:DWARF_BODY:6:2]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:8]
		[LAYER:V_LEFT_HAND_M:DWARF_BODY:6:1]
			[CONDITION_SYN_CLASS:VAMPCURSE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:8]
		[LAYER:U_LEFT_HAND_F:DWARF_BODY:6:2]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:9]
		[LAYER:U_LEFT_HAND_M:DWARF_BODY:6:1]
			[CONDITION_SYN_CLASS:RAISED_UNDEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:9]
		[LAYER:G_LEFT_HAND_F:DWARF_BODY:6:2]
			[CONDITION_GHOST]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:10]
		[LAYER:G_LEFT_HAND_M:DWARF_BODY:6:1]
			[CONDITION_GHOST]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:10]
		[LAYER:M_LEFT_HAND_F:DWARF_BODY:6:2]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:11]
		[LAYER:M_LEFT_HAND_M:DWARF_BODY:6:1]
			[CONDITION_SYN_CLASS:DISTURBED_DEAD]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:11]
		[LAYER:GL_LEFT_HAND_F:DWARF_BODY:6:2]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:12]
		[LAYER:GL_LEFT_HAND_M:DWARF_BODY:6:1]
			[CONDITION_SYN_CLASS:GHOUL]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:12]
		[LAYER:DARK_LEFT_HAND:DWARF_BODY:6:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_HAND:DWARF_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_CASTE:FEMALE]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_HAND:DWARF_BODY:6:2]
			[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_LEFT_HAND:DWARF_BODY:6:2]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:FEMALE]
			[USE_PALETTE:BODY:1]
		[LAYER:DARK_LEFT_HAND:DWARF_BODY:6:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:BURNT_UMBER:DARK_BROWN]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:4]
		[LAYER:DMID_LEFT_HAND:DWARF_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_CASTE:MALE]
			[USE_PALETTE:BODY:3]
		[LAYER:LMID_LEFT_HAND:DWARF_BODY:6:1]
			[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_LEFT_HAND:DWARF_BODY:6:1]
			[CONDITION_TISSUE_LAYER:BY_CATEGORY:ALL:SKIN]
				[TISSUE_MAY_HAVE_COLOR:PALE_PINK:PINK:TAUPE_PALE]
			[CONDITION_CASTE:MALE]
			[USE_PALETTE:BODY:1]

		left hand - clothes

		[LAYER_GROUP]
		[LAYER:CLOTHING_LH_WHITE:DWARF_WEARABLES:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:STONEWORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:97]
		[LAYER:CLOTHING_LH_LGRAY:DWARF_WEARABLES:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:MINER:MERCHANT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:99]
		[LAYER:CLOTHING_LH_DGRAY:DWARF_WEARABLES:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:METALSMITH]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:20]
		[LAYER:CLOTHING_LH_LRED:DWARF_WEARABLES:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:ENGINEER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:94]
		[LAYER:CLOTHING_LH_BROWN:DWARF_WEARABLES:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:FARMER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:32]
		[LAYER:CLOTHING_LH_YELLOW:DWARF_WEARABLES:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:WOODWORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:48]
		[LAYER:CLOTHING_LH_LGREEN:DWARF_WEARABLES:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:JEWELER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:43]
		[LAYER:CLOTHING_LH_DGREEN:DWARF_WEARABLES:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:RANGER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:51]
		[LAYER:CLOTHING_LH_DCYAN:DWARF_WEARABLES:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:STANDARD]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:109]
		[LAYER:CLOTHING_LH_LBLUE:DWARF_WEARABLES:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:CRAFTSMAN]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:30]
		[LAYER:CLOTHING_LH_DBLUE:DWARF_WEARABLES:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[CONDITION_PROFESSION_CATEGORY:FISHERY_WORKER]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_PALETTE:CLOTHES:34]
		[LAYER:CLOTHING_LH_DEFAULT:DWARF_WEARABLES:1:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:GLOVES:ITEM_GLOVES_GAUNTLETS:ITEM_GLOVES_GLOVES:ITEM_GLOVES_MITTENS]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_RH_GAUNTLET_ARTIFACT:DWARF_WEARABLES:3:17]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS]
			[CONDITION_MATERIAL_FLAG:IS_CRAFTED_ARTIFACT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_RH_GAUNTLET_STANDARD:DWARF_WEARABLES:2:17]
			[CONDITION_ITEM_WORN:BY_TOKEN:RH:GLOVES:ITEM_GLOVES_GAUNTLETS]
			[CONDITION_MATERIAL_FLAG:NOT_ARTIFACT]
			[SHUT_OFF_IF_ITEM_PRESENT:BY_TOKEN:LH:WEAPON:ANY]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER_GROUP]
		[LAYER:CLOTHING_LH_HALBERD_GROWN:WIELDABLES:LARGE_IMAGE:8:0:9:1]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_HALBERD]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LH_HALBERD:WIELDABLES:LARGE_IMAGE:6:0:7:1]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_HALBERD]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_PIKE_GROWN:WIELDABLES:LARGE_IMAGE:8:2:9:3]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_PIKE]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LH_PIKE:WIELDABLES:LARGE_IMAGE:6:2:7:3]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_PIKE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SPEAR_GROWN:WIELDABLES:LARGE_IMAGE:8:4:9:5]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SPEAR]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SPEAR:WIELDABLES:LARGE_IMAGE:6:4:7:5]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SPEAR]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_AXE_GREAT_GROWN:WIELDABLES:LARGE_IMAGE:8:6:9:6]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_AXE_GREAT]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_AXE_GREAT:WIELDABLES:LARGE_IMAGE:6:6:7:6]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_AXE_GREAT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_AXE_BATTLE_GROWN:WIELDABLES:LARGE_IMAGE:8:7:9:7]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_AXE_BATTLE]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_AXE_BATTLE:WIELDABLES:LARGE_IMAGE:6:7:7:7]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_AXE_BATTLE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SCIMITAR_GROWN:WIELDABLES:LARGE_IMAGE:8:8:9:8]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SCIMITAR]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SCIMITAR:WIELDABLES:LARGE_IMAGE:6:8:7:8]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SCIMITAR]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SWORD_2H_GROWN:WIELDABLES:LARGE_IMAGE:8:9:9:9]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SWORD_2H]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SWORD_2H:WIELDABLES:LARGE_IMAGE:6:9:7:9]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SWORD_2H]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SWORD_LONG_GROWN:WIELDABLES:LARGE_IMAGE:8:10:9:10]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SWORD_LONG]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SWORD_LONG:WIELDABLES:LARGE_IMAGE:6:10:7:10]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SWORD_LONG]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SWORD_SHORT_GROWN:WIELDABLES:LARGE_IMAGE:8:11:9:11]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SWORD_SHORT]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SWORD_SHORT:WIELDABLES:LARGE_IMAGE:6:11:7:11]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SWORD_SHORT]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_DAGGER_LARGE_GROWN:WIELDABLES:LARGE_IMAGE:8:12:9:12]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_DAGGER_LARGE]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_DAGGER_LARGE:WIELDABLES:LARGE_IMAGE:6:12:7:12]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_DAGGER_LARGE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_PICK_GROWN:WIELDABLES:LARGE_IMAGE:8:13:9:13]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_PICK]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_PICK:WIELDABLES:LARGE_IMAGE:6:13:7:13]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_PICK]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_HAMMER_WAR_GROWN:WIELDABLES:LARGE_IMAGE:8:14:9:14]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_HAMMER_WAR]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_HAMMER_WAR:WIELDABLES:LARGE_IMAGE:6:14:7:14]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_HAMMER_WAR]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_MAUL_GROWN:WIELDABLES:LARGE_IMAGE:8:15:9:15]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_MAUL]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_MAUL:WIELDABLES:LARGE_IMAGE:6:15:7:15]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_MAUL]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_FLAIL_GROWN:WIELDABLES:LARGE_IMAGE:8:16:9:16]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_FLAIL]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_FLAIL:WIELDABLES:LARGE_IMAGE:6:16:7:16]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_FLAIL]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_MORNINGSTAR_GROWN:WIELDABLES:LARGE_IMAGE:8:17:9:17]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_MORNINGSTAR]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_MORNINGSTAR:WIELDABLES:LARGE_IMAGE:6:17:7:17]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_MORNINGSTAR]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_MACE_GROWN:WIELDABLES:LARGE_IMAGE:8:18:9:18]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_MACE]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_MACE:WIELDABLES:LARGE_IMAGE:6:18:7:18]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_MACE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_WHIP_GROWN:WIELDABLES:LARGE_IMAGE:8:19:9:19]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_WHIP]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_WHIP:WIELDABLES:LARGE_IMAGE:6:19:7:19]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_WHIP]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SCOURGE_GROWN:WIELDABLES:LARGE_IMAGE:8:20:9:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SCOURGE]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SCOURGE:WIELDABLES:LARGE_IMAGE:6:20:7:20]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SCOURGE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_CROSSBOW_GROWN:WIELDABLES:LARGE_IMAGE:8:21:9:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_CROSSBOW]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_CROSSBOW:WIELDABLES:LARGE_IMAGE:6:21:7:21]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_CROSSBOW]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_BOW_GROWN:WIELDABLES:LARGE_IMAGE:8:22:9:22]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_BOW]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_BOW:WIELDABLES:LARGE_IMAGE:6:22:7:22]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_BOW]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_BLOWGUN_GROWN:WIELDABLES:LARGE_IMAGE:8:23:9:23]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_BLOWGUN]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_BLOWGUN:WIELDABLES:LARGE_IMAGE:6:23:7:23]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_BLOWGUN]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SWORD_SHORT_TRAINING:WIELDABLES:LARGE_IMAGE:10:7:11:7]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SWORD_SHORT_TRAINING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SPEAR_TRAINING:WIELDABLES:LARGE_IMAGE:10:4:11:5]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SPEAR_TRAINING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_AXE_TRAINING:WIELDABLES:LARGE_IMAGE:10:6:11:6]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_AXE_TRAINING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SWORD_STONE:WIELDABLES:LARGE_IMAGE:10:8:11:8]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:WEAPON:ITEM_WEAPON_SWORD_SHORT]
			[CONDITION_MATERIAL_FLAG:ANY_STONE_MATERIAL]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_KNIFE:WIELDABLES:LARGE_IMAGE:10:9:11:9]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:TOOL:ITEM_TOOL_KNIFE_CARVING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_CLEAVER:WIELDABLES:LARGE_IMAGE:10:10:11:10]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:TOOL:ITEM_TOOL_KNIFE_BONING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_CLEAVER:WIELDABLES:LARGE_IMAGE:10:11:11:11]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:TOOL:ITEM_TOOL_KNIFE_SLICING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_CLEAVER:WIELDABLES:LARGE_IMAGE:10:12:11:12]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:TOOL:ITEM_TOOL_KNIFE_MEAT_CLEAVER]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_FORK:WIELDABLES:LARGE_IMAGE:10:13:11:13]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:TOOL:ITEM_TOOL_FORK_CARVING]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_STONE_AXE:WIELDABLES:LARGE_IMAGE:10:15:11:15]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:TOOL:ITEM_TOOL_LADLE]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_STONE_AXE:WIELDABLES:LARGE_IMAGE:10:14:11:14]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:TOOL:ITEM_TOOL_LADLE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_STONE_AXE:WIELDABLES:LARGE_IMAGE:10:16:11:16]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:TOOL:ITEM_TOOL_HELVE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_STONE_AXE:WIELDABLES:LARGE_IMAGE:10:17:11:17]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:TOOL:ITEM_TOOL_STONE_AXE]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_SHIELD_GROWN:WIELDABLES:9:24]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:SHIELD:ITEM_SHIELD_SHIELD]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LH_SHIELD_WOOD:WIELDABLES:11:24]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:SHIELD:ITEM_SHIELD_SHIELD]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LH_SHIELD_STANDARD:WIELDABLES:7:24]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:SHIELD:ITEM_SHIELD_SHIELD]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:CLOTHING_LH_BUCKLER_GROWN:WIELDABLES:9:25]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:SHIELD:ITEM_SHIELD_BUCKLER]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL:GROWN_NOT_CRAFTED]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LH_BUCKLER_WOOD:WIELDABLES:11:25]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:SHIELD:ITEM_SHIELD_BUCKLER]
			[CONDITION_MATERIAL_FLAG:ANY_WOOD_MATERIAL]
			[USE_STANDARD_PALETTE_FROM_ITEM]
		[LAYER:CLOTHING_LH_BUCKLER_STANDARD:WIELDABLES:7:25]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:SHIELD:ITEM_SHIELD_BUCKLER]
			[USE_STANDARD_PALETTE_FROM_ITEM]

		[LAYER:LH_CRUTCH:WIELDABLES:11:1]
			[CONDITION_ITEM_WORN:BY_TOKEN:LH:CRUTCH:ANY]
			[USE_STANDARD_PALETTE_FROM_ITEM]

	wound

		*** gut wound

