31 lines
1.1 KiB
XML
31 lines
1.1 KiB
XML
<!-- For this second example, let's make use of dependencies.
|
|
Before starting the installation, dependencies
|
|
make sure the things you specify are in place.
|
|
-->
|
|
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://qconsulting.ca/fo3/ModConfig5.0.xsd">
|
|
|
|
<moduleName>Example Mod</moduleName>
|
|
|
|
<!-- The "And" operator means that all dependencies
|
|
below this tag must be true for it to be true
|
|
as well. The other possible value is "Or".
|
|
-->
|
|
<moduleDependencies operator="And">
|
|
<fileDependency file="depend1.plugin" state="Active"/>
|
|
<dependencies operator="Or">
|
|
<fileDependency file="depend2v1.plugin" state="Active"/>
|
|
<fileDependency file="depend2v2.plugin" state="Active"/>
|
|
</dependencies>
|
|
</moduleDependencies>
|
|
|
|
<!-- Now before installing our lovely and empty
|
|
data file in requiredInstallFiles,
|
|
we need to make sure a few other plugins exist
|
|
-->
|
|
<requiredInstallFiles>
|
|
<file source="example.plugin"/>
|
|
</requiredInstallFiles>
|
|
|
|
</config>
|