I updated the code I posted earlier for this tweak (which allows Undead cities to go above level 5). This code works properly as far as I can tell:
Code: xml
- <ImprovementTypes>
- <ImprovementType InternalName="Necropolis">
- <UpgradesToImprovement>Necropolis2</UpgradesToImprovement>
- </ImprovementType>
-
- <ImprovementType InternalName="Necropolis2">
- <DisplayName>Halls Of The Dead</DisplayName>
- <Description>Upgrades the ultimate memorial to the dead.</Description>
- <RequiresCity>1</RequiresCity>
- <BarredTerrain>River</BarredTerrain>
- <BarredTerrain>SwampTerrain</BarredTerrain>
- <PreferredTerrain>City</PreferredTerrain>
- <PreferredTerrain>Category:Land</PreferredTerrain>
- <PreferredTerrain>Forest</PreferredTerrain>
- <UpgradesToImprovement>Necropolis3</UpgradesToImprovement>
- <UpgradeTier>4</UpgradeTier>
- <Prereq>
- <Type>AbilityBonusOption</Type>
- <Attribute>DLC04_UndeadFaction</Attribute>
- <Target>Player</Target>
- </Prereq>
- <Prereq>
- <Type>Tech</Type>
- <Attribute>Guilds</Attribute>
- </Prereq>
- <LaborToBuild>1600</LaborToBuild>
- <GameModifier>
- <ModType>Resource</ModType>
- <Attribute>Graves</Attribute>
- <Value>1300</Value>
- <PerTurn>1</PerTurn>
- <Provides>+1300 Graves</Provides>
- <UpgradeComparisonID>1</UpgradeComparisonID>
- <UpgradeComparisonText>Graves</UpgradeComparisonText>
- </GameModifier>
- <AIData AIPersonality="AI_General">
- <AIPriority>10</AIPriority>
- <AITag>Economy</AITag>
- </AIData>
- <ArtDef>DLC04_Necropolis_ArtDef</ArtDef>
- <ImprovementTypeArtDef InternalName="DLC04_Necropolis_ArtDef">
- <ImprovementTypeArtSubPack InternalName="DLC04_Necropolis_Default">
- <TileDesign>DLC04_Necropolis_01</TileDesign>
- <ConstructionTileDesign>F_Construction1x1_01</ConstructionTileDesign>
- <DrawnIcon>DLC04_Improvement_Necropolis.png</DrawnIcon>
- <DrawnIconConstruction>DLC04_Improvement_Necropolis_C.png</DrawnIconConstruction>
- <Thumbnail>DLC04_Necropolis_Thumb_01.png</Thumbnail>
- <Medallions InternalName="">
- <All>DLC04_Necropolis_Thumb_01.png</All>
- </Medallions>
- </ImprovementTypeArtSubPack>
- </ImprovementTypeArtDef>
- </ImprovementType>
- <ImprovementType InternalName="Necropolis3">
- <DisplayName>Undercity Of The Dead</DisplayName>
- <Description>The ultimate upgrade to the ultimate memorial to the dead.</Description>
- <RequiresCity>1</RequiresCity>
- <BarredTerrain>River</BarredTerrain>
- <BarredTerrain>SwampTerrain</BarredTerrain>
- <PreferredTerrain>City</PreferredTerrain>
- <PreferredTerrain>Category:Land</PreferredTerrain>
- <PreferredTerrain>Forest</PreferredTerrain>
- <UpgradeTier>5</UpgradeTier>
- <Prereq>
- <Type>AbilityBonusOption</Type>
- <Attribute>DLC04_UndeadFaction</Attribute>
- <Target>Player</Target>
- </Prereq>
- <Prereq>
- <Type>Tech</Type>
- <Attribute>Guilds</Attribute>
- </Prereq>
- <LaborToBuild>3600</LaborToBuild>
- <GameModifier>
- <ModType>Resource</ModType>
- <Attribute>Graves</Attribute>
- <Value>3000</Value>
- <PerTurn>1</PerTurn>
- <Provides>+3000 Graves</Provides>
- <UpgradeComparisonID>1</UpgradeComparisonID>
- <UpgradeComparisonText>Graves</UpgradeComparisonText>
- </GameModifier>
- <AIData AIPersonality="AI_General">
- <AIPriority>10</AIPriority>
- <AITag>Economy</AITag>
- </AIData>
- <ArtDef>DLC04_Necropolis_ArtDef</ArtDef>
- <ImprovementTypeArtDef InternalName="DLC04_Necropolis_ArtDef">
- <ImprovementTypeArtSubPack InternalName="DLC04_Necropolis_Default">
- <TileDesign>DLC04_Necropolis_01</TileDesign>
- <ConstructionTileDesign>F_Construction1x1_01</ConstructionTileDesign>
- <DrawnIcon>DLC04_Improvement_Necropolis.png</DrawnIcon>
- <DrawnIconConstruction>DLC04_Improvement_Necropolis_C.png</DrawnIconConstruction>
- <Thumbnail>DLC04_Necropolis_Thumb_01.png</Thumbnail>
- <Medallions InternalName="">
- <All>DLC04_Necropolis_Thumb_01.png</All>
- </Medallions>
- </ImprovementTypeArtSubPack>
- </ImprovementTypeArtDef>
- </ImprovementType>
- </ImprovementTypes>
This now appears 'properly', with the Halls Of The Dead (Necropolis 2) and Undercity Of The Dead (Necropolis 3) appearing in both the Mausoleum 'upgrade path' in the City Build chooser window, with the various bonuses (+600>+1300, etc) showing correctly, and under the Guilds Tech in the Tech Tree window.
I thought about maybe moving Necropolis2 and 3 to a later tech, but Guilds is pretty much at the end of that particular branch - the next tech is a 'may choose this tech repeatedly' tech.
You can paste it into Davrovana's code (without the first and last <ImprovementTypes> tag) just after the closing </ImprovementType> tag for Fortress_Ultimate, and just before the closing </ImprovementTypes> tag, or paste it into it's own .xml document and place it into your mods folder alongside the Rovana Level 6 and 7 city.xml file; should work either way.
Davrovana, if you want to include this code snippet (with whatever tweaks you feel are appropriate) into your code for this mod, by all means do so! After the appropriate testing, of course... I don't see any sense in starting a separate thread for a 'simple' mod tweak, hence cluttering the forum and mods list with an unneded thread! I'm loving your mod, btw!
Obviously, the modified file would probably need to be a separate download, for the 'DLC04' version. No sense having people using a file version that is looking for assets that aren't there (if they don't have DLC04), which of course may or may not break the game if you don't have the Undead DLC04 content installed, but have the 'Undead' code included.
Just feeling the need to help! Enjoy!