<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://qconsulting.ca/fo3/ModConfig5.0.xsd">
  <moduleName position="Left" colour="000000">RS Children Overhaul - HPL Version</moduleName>
  <installSteps order="Explicit">
    <installStep name="1. Required (Core)">
      <!--<designer.metadata.do.not.edit> {"name":"1. Required (Core)"}-->
      <optionalFileGroups order="Explicit">
        <group name="RS Children Overhaul - HPL" type="SelectExactlyOne">
          <plugins order="Explicit">
            <plugin name="RS Children">
              <!--<designer.metadata.do.not.edit> {"name":"RS Children"}-->
              <description>Updated in SSE Version 1.1.0:&#13;
---------- Requires: ----------

Highpoly Lolitta Reborn 3.05:
https://allthefallen.moe/forum/index.php?threads/highpoly-lolitta-reborn-3-05-update-august-09-2020.10211/

Highpoly Lolitta reborn SSE children replacer 1.10:
https://allthefallen.moe/forum/index.php?resources/highpoly-lolitta-reborn-sse-children-replacer-1-10.1498/

</description>
              <image path="fomod\images\RSC_HPL.jpg"/>
              <files>
                <folder source="00 - Core" destination="" priority="0" alwaysInstall="true" installIfUsable="false"/>
              </files>
              <conditionFlags>
                <flag name="agreed">0<!--<designer.metadata.do.not.edit> {"name":"agreed"}--></flag>
                <flag name="USSEPselected">0<!--<designer.metadata.do.not.edit> {"name":"USSEPselected"}--></flag>
                <flag name="playableselected">0<!--<designer.metadata.do.not.edit> {"name":"playableselected"}--></flag>
              </conditionFlags>
              <typeDescriptor>
                <type name="Required"/>
              </typeDescriptor>
            </plugin>
          </plugins>
          <!--<designer.metadata.do.not.edit> {"name":"RS Children Overhaul - HPL"}-->
        </group>
      </optionalFileGroups>
    </installStep>
    <installStep name="2. Patches">
      <!--<designer.metadata.do.not.edit> {"name":"2. Patches"}-->
      <optionalFileGroups order="Explicit">
        <group name="Main Patches" type="SelectAny">
          <plugins order="Explicit">
            <plugin name="USSEP">
              <!--<designer.metadata.do.not.edit> {"name":"USSEP"}-->
              <description>Is now integrated into RSChildren.esp, if this is selected. Updated to USSEP Version 4.1.1</description>
              <image path="fomod\images\rschildren_usseppatch.png"/>
              <conditionFlags>
                <flag name="USSEPselected">1<!--<designer.metadata.do.not.edit> {"name":"playableselected"}--></flag>
              </conditionFlags>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
            <plugin name="Playable">
              <!--<designer.metadata.do.not.edit> {"user_sort":"0000003","name":"Playable"}-->
              <description>RSChildren.esp &#9733; This enables the "Playable" flag so they show up in showracemenu.

This will allow you to create children's faces in-game, then export them and patch in your own faces; however, many have found it also playable to an extent.

WARNING: If you don't plan to do either of the above, do NOT use this!! And if you intend to play as a child: It may be buggy and I will not provide support for it, sorry!</description>
              <image path="fomod\images\rschildren_playable.jpg"/>
              <conditionFlags>
                <flag name="playableselected">1<!--<designer.metadata.do.not.edit> {"name":"playableselected"}--></flag>
              </conditionFlags>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
          </plugins>
          <!--<designer.metadata.do.not.edit> {"name":"Main Patches"}-->
        </group>
        <group name="Playable Patches" type="SelectAny">
          <!--<designer.metadata.do.not.edit> {"name":"Playable Patches"}-->
          <plugins order="Ascending">
            <plugin name="ECE Sliders">
              <!--<designer.metadata.do.not.edit> {"name":"ECE Sliders"}-->
              <description>Choose if you use ECE and want to use its slider feature. This adds more morphs and more sliders to work with.</description>
              <image path="fomod\images\rschildren_ece.jpg"/>
              <files>
                <folder source="04 - Playable Patches\ECE" destination="" priority="0" alwaysInstall="false" installIfUsable="false"/>
              </files>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
            <plugin name="ECE Vertex Edit">
              <!--<designer.metadata.do.not.edit> {"name":"ECE Vertex Edit"}-->
              <description>Choose if you use ECE and want to use its "Vertex Edit" feature. Best when coupled with above "ECE Sliders" option. Vertex Edit is disabled for these boys by default, this changes it.</description>
              <image path="fomod\images\rschildren_ece.jpg"/>
              <files>
                <folder source="04 - Playable Patches\ECE Vertex Edit" destination="" priority="0" alwaysInstall="false" installIfUsable="false"/>
              </files>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
            <plugin name="Player Vampire Script Fix">
              <!--<designer.metadata.do.not.edit> {"name":"ECE Sliders"}-->
              <description>Modifies the vanilla vampire script to allow child characters to become vampires.</description>
              <files>
                <folder source="04 - Playable Patches\Vampire" destination="" priority="0" alwaysInstall="false" installIfUsable="false"/>
              </files>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
          </plugins>
        </group>
      </optionalFileGroups>
    </installStep>
    <installStep name="3. Extra Options">
      <!--<designer.metadata.do.not.edit> {"name":"3. Extra Options"}-->
      <optionalFileGroups order="Explicit">
        <group name="" type="SelectAny">
          <plugins order="Ascending">
            <plugin name="2K Aventus and Wanderer Outfit">
              <!--<designer.metadata.do.not.edit> {"name":"2K Aventus and Wanderer Outfit"}-->
              <description>Displayed in the screenshots of Aventus. Higher resolution than the ones included in the main file (1K textures by default).</description>
              <image path="fomod\images\rschildren_aventus.jpg"/>
              <files>
                <folder source="03 - Options\2K Outfit" destination="" priority="0" alwaysInstall="false" installIfUsable="false"/>
              </files>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
            <plugin name="Bigger Heads">
              <!--<designer.metadata.do.not.edit> {"name":"Bigger Heads"}-->
              <description>This option doesn't really do anything, since the skeleton in use is switched over to HPL skeleton. Old description: "Slightly bigger heads. Scaled both the neck and head nodes to 1.15 from 1.05 and 1.14 respectively. If you're seeing neckseams on the children, try installing this--someone has reported that it fixes the issue."</description>
              <files>
                <folder source="03 - Options\Bigger Heads" destination="" priority="0" alwaysInstall="false" installIfUsable="false"/>
              </files>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
            <plugin name="Facial Animations">
              <!--<designer.metadata.do.not.edit> {"name":"Facial Animations"}-->
              <description>Choose if you want to have smoother facial animations. This will also fix any problems with clipping around the eyes, if you experience it. Thank you to Nao4288 (http://www.nexusmods.com/skyrim/mods/35303/?).</description>
              <files>
                <folder source="03 - Options\Facial Animations" destination="" priority="0" alwaysInstall="false" installIfUsable="false"/>
              </files>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
          </plugins>
        </group>
      </optionalFileGroups>
    </installStep>
    <installStep name="4. Playable Version Disclaimer">
      <!--<designer.metadata.do.not.edit> {"name":"4. Playable Version Warning"}-->
      <visible operator="And">
        <flagDependency flag="playableselected" value="1"/>
      </visible>
      <optionalFileGroups order="Explicit">
        <group name="RS Children playable" type="SelectExactlyOne">
          <plugins order="Explicit">
            <plugin name="Read description.">
              <!--<designer.metadata.do.not.edit> {"user_sort":"0000001","name":"I do not agree."}-->
              <description>As stated on both the modpage and the descriptions in here, playing as a child is neither recommended nor supported by the mod authors.&#13;
It was merely meant as a way to create/edit faces outside of the CK and use ECE, Racemenu or others to export them.&#13;
Anything other than that WILL have bugs and visual problems (e.g. neck gaps) and neither of the mod authors will provide support.&#13;
&#13;
If you decide to play as a child character, you will be on your own. Support requests for child playthroughs may be ignored or deleted.&#13;
If you click finish now, the default version will be installed.
			  </description>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
            <plugin name="I have read the description.">
              <!--<designer.metadata.do.not.edit> {"user_sort":"0000002","name":"I agree."}-->
              <description>As stated on both the modpage and the descriptions in here, playing as a child is neither recommended nor supported by the mod authors.&#13;
It was merely meant as a way to create/edit faces outside of the CK and use ECE, Racemenu or others to export them.&#13;
Anything other than that WILL have bugs and visual problems (e.g. neck gaps) and neither of the mod authors will provide support.&#13;
&#13;
If you decide to play as a child character, you will be on your own. Support requests for child playthroughs may be ignored or deleted.&#13;
If you click finish now, the playable version will be installed.
			  </description>
              <conditionFlags>
                <flag name="agreed">1<!--<designer.metadata.do.not.edit> {"name":"agreed"}--></flag>
              </conditionFlags>
              <typeDescriptor>
                <type name="Optional"/>
              </typeDescriptor>
            </plugin>
          </plugins>
          <!--<designer.metadata.do.not.edit> {"name":"RS Children playable"}-->
        </group>
      </optionalFileGroups>
    </installStep>
  </installSteps>
  <conditionalFileInstalls>
    <patterns>
      <pattern>
        <dependencies operator="And">
          <flagDependency flag="playableselected" value="0"/>
          <flagDependency flag="USSEPselected" value="0"/>
        </dependencies>
        <files>
          <folder source="01 - ESP\Non Playable" destination="" priority="0" alwaysInstall="false" installIfUsable="false"/>
        </files>
      </pattern>
      <pattern>
        <dependencies operator="And">
          <flagDependency flag="playableselected" value="0"/>
          <flagDependency flag="USSEPselected" value="1"/>
        </dependencies>
        <files>
          <folder source="01 - ESP\Non Playable - USSEP" destination="" priority="0" alwaysInstall="false" installIfUsable="false"/>
        </files>
      </pattern>
      <pattern>
        <dependencies operator="And">
          <flagDependency flag="playableselected" value="1"/>
          <flagDependency flag="USSEPselected" value="0"/>
          <flagDependency flag="agreed" value="1"/>
        </dependencies>
        <files>
          <folder source="01 - ESP\Playable" destination="" priority="0" alwaysInstall="false" installIfUsable="false"/>
        </files>
      </pattern>
      <pattern>
        <dependencies operator="And">
          <flagDependency flag="playableselected" value="1"/>
          <flagDependency flag="USSEPselected" value="1"/>
          <flagDependency flag="agreed" value="1"/>
        </dependencies>
        <files>
          <folder source="01 - ESP\Playable - USSEP" destination="" priority="0" alwaysInstall="false" installIfUsable="false"/>
        </files>
      </pattern>
      <pattern>
        <dependencies operator="And">
          <flagDependency flag="playableselected" value="1"/>
          <flagDependency flag="USSEPselected" value="0"/>
          <flagDependency flag="agreed" value="0"/>
        </dependencies>
        <files>
          <folder source="01 - ESP\Non Playable" destination="" priority="0" alwaysInstall="false" installIfUsable="false"/>
        </files>
      </pattern>
      <pattern>
        <dependencies operator="And">
          <flagDependency flag="playableselected" value="1"/>
          <flagDependency flag="USSEPselected" value="1"/>
          <flagDependency flag="agreed" value="0"/>
        </dependencies>
        <files>
          <folder source="01 - ESP\Non Playable - USSEP" destination="" priority="0" alwaysInstall="false" installIfUsable="false"/>
        </files>
      </pattern>
    </patterns>
  </conditionalFileInstalls>
</config>
