<?xml version="1.0" encoding="utf-8"?>
<Mod id="6f2888d4-79dc-415f-a8ff-f9d81d7afb53" version="1">
	<Properties>
		<Name>Better Report Screen (UI)</Name>
		<Teaser>Adds Policies and City States impact, Units, Deals and many other improvements to the Report Screen.</Teaser>
		<Description>Adds Policies and City States impact, Units, Deals and many other improvements to the Report Screen.[NEWLINE][NEWLINE]Works with [COLOR_Green]vanilla[ENDCOLOR], [COLOR_Green]Rise &amp; Fall[ENDCOLOR] and [COLOR_Green]Gathering Storm[ENDCOLOR]. Supports all languages. Version 7.0.[NEWLINE][NEWLINE]Original Units and Deals tabs created by Greg Miller.</Description>
		<Authors>Infixo</Authors>
		<SpecialThanks>Greg Miller, nightfearer, Tyolan, copysoul, RohBang, Gorlod, Zergus, Rac, Aristos</SpecialThanks>
		<AffectsSavedGames>0</AffectsSavedGames>
		<CompatibleVersions>1.2,2.0</CompatibleVersions>
		<SubscriptionID>1312585482</SubscriptionID>
	</Properties>
	<ActionCriteria>
		<Criteria id="Expansion1">
			<GameCoreInUse>Expansion1</GameCoreInUse>
		</Criteria>
		<Criteria id="Expansion2">
			<GameCoreInUse>Expansion2</GameCoreInUse>
		</Criteria>
	</ActionCriteria>
	<FrontEndActions>
		<UpdateDatabase id="BRS_FrontEnd_Database">
			<File>Config/BRS_Config.xml</File>
		</UpdateDatabase>
		<UpdateText id="BRS_FrontEnd_Text">
			<File>Config/BRS_Config_Text.xml</File>
		</UpdateText>
	</FrontEndActions>
	<InGameActions>
		<UpdateDatabase id="BRS_UpdateDatabase">
			<Properties><LoadOrder>1</LoadOrder></Properties>
			<File>BetterReportScreen_Database.sql</File>
		</UpdateDatabase>
		<AddUserInterfaces id="RMA_Main">
			<Properties>
				<Context>InGame</Context>
			</Properties>
			<File>RealModifierAnalysis.xml</File>
		</AddUserInterfaces>
		<!-- Vanilla actions - simply import lua and xml -->
        <ImportFiles id="BRS_ImportFiles">
			<Properties>
                <LoadOrder>1000</LoadOrder>
            </Properties>		
            <Items>
                <File>reportscreen.lua</File>
				<File>reportscreen.xml</File>
				<File>BRSPage_Yields.lua</File>
				<File>BRSPage_Resources.lua</File>
				<File>BRSPage_CityStatus.lua</File>
				<File>BRSPage_Gossip.lua</File>
				<File>BRSPage_Deals.lua</File>
				<File>BRSPage_Units.lua</File>
				<File>BRSPage_Policy.lua</File>
				<File>BRSPage_Minor.lua</File>
				<File>BRSPage_Cities2.lua</File>
            </Items>
        </ImportFiles>
		<UpdateText id="BRS_UpdateText">
			<File>Config/BRS_Config_Text.xml</File>
			<File>Text/BetterReportScreen_Text.xml</File>
			<File>Text/BetterReportScreen_Text_de_DE.xml</File>
			<File>Text/BetterReportScreen_Text_es_ES.xml</File>
			<File>Text/BetterReportScreen_Text_fr_FR.xml</File>
			<File>Text/BetterReportScreen_Text_it_IT.xml</File>
			<File>Text/BetterReportScreen_Text_ja_JP.xml</File>
			<File>Text/BetterReportScreen_Text_ko_KR.xml</File>
			<File>Text/BetterReportScreen_Text_pl_PL.xml</File>
			<File>Text/BetterReportScreen_Text_pt_BR.xml</File>
			<File>Text/BetterReportScreen_Text_ru_RU.xml</File>
			<File>Text/BetterReportScreen_Text_zh_Hans_CN.xml</File>
			<File>Text/BetterReportScreen_Text_zh_Hant_HK.xml</File>
		</UpdateText>
		<!-- Rise&Fall actions -->
		<ReplaceUIScript id="BRS_ReplaceUI_ReportScreen_XP1" criteria="Expansion1">
			<Properties>
                <LoadOrder>1010</LoadOrder>
				<LuaContext>ReportScreen</LuaContext>
				<LuaReplace>reportscreen.lua</LuaReplace>
			</Properties>
		</ReplaceUIScript>
		<!-- Gathering Storm actions -->
		<ReplaceUIScript id="BRS_ReplaceUI_ReportScreen_XP2" criteria="Expansion2">
			<Properties>
                <LoadOrder>1020</LoadOrder>
				<LuaContext>ReportScreen</LuaContext>
				<LuaReplace>reportscreen.lua</LuaReplace>
			</Properties>
		</ReplaceUIScript>
		<!-- new font icons -->
		<ImportFiles id="RMI_Imports">
			<File>Icons/FontIconsRMI.dds</File>
		</ImportFiles>
		<UpdateIcons id="RMI_Icons">
			<Properties><LoadOrder>1</LoadOrder></Properties>
			<File>Icons/FontIconsRMI.xml</File>
		</UpdateIcons>
		<!-- reports list loader -->
		<UpdateDatabase id="RLL_Database">
			<File>RLL/ReportsListLoader.sql</File>
		</UpdateDatabase>
		<ImportFiles id="RLL_Imports">
			<File>RLL/ReportsListLoader.lua</File>
		</ImportFiles>
		<ReplaceUIScript id="RLL_ReplaceUI_ReportsList">
			<Properties>
                <LoadOrder>99999</LoadOrder>
				<LuaContext>ReportsList</LuaContext>
				<LuaReplace>RLL/ReportsListLoader.lua</LuaReplace>
			</Properties>
		</ReplaceUIScript>
    </InGameActions>
    <Files>
		<!-- Config files -->
		<File>Config/BRS_Config.xml</File>
		<File>Config/BRS_Config_Text.xml</File>
		<!-- Shared files -->
		<File>BetterReportScreen_Database.sql</File>
        <File>reportscreen.lua</File>
		<File>reportscreen.xml</File>
		<File>BRSPage_Yields.lua</File>
		<File>BRSPage_Resources.lua</File>
		<File>BRSPage_CityStatus.lua</File>
		<File>BRSPage_Gossip.lua</File>
		<File>BRSPage_Deals.lua</File>
		<File>BRSPage_Units.lua</File>
		<File>BRSPage_Policy.lua</File>
		<File>BRSPage_Minor.lua</File>
		<File>BRSPage_Cities2.lua</File>
		<File>RealModifierAnalysis.lua</File>
		<File>RealModifierAnalysis.xml</File>
		<File>Text/BetterReportScreen_Text.xml</File>
		<File>Text/BetterReportScreen_Text_de_DE.xml</File>
		<File>Text/BetterReportScreen_Text_es_ES.xml</File>
		<File>Text/BetterReportScreen_Text_fr_FR.xml</File>
		<File>Text/BetterReportScreen_Text_it_IT.xml</File>
		<File>Text/BetterReportScreen_Text_ja_JP.xml</File>
		<File>Text/BetterReportScreen_Text_ko_KR.xml</File>
		<File>Text/BetterReportScreen_Text_pl_PL.xml</File>
		<File>Text/BetterReportScreen_Text_pt_BR.xml</File>
		<File>Text/BetterReportScreen_Text_ru_RU.xml</File>
		<File>Text/BetterReportScreen_Text_zh_Hans_CN.xml</File>
		<File>Text/BetterReportScreen_Text_zh_Hant_HK.xml</File>
		<!-- new font icons -->
		<File>Icons/FontIconsRMI.dds</File>
		<File>Icons/FontIconsRMI.xml</File>
		<!-- reports list loader -->
		<File>RLL/ReportsListLoader.sql</File>
		<File>RLL/ReportsListLoader.lua</File>
    </Files>
</Mod>
