I'm trying to merge 2 mods so that I can add a new mod to an existing game
but it doesn't seems to work
the new mod does nothing but the old mod still works
the mods in question are extended policy cards and the extra wild card in dark ages
new modinfo: (combined)
old code for original mod:
code for merged mod:
but it doesn't seems to work
the new mod does nothing but the old mod still works
the mods in question are extended policy cards and the extra wild card in dark ages
new modinfo: (combined)
Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="382a187f-c8ba-4094-a6a7-0d5315661f33" version="1">
<Properties>
<Name>Extended Policy Cards</Name>
<Stability>Final</Stability>
<Teaser>Policy Cards that show effects.</Teaser>
<Description>This mod extends the Policy Cards description and adds a label at the bottom of the card to display all the relevant effects. Depends on Better Report Screen.</Description>
<Authors>Aristos</Authors>
<AffectsSavedGames>0</AffectsSavedGames>
<CompatibleVersions>2.0</CompatibleVersions>
</Properties>
<FrontEndActions>
<UpdateText id="Localisation">
<Properties>
<LoadOrder>15</LoadOrder>
</Properties>
<File>DramaticAges_Text_Config.sql</File>
</UpdateText>
</FrontEndActions>
<InGameActions>
<UpdateDatabase id="Gameplay">
<Properties>
<LoadOrder>15</LoadOrder>
</Properties>
<File>DramaticAges_Gameplay.sql</File>
</UpdateDatabase>
<UpdateText id="Text">
<Properties>
<LoadOrder>15</LoadOrder>
</Properties>
<File>DramaticAges_Text_InGame.sql</File>
</UpdateText>
<ImportFiles id="EPC_IMPORT_FILES">
<Properties>
<LoadOrder>15</LoadOrder>
</Properties>
<Items>
<File>GovernmentScreen.lua</File>
<File>GovernmentScreen.xml</File>
</Items>
</ImportFiles>
</InGameActions>
<Files>
<File>GovernmentScreen.lua</File>
<File>GovernmentScreen.xml</File>
<File>DramaticAges_Gameplay.sql</File>
<File>DramaticAges_Text_Config.sql</File>
<File>DramaticAges_Text_InGame.sql</File>
</Files>
</Mod>
old code for original mod:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="382a187f-c8ba-4094-a6a7-0d5315661f33" version="1">
<Properties>
<Name>Extended Policy Cards</Name>
<Stability>Final</Stability>
<Teaser>Policy Cards that show effects.</Teaser>
<Description>This mod extends the Policy Cards description and adds a label at the bottom of the card to display all the relevant effects. Depends on Better Report Screen.</Description>
<Authors>Aristos</Authors>
<AffectsSavedGames>0</AffectsSavedGames>
<CompatibleVersions>2.0</CompatibleVersions>
</Properties>
<InGameActions>
<ImportFiles id="EPC_IMPORT_FILES">
<Properties>
<LoadOrder>12000</LoadOrder>
</Properties>
<Items>
<File>GovernmentScreen.lua</File>
<File>GovernmentScreen.xml</File>
</Items>
</ImportFiles>
</InGameActions>
<Files>
<File>GovernmentScreen.lua</File>
<File>GovernmentScreen.xml</File>
</Files>
</Mod>
code for merged mod:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="d2a18abe-7d85-4665-b3ea-950675deafe8" version="1">
<Properties>
<Name>Dramatic Ages: Free Wildcard Slot in Dark Ages</Name>
<Description>When Dramatic Ages mode is active, civilizations in a [ICON_GLORY_DARK_AGE] Dark Age will receive a free Wildcard policy slot.</Description>
<Created>1604354977</Created>
<Teaser>When Dramatic Ages mode is active, civilizations in a [ICON_GLORY_DARK_AGE] Dark Age will receive a free Wildcard policy slot.</Teaser>
<Authors>p0kiehl</Authors>
<AffectsSavedGames>0</AffectsSavedGames>
<CompatibleVersions>1.2,2.0</CompatibleVersions>
</Properties>
<Dependencies>
<Mod id="A1100FC4-70F2-4129-AC27-2A65A685ED08" title="Byzantium and Gaul Pack" />
</Dependencies>
<ActionCriteria>
<Criteria id="DramaticAges_Mode">
<ConfigurationValueMatches>
<Group>Game</Group>
<ConfigurationId>GAMEMODE_DRAMATICAGES</ConfigurationId>
<Value>1</Value>
</ConfigurationValueMatches>
</Criteria>
</ActionCriteria>
<FrontEndActions>
<UpdateText id="Localisation">
<Properties>
<LoadOrder>15</LoadOrder>
</Properties>
<File>DramaticAges_Text_Config.sql</File>
</UpdateText>
</FrontEndActions>
<InGameActions>
<UpdateDatabase id="Gameplay">
<Properties>
<LoadOrder>15</LoadOrder>
</Properties>
<Criteria>DramaticAges_Mode</Criteria>
<File>DramaticAges_Gameplay.sql</File>
</UpdateDatabase>
<UpdateText id="Text">
<Properties>
<LoadOrder>15</LoadOrder>
</Properties>
<Criteria>DramaticAges_Mode</Criteria>
<File>DramaticAges_Text_InGame.sql</File>
</UpdateText>
</InGameActions>
<Files>
<File>DramaticAges_Gameplay.sql</File>
<File>DramaticAges_Text_Config.sql</File>
<File>DramaticAges_Text_InGame.sql</File>
</Files>
</Mod>