<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://qconsulting.ca/fo3/ModConfig5.0.xsd">
  <moduleName>Blades Hakama SE</moduleName>
  <moduleImage path="fomod\images\BHSbanner1.jpg"/>
  <installSteps order="Explicit">
	<installStep name="Main">
	  <optionalFileGroups order="Explicit">
	    <group name="Blades Hakama Core Data" type="SelectExactlyOne">
          <plugins order="Explicit">
			<plugin name="Core Data">
				<description>
                  These required data files will be installed: Blades Hakama SE.esp, Blades Hakama SE.bsa, and readme in the readmes folder.
Original meshes and textures by atomec, creator of Blades Hakama, have been optimized for Skyrim Special Edition (SE) and expanded with colors and new features.&#xD;
				</description>
				<image path="fomod\images\BHSMain.jpg"/>
				<files>
					<folder source="Data" destination="" priority="1"/>
				</files>
				<typeDescriptor>
					<type name="Required"/>
				</typeDescriptor>	
			</plugin>
		  </plugins>
	   </group>
	  </optionalFileGroups>
	</installStep>
    <installStep name="Character Body Shape">
      <optionalFileGroups order="Explicit">
	  <group name="Female Body Physics" type="SelectExactlyOne">
          <plugins order="Explicit">
			<plugin name="Static / None">
              <description>
                No body physics.
              </description>		  
              <conditionFlags>
					<flag name="StaticBody">On</flag>
					<flag name="BBPBody">Off</flag>
			  </conditionFlags>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
			<plugin name="BBP">
              <description>
                Requires XPMSSE (1988) and a (T)BPP animation. Supports animated body physics from animations (like walking) with (T)BPP.
              </description>		  
              <conditionFlags>
					<flag name="StaticBody">Off</flag>
					<flag name="BBPBody">On</flag>
			  </conditionFlags>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
		  </plugins>
		</group>
        <group name="Female Body Shape" type="SelectExactlyOne">
          <plugins order="Explicit">
			<plugin name="Default">
              <description>
                No custom body. Choose this for best hakama fit on the default female body. This will install UNP outfit option, good for UNP body and original body.
              </description>
			  <image path="fomod\images\skyrimBHUNPdef.jpg"/>		  
              <conditionFlags>
					<flag name="UNPBody">On</flag>
					<flag name="UNPSkinnyBody">Off</flag>
					<flag name="UNPBBody">Off</flag>
					<flag name="CBBEBody">Off</flag>
					<flag name="CBBESlimBody">Off</flag>
			  </conditionFlags>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
			<plugin name="CBBE Slim">
              <description>
                Hakama sized for CBBE Slim from Caliente's Beautiful Bodies Enhancer -CBBE- (198). 
              </description>
			  <image path="fomod\images\skyrimBHCBBES.jpg"/>		  
              <conditionFlags>
					<flag name="UNPBody">Off</flag>
					<flag name="UNPSkinnyBody">Off</flag>
					<flag name="UNPBBody">Off</flag>
					<flag name="CBBEBody">Off</flag>
					<flag name="CBBESlimBody">On</flag>
			  </conditionFlags>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
			<plugin name="CBBE Curvy">
              <description>
                Hakama sized for CBBE (Curvy) from Caliente's Beautiful Bodies Enhancer -CBBE- (198).
              </description>
			  <image path="fomod\images\skyrimBHCBBEC.jpg"/>		  
              <conditionFlags>
					<flag name="UNPBody">Off</flag>
					<flag name="UNPSkinnyBody">Off</flag>
					<flag name="UNPBBody">Off</flag>
					<flag name="CBBEBody">On</flag>
					<flag name="CBBESlimBody">Off</flag>
			  </conditionFlags>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
			<plugin name="UNP">
              <description>
                Hakama sized for UNP.
              </description>
			  <image path="fomod\images\skyrimBHUNPP.jpg"/>		  
              <conditionFlags>
					<flag name="UNPBody">On</flag>
					<flag name="UNPSkinnyBody">Off</flag>
					<flag name="UNPBBody">Off</flag>
					<flag name="CBBEBody">Off</flag>
					<flag name="CBBESlimBody">Off</flag>
			  </conditionFlags>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
			<plugin name="UNP Skinny">
              <description>
                Hakama sized for UNP skinny/slender/slim.
              </description>
			  <image path="fomod\images\skyrimBHUNPSk.jpg"/>		 
              <conditionFlags>
					<flag name="UNPBody">Off</flag>
					<flag name="UNPSkinnyBody">On</flag>
					<flag name="UNPBBody">Off</flag>
					<flag name="CBBEBody">Off</flag>
					<flag name="CBBESlimBody">Off</flag>
			  </conditionFlags>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
			<plugin name="UNPB">
              <description>
                Hakama sized for UNPB (Blessed).
              </description>
			  <image path="fomod\images\skyrimBHUNPB.jpg"/>		 
              <conditionFlags>
					<flag name="UNPBody">Off</flag>
					<flag name="UNPSkinnyBody">Off</flag>
					<flag name="UNPBBody">On</flag>
					<flag name="CBBEBody">Off</flag>
					<flag name="CBBESlimBody">Off</flag>
			  </conditionFlags>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
		</plugins>
      </group>
	 </optionalFileGroups>
    </installStep>
	    <installStep name="Follower Body Shape">
      <optionalFileGroups order="Explicit">
	    <group name="Description" type="SelectExactlyOne">
					<plugins order="Explicit">			
						<plugin name="About">
							<description>
								If you have customized followers using a different body shape than your character, or you would like to craft cloth (no armor) hakama for your mage follower then you may select one of the follower body shapes below. Bijin NPC replacers are covered here as well.&#xD; &#xD; Craftable follower item is denoted by (F) at the end of its name. 
								.&#xD;&#xD; Please note for your armor-wearing followers that yoroi (armor) hakama considered training gear is of below average in light armor rating. Exceptional smithing may be required before your follower of choice may wear the yoroi hakama. Some mage followers will wear a cloth-only hakama if gold value is high enough. Consider enchanting Fortify Magicka with high skill. Alternatively, use a follower overhaul.
							</description>
							<files>
								<folder source="00Core" destination=""/>
							</files>
							<typeDescriptor>
								<type name="Required"/>
							</typeDescriptor>				
						</plugin>
					</plugins>
		</group>
        <group name="Female Follower Body Shape" type="SelectAtMostOne">
          <plugins order="Explicit">
			
			<plugin name="Bijin CBBE">
              <description>
                Hakama sized for CBBE option of Bijin Warmaidens (1825) by rxkx22. Select this if you want to craft hakama and hat for your female follower with Bijin CBBE body shape. Note: this body shape is not the same as CBBE Curvy.
              </description>
			  <image path="fomod\images\skyrimBijinWarCBBE.jpg"/>		  
				<files>
					<folder source="Alt-Body Bijin CBBE" destination="" priority="3" />
					<folder source="Option-CraftFol" destination="" priority="3" />
				</files>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
			<plugin name="CBBE Follower">
              <description>
                Hakama sized for CBBE (Curvy) (198). Select this only if your follower uses CBBE for Skyrim SE.
              </description>
			  <image path="fomod\images\skyrimBHCBBEC.jpg"/>		  
              <files>
					<folder source="Alt-Body CBBE-Curvy" destination="" priority="3" />
					<folder source="Option-CraftFol" destination="" priority="3" />
				</files>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
			<plugin name="UNP Follower">
              <description>
                Follower hakama sized for UNP. This fits closely with default body shape and many UNP followers.
              </description>
			  <image path="fomod\images\skyrimBHUNPP.jpg"/>		  
              <files>
					<folder source="Alt-Body UNP-Pinup" destination="" priority="3" />
					<folder source="Option-CraftFol" destination="" priority="3" />
				</files>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
			<plugin name="UNPB Follower">
              <description>
                Hakama sized for UNP Blessed follower.
              </description>
			  <image path="fomod\images\skyrimBHUNPB.jpg"/>		 
              <files>
					<folder source="Alt-Body UNPB" destination="" priority="3" />
					<folder source="Option-CraftFol" destination="" priority="3" />
				</files>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
		</plugins>
      </group>
	 </optionalFileGroups>
    </installStep>
  </installSteps>
  <conditionalFileInstalls>
	<patterns>
		<pattern>
			<dependencies operator="And">
				<flagDependency flag="StaticBody" value="Off"/>
				<flagDependency flag="BBPBody" value="Off"/>
				<flagDependency flag="UNPBody" value="Off"/>
				<flagDependency flag="UNPSkinnyBody" value="Off"/>
				<flagDependency flag="UNPBBody" value="Off"/>
				<flagDependency flag="CBBEBody" value="Off"/>
				<flagDependency flag="CBBESlimBody" value="Off"/>
			</dependencies>
			<files>
				<folder source="Body UNP-Pinup" destination="" priority="2" />
			</files>
		</pattern>
		<pattern>
			<dependencies operator="And">
				<flagDependency flag="StaticBody" value="On"/>
				<flagDependency flag="BBPBody" value="Off"/>
				<flagDependency flag="UNPBody" value="Off"/>
				<flagDependency flag="UNPSkinnyBody" value="Off"/>
				<flagDependency flag="UNPBBody" value="Off"/>
				<flagDependency flag="CBBEBody" value="Off"/>
				<flagDependency flag="CBBESlimBody" value="Off"/>
			</dependencies>
			<files>
				<folder source="Body UNP-Pinup" destination="" priority="2" />
			</files>
		</pattern>
		<pattern>
			<dependencies operator="And">
				<flagDependency flag="StaticBody" value="On"/>
				<flagDependency flag="BBPBody" value="Off"/>
				<flagDependency flag="UNPBody" value="On"/>
				<flagDependency flag="UNPSkinnyBody" value="Off"/>
				<flagDependency flag="UNPBBody" value="Off"/>
				<flagDependency flag="CBBEBody" value="Off"/>
				<flagDependency flag="CBBESlimBody" value="Off"/>
			</dependencies>
			<files>
				<folder source="Body UNP-Pinup" destination="" priority="2" />
			</files>
		</pattern>
		<pattern>
			<dependencies operator="And">
				<flagDependency flag="StaticBody" value="On"/>
				<flagDependency flag="BBPBody" value="Off"/>
				<flagDependency flag="UNPBody" value="Off"/>
				<flagDependency flag="UNPSkinnyBody" value="On"/>
				<flagDependency flag="UNPBBody" value="Off"/>
				<flagDependency flag="CBBEBody" value="Off"/>
				<flagDependency flag="CBBESlimBody" value="Off"/>
			</dependencies>
			<files>
				<folder source="Body UNP-Skinny" destination="" priority="2" />
			</files>
		</pattern>
		<pattern>
			<dependencies operator="And">
				<flagDependency flag="StaticBody" value="On"/>
				<flagDependency flag="BBPBody" value="Off"/>
				<flagDependency flag="UNPBody" value="Off"/>
				<flagDependency flag="UNPSkinnyBody" value="Off"/>
				<flagDependency flag="UNPBBody" value="On"/>
				<flagDependency flag="CBBEBody" value="Off"/>
				<flagDependency flag="CBBESlimBody" value="Off"/>
			</dependencies>
			<files>
				<folder source="Body UNPB" destination="" priority="2" />
			</files>
		</pattern>
		<pattern>
			<dependencies operator="And">
				<flagDependency flag="StaticBody" value="On"/>
				<flagDependency flag="BBPBody" value="Off"/>
				<flagDependency flag="UNPBody" value="Off"/>
				<flagDependency flag="UNPSkinnyBody" value="Off"/>
				<flagDependency flag="UNPBBody" value="Off"/>
				<flagDependency flag="CBBEBody" value="On"/>
				<flagDependency flag="CBBESlimBody" value="Off"/>
			</dependencies>
			<files>
				<folder source="Body CBBE-SE-Curvy" destination="" priority="2" />
			</files>
		</pattern>
		<pattern>
			<dependencies operator="And">
				<flagDependency flag="StaticBody" value="On"/>
				<flagDependency flag="BBPBody" value="Off"/>
				<flagDependency flag="UNPBody" value="Off"/>
				<flagDependency flag="UNPSkinnyBody" value="Off"/>
				<flagDependency flag="UNPBBody" value="Off"/>
				<flagDependency flag="CBBEBody" value="Off"/>
				<flagDependency flag="CBBESlimBody" value="On"/>
			</dependencies>
			<files>
				<folder source="Body CBBE-SE-Slim" destination="" priority="2" />
			</files>
		</pattern>
		<pattern>
			<dependencies operator="And">
				<flagDependency flag="StaticBody" value="Off"/>
				<flagDependency flag="BBPBody" value="On"/>
				<flagDependency flag="UNPBody" value="On"/>
				<flagDependency flag="UNPSkinnyBody" value="Off"/>
				<flagDependency flag="UNPBBody" value="Off"/>
				<flagDependency flag="CBBEBody" value="Off"/>
				<flagDependency flag="CBBESlimBody" value="Off"/>
			</dependencies>
			<files>
				<folder source="Body UNP-Pinup-BBP" destination="" priority="2" />
			</files>
		</pattern>
		<pattern>
			<dependencies operator="And">
				<flagDependency flag="StaticBody" value="Off"/>
				<flagDependency flag="BBPBody" value="On"/>
				<flagDependency flag="UNPBody" value="Off"/>
				<flagDependency flag="UNPSkinnyBody" value="On"/>
				<flagDependency flag="UNPBBody" value="Off"/>
				<flagDependency flag="CBBEBody" value="Off"/>
				<flagDependency flag="CBBESlimBody" value="Off"/>
			</dependencies>
			<files>
				<folder source="Body UNP-Skinny-BBP" destination="" priority="2" />
			</files>
		</pattern>
		<pattern>
			<dependencies operator="And">
				<flagDependency flag="StaticBody" value="Off"/>
				<flagDependency flag="BBPBody" value="On"/>
				<flagDependency flag="UNPBody" value="Off"/>
				<flagDependency flag="UNPSkinnyBody" value="Off"/>
				<flagDependency flag="UNPBBody" value="On"/>
				<flagDependency flag="CBBEBody" value="Off"/>
				<flagDependency flag="CBBESlimBody" value="Off"/>
			</dependencies>
			<files>
				<folder source="Body UNPB-BBP" destination="" priority="2" />
			</files>
		</pattern>
		<pattern>
			<dependencies operator="And">
				<flagDependency flag="StaticBody" value="Off"/>
				<flagDependency flag="BBPBody" value="On"/>
				<flagDependency flag="UNPBody" value="Off"/>
				<flagDependency flag="UNPSkinnyBody" value="Off"/>
				<flagDependency flag="UNPBBody" value="Off"/>
				<flagDependency flag="CBBEBody" value="On"/>
				<flagDependency flag="CBBESlimBody" value="Off"/>
			</dependencies>
			<files>
				<folder source="Body CBBE-SE-BBP" destination="" priority="2" />
			</files>
		</pattern>
		<pattern>
			<dependencies operator="And">
				<flagDependency flag="StaticBody" value="Off"/>
				<flagDependency flag="BBPBody" value="On"/>
				<flagDependency flag="UNPBody" value="Off"/>
				<flagDependency flag="UNPSkinnyBody" value="Off"/>
				<flagDependency flag="UNPBBody" value="Off"/>
				<flagDependency flag="CBBEBody" value="Off"/>
				<flagDependency flag="CBBESlimBody" value="On"/>
			</dependencies>
			<files>
				<folder source="Body CBBE-SE-Slim-BBP" destination="" priority="2" />
			</files>
		</pattern>
	</patterns>
  </conditionalFileInstalls>
</config>
