add integration tests for fomod parser
This commit is contained in:
88
tests/data/fomod/moduleconfig/banana.xml
Normal file
88
tests/data/fomod/moduleconfig/banana.xml
Normal file
@@ -0,0 +1,88 @@
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://qconsulting.ca/fo3/ModConfig5.0.xsd">
|
||||
<moduleName>The BANANA Mod</moduleName>
|
||||
<moduleImage path="fomod\images\banana.jpg" />
|
||||
|
||||
<installSteps>
|
||||
<installStep name="THE FIRST OF MANY STEPS">
|
||||
<optionalFileGroups order="Explicit">
|
||||
|
||||
|
||||
<group name="Banana Types" type="SelectAny">
|
||||
<plugins order="Explicit">
|
||||
|
||||
<plugin name="1700s">
|
||||
<description>Bananas from the 1700s were vastly different from what we see on the shelves today!</description>
|
||||
<conditionFlags><flag name="1">1</flag></conditionFlags>
|
||||
<typeDescriptor><type name="Required" /></typeDescriptor>
|
||||
</plugin>
|
||||
|
||||
<plugin name="Australian">
|
||||
<description>Nobody knows why, but Australia has some WEIRD bananas.</description>
|
||||
<conditionFlags><flag name="1">1</flag></conditionFlags>
|
||||
<typeDescriptor><type name="Recommended" /></typeDescriptor>
|
||||
</plugin>
|
||||
|
||||
<plugin name="Modern Worldwide">
|
||||
<description>Ah, the modern Cavendish banana! How not-sweet it tastes! Do yourself a favor and get one from the 1700s.</description>
|
||||
<conditionFlags><flag name="1">1</flag></conditionFlags>
|
||||
<typeDescriptor><type name="Optional" /></typeDescriptor>
|
||||
</plugin>
|
||||
|
||||
<plugin name="Purple Bananas">
|
||||
<description>~~CENSORED~~</description>
|
||||
<conditionFlags><flag name="1">1</flag></conditionFlags>
|
||||
<typeDescriptor><type name="CouldBeUsable" /></typeDescriptor>
|
||||
</plugin>
|
||||
|
||||
<plugin name="Brown Bananas">
|
||||
<description>Sorry, but you can't have feces.</description>
|
||||
<conditionFlags><flag name="1">1</flag></conditionFlags>
|
||||
<typeDescriptor><type name="NotUsable" /></typeDescriptor>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</group>
|
||||
|
||||
|
||||
<group name="Banana Textures" type="SelectExactlyOne">
|
||||
<plugins order="Explicit">
|
||||
|
||||
<plugin name="Base 1024x1024">
|
||||
<description>These textures are used for anything we didn't downscale/upscale.</description>
|
||||
<conditionFlags><flag name="1">1</flag></conditionFlags>
|
||||
<typeDescriptor><type name="Required" /></typeDescriptor>
|
||||
</plugin>
|
||||
|
||||
<plugin name="2048x2048">
|
||||
<description>2K is a comfortable resolution fot banana textures.</description>
|
||||
<conditionFlags><flag name="1">1</flag></conditionFlags>
|
||||
<typeDescriptor><type name="Recommended" /></typeDescriptor>
|
||||
</plugin>
|
||||
|
||||
<plugin name="4096x4096">
|
||||
<description>4K might be a bit over the top, but hey.</description>
|
||||
<conditionFlags><flag name="1">1</flag></conditionFlags>
|
||||
<typeDescriptor><type name="Optional" /></typeDescriptor>
|
||||
</plugin>
|
||||
|
||||
<plugin name="128x128">
|
||||
<description>Looks awful.</description>
|
||||
<conditionFlags><flag name="1">1</flag></conditionFlags>
|
||||
<typeDescriptor><type name="CouldBeUsable" /></typeDescriptor>
|
||||
</plugin>
|
||||
|
||||
<plugin name="0x0">
|
||||
<description>Just... don't install the mod.</description>
|
||||
<conditionFlags><flag name="1">1</flag></conditionFlags>
|
||||
<typeDescriptor><type name="NotUsable" /></typeDescriptor>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</group>
|
||||
|
||||
|
||||
</optionalFileGroups>
|
||||
</installStep>
|
||||
</installSteps>
|
||||
|
||||
</config>
|
||||
Reference in New Issue
Block a user