Showing preview only (3,024K chars total). The displayed content is truncated. Use the JSON API for full output.
Repository: civfanatics/CQUI_Community-Edition
Branch: main
Commit: 9ff1e4709a2c
Files: 271
Total size: 2.8 MB
Directory structure:
gitextract_9r6afl7h/
├── .editorconfig
├── .github/
│ └── ISSUE_TEMPLATE/
│ ├── bug_report.md
│ └── feature_request.md
├── .gitignore
├── Assets/
│ ├── Babylon/
│ │ └── Additions/
│ │ ├── GreatPeopleHeroPanel.lua
│ │ └── GreatPeopleHeroPanel.xml
│ ├── Expansion1/
│ │ ├── CityBanners/
│ │ │ ├── citybannerinstances.xml
│ │ │ ├── citybannermanager.xml
│ │ │ └── cityreligioninstances.xml
│ │ ├── Replacements/
│ │ │ ├── CityPanel_Expansion1.lua
│ │ │ ├── citypanelculture_CQUI.lua
│ │ │ ├── citypaneloverview_expansion1_CQUI.lua
│ │ │ ├── citystates.xml
│ │ │ ├── citystates_CQUI_expansion1.lua
│ │ │ ├── diplomacyactionview_CQUI_expansion1.lua
│ │ │ ├── diplomacyribbon_CQUI_expansion1.lua
│ │ │ ├── governmentscreen_CQUI_expansion1.lua
│ │ │ ├── launchbar_CQUI_expansion1.lua
│ │ │ ├── partialscreenhooks_CQUI_expansion1.lua
│ │ │ ├── toppanel_CQUI_expansion1.lua
│ │ │ ├── unitpanel_CQUI_expansion1.lua
│ │ │ └── worldinput_CQUI_expansion1.lua
│ │ └── Text/
│ │ ├── Gossip_Text.xml
│ │ ├── Gossip_Text_de.xml
│ │ ├── Gossip_Text_es.xml
│ │ ├── Gossip_Text_fr.xml
│ │ ├── Gossip_Text_ja.xml
│ │ ├── Gossip_Text_ko.xml
│ │ ├── Gossip_Text_pl.xml
│ │ ├── Gossip_Text_pt.xml
│ │ └── Gossip_Text_zh.xml
│ ├── Expansion2/
│ │ ├── CityBanners/
│ │ │ ├── citybannerinstances.xml
│ │ │ ├── citybannermanager.xml
│ │ │ └── cityreligioninstances.xml
│ │ ├── Data/
│ │ │ └── Expansion2_Icons_FontIcons_CQUI.xml
│ │ ├── Replacements/
│ │ │ ├── CityPanel_Expansion1.lua
│ │ │ ├── citypaneloverview_expansion2_CQUI.lua
│ │ │ ├── citypanelpower_CQUI.lua
│ │ │ ├── citystates.xml
│ │ │ ├── citystates_CQUI_expansion2.lua
│ │ │ ├── diplomacyactionview.xml
│ │ │ ├── diplomacyactionview_CQUI_expansion2.lua
│ │ │ ├── diplomacyribbon_CQUI_expansion2.lua
│ │ │ ├── governmentscreen_CQUI_expansion2.lua
│ │ │ ├── ingame.lua
│ │ │ ├── launchbar_CQUI_expansion2.lua
│ │ │ ├── partialscreenhooks_CQUI_expansion2.lua
│ │ │ ├── plottooltip_CQUI_expansion2.lua
│ │ │ ├── toppanel_CQUI_expansion2.lua
│ │ │ ├── unitpanel_CQUI_expansion2.lua
│ │ │ └── worldinput_CQUI_expansion2.lua
│ │ └── Text/
│ │ ├── Gossip_Text.xml
│ │ ├── Gossip_Text_de.xml
│ │ ├── Gossip_Text_es.xml
│ │ ├── Gossip_Text_ja.xml
│ │ └── Gossip_Text_zh.xml
│ ├── Text/
│ │ ├── Gossip_Text.xml
│ │ ├── Gossip_Text_de.xml
│ │ ├── Gossip_Text_es.xml
│ │ ├── Gossip_Text_fr.xml
│ │ ├── Gossip_Text_it.xml
│ │ ├── Gossip_Text_ja.xml
│ │ ├── Gossip_Text_ko.xml
│ │ ├── Gossip_Text_pl.xml
│ │ ├── Gossip_Text_pt.xml
│ │ ├── Gossip_Text_ru.xml
│ │ ├── Gossip_Text_zh.xml
│ │ ├── cqui_InGameText.xml
│ │ ├── cqui_InGameText_de.xml
│ │ ├── cqui_InGameText_it.xml
│ │ ├── cqui_InGameText_ja.xml
│ │ ├── cqui_InGameText_ko.xml
│ │ ├── cqui_InGameText_ru.xml
│ │ ├── cqui_InGameText_zh.xml
│ │ ├── cqui_diplomacy_text.xml
│ │ ├── cqui_diplomacy_text_de.xml
│ │ ├── cqui_diplomacy_text_es.xml
│ │ ├── cqui_diplomacy_text_fr.xml
│ │ ├── cqui_diplomacy_text_it.xml
│ │ ├── cqui_diplomacy_text_ja.xml
│ │ ├── cqui_diplomacy_text_ko.xml
│ │ ├── cqui_diplomacy_text_pl.xml
│ │ ├── cqui_diplomacy_text_pt.xml
│ │ ├── cqui_diplomacy_text_ru.xml
│ │ ├── cqui_diplomacy_text_zh.xml
│ │ ├── cqui_text_general.xml
│ │ ├── cqui_text_general_de.xml
│ │ ├── cqui_text_general_es.xml
│ │ ├── cqui_text_general_fr.xml
│ │ ├── cqui_text_general_it.xml
│ │ ├── cqui_text_general_ja.xml
│ │ ├── cqui_text_general_ko.xml
│ │ ├── cqui_text_general_pl.xml
│ │ ├── cqui_text_general_pt.xml
│ │ ├── cqui_text_general_ru.xml
│ │ ├── cqui_text_general_zh.xml
│ │ ├── cqui_text_settings.xml
│ │ ├── cqui_text_settings_de.xml
│ │ ├── cqui_text_settings_es.xml
│ │ ├── cqui_text_settings_fr.xml
│ │ ├── cqui_text_settings_it.xml
│ │ ├── cqui_text_settings_ja.xml
│ │ ├── cqui_text_settings_ko.xml
│ │ ├── cqui_text_settings_pl.xml
│ │ ├── cqui_text_settings_pt.xml
│ │ ├── cqui_text_settings_ru.xml
│ │ └── cqui_text_settings_zh.xml
│ ├── Texture/
│ │ ├── CQUI_GreatPeople_Background_Bottom.dds
│ │ ├── CQUI_GreatPeople_Background_Repeat_Bottom.dds
│ │ ├── CQUI_GreatPeople_Background_Repeat_Top.dds
│ │ ├── CQUI_GreatPeople_Background_Top.dds
│ │ ├── CQUI_Heroes_Background_Bottom.dds
│ │ ├── CQUI_Heroes_Background_Repeat_Bottom.dds
│ │ ├── CQUI_Heroes_Background_Repeat_Top.dds
│ │ └── CQUI_Heroes_Background_Top.dds
│ ├── UI/
│ │ ├── CQUICommon.lua
│ │ ├── Choosers/
│ │ │ ├── CivicsChooser_CQUI.lua
│ │ │ └── ResearchChooser_CQUI.lua
│ │ ├── Civilopedia/
│ │ │ ├── civilopediascreen.lua
│ │ │ └── civilopediasupport_CQUI.lua
│ │ ├── DiplomacyDealView_CQUI.lua
│ │ ├── Icons/
│ │ │ └── FontIcons_CQUI.xml
│ │ ├── MapPinManager_CQUI.lua
│ │ ├── Menus/
│ │ │ └── InGameTopOptionsMenu_CQUI.lua
│ │ ├── Options_CQUI.lua
│ │ ├── Panels/
│ │ │ ├── NotificationPanel_CQUI.lua
│ │ │ ├── StatusMessagePanel_CQUI.lua
│ │ │ ├── citypanel.lua
│ │ │ ├── citypanel.xml
│ │ │ ├── citypaneloverview.lua
│ │ │ ├── citypaneloverview.xml
│ │ │ ├── productionpanel_CQUI.lua
│ │ │ ├── statusmessagepanel.xml
│ │ │ ├── unitpanel_CQUI.lua
│ │ │ └── unitpanel_CQUI_basegame.lua
│ │ ├── PartialScreens/
│ │ │ ├── citystates.xml
│ │ │ ├── citystates_CQUI.lua
│ │ │ └── citystates_CQUI_basegame.lua
│ │ ├── Popups/
│ │ │ ├── greatpeoplepopup.lua
│ │ │ ├── greatpeoplepopup.xml
│ │ │ ├── policyreminderpopup.lua
│ │ │ ├── policyreminderpopup.xml
│ │ │ ├── techciviccompletedpopup.lua
│ │ │ └── wonderbuiltpopup_CQUI.lua
│ │ ├── Screens/
│ │ │ ├── CivicsTree_CQUI.lua
│ │ │ ├── TechTree_CQUI.lua
│ │ │ ├── governmentscreen_CQUI.lua
│ │ │ └── governmentscreen_CQUI_basegame.lua
│ │ ├── ToolTips/
│ │ │ ├── plottooltip_CQUI.lua
│ │ │ └── plottooltip_CQUI_basegame.lua
│ │ ├── Utilities/
│ │ │ └── extendedrelationship.lua
│ │ ├── WorldTracker_CQUI.lua
│ │ ├── WorldView/
│ │ │ ├── CityBannerManager_CQUI.lua
│ │ │ ├── citybannerinstances.xml
│ │ │ ├── citybannermanager.xml
│ │ │ ├── cityreligioninstances.xml
│ │ │ ├── districtploticonmanager_CQUI.lua
│ │ │ ├── plotinfo.xml
│ │ │ └── plotinfo_CQUI.lua
│ │ ├── WorldViewIconsManager_CQUI.lua
│ │ ├── actionpanel.lua
│ │ ├── diplomacyactionview.xml
│ │ ├── diplomacyactionview_CQUI.lua
│ │ ├── diplomacyactionview_CQUI_basegame.lua
│ │ ├── diplomacydealview.xml
│ │ ├── diplomacyribbon_CQUI.lua
│ │ ├── diplomacyribbon_CQUI_basegame.lua
│ │ ├── ingame.lua
│ │ ├── launchbar.xml
│ │ ├── launchbar_CQUI.lua
│ │ ├── launchbar_CQUI_basegame.lua
│ │ ├── options.xml
│ │ ├── partialscreenhooks.xml
│ │ ├── partialscreenhooks_CQUI.lua
│ │ ├── partialscreenhooks_CQUI_basegame.lua
│ │ ├── productionpanel.xml
│ │ ├── toppanel_CQUI.lua
│ │ ├── toppanel_CQUI_basegame.lua
│ │ ├── unitflagmanager.xml
│ │ ├── unitflagmanager_CQUI.lua
│ │ ├── worldinput_CQUI.lua
│ │ └── worldinput_CQUI_basegame.lua
│ ├── cqui_data.sql
│ ├── cqui_databaseschema.sql
│ ├── cqui_main.lua
│ ├── cqui_settings.sql
│ ├── cqui_settingselement.lua
│ ├── cqui_settingselement.xml
│ ├── cqui_settingselement_lenscolors.lua
│ ├── cqui_settingselement_lenscolors.xml
│ ├── cqui_toplayer.lua
│ └── cqui_toplayer.xml
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── CQUI.dep
├── CQUI.modinfo
├── Integrations/
│ ├── BES/
│ │ ├── Text/
│ │ │ ├── bes_text.xml
│ │ │ ├── bes_text_de.xml
│ │ │ ├── bes_text_es.xml
│ │ │ ├── bes_text_fr.xml
│ │ │ ├── bes_text_it.xml
│ │ │ ├── bes_text_ja.xml
│ │ │ ├── bes_text_ko.xml
│ │ │ ├── bes_text_pt.xml
│ │ │ └── bes_text_ru.xml
│ │ └── UI/
│ │ ├── Choosers/
│ │ │ ├── espionagechooser.lua
│ │ │ └── espionagechooser.xml
│ │ ├── PartialScreens/
│ │ │ ├── espionageoverview.lua
│ │ │ └── espionageoverview.xml
│ │ └── espionagesupport.lua
│ ├── BTS/
│ │ ├── Text/
│ │ │ ├── bts_text.xml
│ │ │ ├── bts_text_de.xml
│ │ │ ├── bts_text_es.xml
│ │ │ ├── bts_text_fr.xml
│ │ │ ├── bts_text_it.xml
│ │ │ ├── bts_text_ja.xml
│ │ │ ├── bts_text_ko.xml
│ │ │ ├── bts_text_pl.xml
│ │ │ ├── bts_text_pt.xml
│ │ │ ├── bts_text_ru.xml
│ │ │ └── bts_text_zh.xml
│ │ ├── UI/
│ │ │ ├── Choosers/
│ │ │ │ ├── tradeoriginchooser.lua
│ │ │ │ ├── tradeoriginchooser.xml
│ │ │ │ ├── traderoutechooser.lua
│ │ │ │ └── traderoutechooser.xml
│ │ │ ├── tradeoverview.lua
│ │ │ ├── tradeoverview.xml
│ │ │ └── tradesupport.lua
│ │ └── license.md
│ ├── ML/
│ │ ├── DLC/
│ │ │ ├── Expansion1/
│ │ │ │ └── UI/
│ │ │ │ └── Replacements/
│ │ │ │ └── minimappanel.xml
│ │ │ └── Expansion2/
│ │ │ └── UI/
│ │ │ └── Replacements/
│ │ │ └── minimappanel.xml
│ │ ├── Lenses/
│ │ │ ├── Archaeologist/
│ │ │ │ └── ModLens_Archaeologist.lua
│ │ │ ├── Barbarian/
│ │ │ │ └── ModLens_Barbarian.lua
│ │ │ ├── Builder/
│ │ │ │ ├── BuilderLens_Config_Default.lua
│ │ │ │ ├── BuilderLens_Support.lua
│ │ │ │ └── ModLens_Builder.lua
│ │ │ ├── CQUI_CitizenManagement/
│ │ │ │ └── ModLens_CQUI_CitizenManagement.lua
│ │ │ ├── CityOverlap/
│ │ │ │ ├── ModLens_CityOverlap.lua
│ │ │ │ └── ModLens_CityOverlap.xml
│ │ │ ├── LensSupport.lua
│ │ │ ├── Naturalist/
│ │ │ │ └── ModLens_Naturalist.lua
│ │ │ ├── Resource/
│ │ │ │ ├── ModLens_Resource.lua
│ │ │ │ └── ModLens_Resource.xml
│ │ │ ├── Routes/
│ │ │ │ └── ModLens_Routes.lua
│ │ │ ├── Scout/
│ │ │ │ └── ModLens_Scout.lua
│ │ │ ├── UnitAction/
│ │ │ │ └── ModLens_UnitAction.lua
│ │ │ └── Wonder/
│ │ │ └── ModLens_Wonder.lua
│ │ ├── Text/
│ │ │ ├── morelenses_text.xml
│ │ │ ├── morelenses_text_de.xml
│ │ │ ├── morelenses_text_es.xml
│ │ │ ├── morelenses_text_fr.xml
│ │ │ ├── morelenses_text_it.xml
│ │ │ ├── morelenses_text_ja.xml
│ │ │ ├── morelenses_text_ko.xml
│ │ │ ├── morelenses_text_pl.xml
│ │ │ ├── morelenses_text_pt.xml
│ │ │ ├── morelenses_text_ru.xml
│ │ │ └── morelenses_text_zh.xml
│ │ ├── UI/
│ │ │ ├── Panels/
│ │ │ │ ├── modallenspanel.lua
│ │ │ │ └── modallenspanel.xml
│ │ │ ├── hotkey_config.xml
│ │ │ ├── minimappanel.lua
│ │ │ └── minimappanel.xml
│ │ ├── futuremodders.txt
│ │ ├── license.md
│ │ └── morelenses_colors.sql
│ └── PQ/
│ └── license
├── LICENSE
├── README.md
└── WorkshopArtifacts/
├── DescriptionFormattedText.txt
└── PictureNotes.txt
================================================
FILE CONTENTS
================================================
================================================
FILE: .editorconfig
================================================
; top-most EditorConfig file
; http://editorconfig.org/
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.md
================================================
---
name: Bug report
about: Create a report to help us improve
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**General informations**
- OS: [e.g. iOS]
- Version [e.g. 1.0.0.256]
- Expansion [e.g. None, Rise and Fall]
- Other mods [e.g. YnAMP]
**Save game and logs**
Please attach if you can your save game and the logs. You can find them in `..\documents\my games\sid meier's civilization vi\` on windows or `/Users/[user]/Library/Application Support/Sid Meier's Civilization VI/` on Mac OS.
**Additional context**
Add any other context about the problem here.
================================================
FILE: .github/ISSUE_TEMPLATE/feature_request.md
================================================
---
name: Feature request
about: Suggest an idea for this project
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
================================================
FILE: .gitignore
================================================
.idea/
/.project
cqui.sln
cqui.luaproj
.vs/cqui/v14/.suo
cqui_settings_local.sql
.bak
*.bak
.DS_Store
/BaseUI/
/.settings/
/.buildpath
================================================
FILE: Assets/Babylon/Additions/GreatPeopleHeroPanel.lua
================================================
-- ===========================================================================
-- CQUI GreatPeopleHeroPanel replacement for GreatPeopleHeroPanel.lua, found in Babylon DLC (DLC/Babylon/UI/Additions)
-- Full file replacement is necessary because of Firaxis' use of local variables that CQUI requires access to in order to implement the scaling based on screen resolution
-- CQUI changes are marked with Customization Begin/End Tags
-- ===========================================================================
-- Copyright 2020, Firaxis Games
include("InstanceManager");
include("HeroesSupport");
include("CivilizationIcon");
-- ==== CQUI CUSTOMIZATION BEGIN ====================================================================================== --
-- Include CQUICommon.lua for GreatPeople vertical size calculation
include("CQUICommon.lua");
-- ==== CQUI CUSTOMIZATION END ======================================================================================== --
-- ===========================================================================
-- CONSTANTS
-- ===========================================================================
local m_sPortraitPrefix:string = "ICON_";
local m_sPortraitSuffix:string = "_PORTRAIT";
-- ===========================================================================
-- MEMBERS
-- ===========================================================================
local m_pHeroPanelIM:table = InstanceManager:new("HeroPanelInstance", "Content", Controls.HeroStack);
local m_pAbilityIM:table = InstanceManager:new("AbilityInstance", "Top");
local m_pCommandIM:table = InstanceManager:new("CommandInstance", "Top");
local m_pStatIM:table = InstanceManager:new("StatInstance", "Top");
local m_newestHeroType:string = "";
-- ===========================================================================
function RefreshHeroes()
ClearHeroes();
local pGameHeroes:object = Game.GetHeroesManager();
for row in GameInfo.HeroClasses() do
if pGameHeroes:IsHeroDiscovered(Game.GetLocalPlayer(), row.Index) then
AddHero(row);
end
end
end
-- ===========================================================================
function AddHero( kHeroDef:table )
local kHeroInstance:object = m_pHeroPanelIM:GetInstance();
local sHeroName:string = "";
if kHeroDef.HeroClassType == m_newestHeroType then
sHeroName = "[ICON_New] ";
end
sHeroName = sHeroName .. Locale.ToUpper(kHeroDef.Name);
kHeroInstance.IndividualName:SetText(sHeroName);
local sIconName:string = m_sPortraitPrefix .. kHeroDef.HeroClassType .. m_sPortraitSuffix;
kHeroInstance.Portrait:SetIcon(sIconName);
-- Stats
local kStats:table = GetHeroUnitStats(kHeroDef.Index);
if kStats.Lifespan ~= nil then
local pLifespanInst:table = m_pStatIM:GetInstance(kHeroInstance.EffectStack);
pLifespanInst.StatIcon:SetIcon("ICON_LIFESPAN");
pLifespanInst.ValueText:SetText(kStats.Lifespan);
pLifespanInst.NameText:SetText(Locale.Lookup("LOC_HUD_UNIT_PANEL_LIFESPAN"));
end
if kStats.BaseMoves ~= nil and kStats.BaseMoves > 0 then
local pCombatInst:table = m_pStatIM:GetInstance(kHeroInstance.EffectStack);
pCombatInst.StatIcon:SetIcon("ICON_MOVES");
pCombatInst.ValueText:SetText(kStats.BaseMoves);
pCombatInst.NameText:SetText(Locale.Lookup("LOC_HUD_UNIT_PANEL_MOVEMENT"));
end
if kStats.Combat ~= nil and kStats.Combat > 0 then
local pCombatInst:table = m_pStatIM:GetInstance(kHeroInstance.EffectStack);
pCombatInst.StatIcon:SetIcon("ICON_STRENGTH");
pCombatInst.ValueText:SetText(kStats.Combat);
pCombatInst.NameText:SetText(Locale.Lookup("LOC_HUD_UNIT_PANEL_STRENGTH"));
end
if kStats.RangedCombat ~= nil and kStats.RangedCombat > 0 then
local pRangedCombatInst:table = m_pStatIM:GetInstance(kHeroInstance.EffectStack);
pRangedCombatInst.StatIcon:SetIcon("ICON_RANGED_STRENGTH");
pRangedCombatInst.ValueText:SetText(kStats.RangedCombat);
pRangedCombatInst.NameText:SetText(Locale.Lookup("LOC_HUD_UNIT_PANEL_RANGED_STRENGTH"));
end
if kStats.Range ~= nil and kStats.Range > 0 then
local pRangedCombatInst:table = m_pStatIM:GetInstance(kHeroInstance.EffectStack);
pRangedCombatInst.StatIcon:SetIcon("ICON_RANGE");
pRangedCombatInst.ValueText:SetText(kStats.Range);
pRangedCombatInst.NameText:SetText(Locale.Lookup("LOC_HUD_UNIT_PANEL_ATTACK_RANGE"));
end
if kStats.Charges ~= nil and kStats.Charges > 0 then
local pChargesInst:table = m_pStatIM:GetInstance(kHeroInstance.EffectStack);
pChargesInst.StatIcon:SetIcon("ICON_STATS_SPREADCHARGES");
pChargesInst.ValueText:SetText(kStats.Charges);
pChargesInst.NameText:SetText(Locale.Lookup("LOC_HUD_UNIT_PANEL_CHARGES"));
end
-- Abilities
local kAbilities:table = GetHeroClassUnitAbilities(kHeroDef.Index);
for _, kAbility in pairs(kAbilities) do
local pAbilityInst:table = m_pAbilityIM:GetInstance(kHeroInstance.EffectStack);
pAbilityInst.AbilityName:SetText(Locale.ToUpper(kAbility.Name));
pAbilityInst.AbilityText:SetText(Locale.Lookup(kAbility.Description));
end
-- Commands
local kCommands:table = GetHeroClassUnitCommands(kHeroDef.Index);
for _, kCommand in pairs(kCommands) do
local pCommandInst:table = m_pCommandIM:GetInstance(kHeroInstance.EffectStack);
pCommandInst.CommandName:SetText( Locale.ToUpper(kCommand.Name) );
pCommandInst.CommandText:SetText( Locale.Lookup(kCommand.Description) );
pCommandInst.CommandIcon:SetIcon( kCommand.Icon );
end
-- Setup Civilopedia button
if GameCapabilities.HasCapability("CAPABILITY_DISPLAY_TOP_PANEL_CIVPEDIA") then
kHeroInstance.CivilopediaButton:RegisterCallback( Mouse.eLClick, function() OpenCivilopediaForHero(kHeroDef.UnitType); end );
kHeroInstance.CivilopediaButton:SetHide(false);
else
kHeroInstance.CivilopediaButton:SetHide(true);
end
-- Hero Status
local pGameHeroes:object = Game.GetHeroesManager();
local claimedByPlayer:number = pGameHeroes:GetHeroClaimPlayer(kHeroDef.Index);
if claimedByPlayer ~= -1 then
kHeroInstance.HeroStatus:SetText(Locale.Lookup("LOC_GREAT_PEOPLE_HEROES_RECRUITED_STATE"));
local kCivIconController:table = CivilizationIcon:AttachInstance( kHeroInstance.ClaimedByCivIcon );
kCivIconController:UpdateIconFromPlayerID( claimedByPlayer );
kCivIconController:SetLeaderTooltip( claimedByPlayer );
kHeroInstance.ClaimedByCivIcon.CivIconBacking:SetHide(false);
-- Determine if the hero is still alive
local bIsAlive:boolean = false;
local pHeroUnit:object = nil;
local pPlayer:object = Players[claimedByPlayer];
if pPlayer ~= nil then
local pPlayerUnits:table = pPlayer:GetUnits();
for i, pUnit in pPlayerUnits:Members() do
if GameInfo.Units[pUnit:GetType()].UnitType == kHeroDef.UnitType then
bIsAlive = true;
pHeroUnit = pUnit;
end
end
end
kHeroInstance.DeceasedText:SetHide(bIsAlive);
-- ==== CQUI CUSTOMIZATION BEGIN ====================================================================================== --
-- CQUI change, show the origin city if the hero is claimed
kHeroInstance.CQUI_HeroOriginCity:SetHide(true);
-- ==== CQUI CUSTOMIZATION END ======================================================================================== --
local bHideLookAtButton:boolean = true;
local bHideRecallButton:boolean = true;
if claimedByPlayer == Game.GetLocalPlayer() then
-- ==== CQUI CUSTOMIZATION BEGIN ====================================================================================== --
-- CQUI: Show the City value (code relocated from else case below)
local cityID:table = pGameHeroes:GetHeroOriginCityID(kHeroDef.Index);
local pPlayerCities:object = Players[claimedByPlayer]:GetCities();
local pHeroCity:object = pPlayerCities:FindID(cityID.id);
-- ==== CQUI CUSTOMIZATION END ====================================================================================== --
-- Show Look at Hero/City button if claimed by the active player
if pHeroUnit ~= nil then
kHeroInstance.LookAtButton:SetToolTipString(Locale.Lookup("LOC_GREAT_PEOPLE_HEROES_LOOK_AT_HERO_TT"));
kHeroInstance.LookAtButton:RegisterCallback( Mouse.eLClick, function() LookAtUnit(pHeroUnit); end);
bHideLookAtButton = false;
-- ==== CQUI CUSTOMIZATION BEGIN ====================================================================================== --
-- CQUI: Show the Home City value (this shows "Home City: City Name")
kHeroInstance.CQUI_HeroOriginCity:SetHide(false);
kHeroInstance.CQUI_HeroOriginCity:SetText(Locale.Lookup("LOC_UNITFLAG_ARCHAEOLOGY_HOME_CITY", pHeroCity:GetName()))
-- ==== CQUI CUSTOMIZATION END ======================================================================================== --
else
if pHeroCity then
kHeroInstance.LookAtButton:SetToolTipString(Locale.Lookup("LOC_GREAT_PEOPLE_HEROES_LOOK_AT_CITY_TT"))
kHeroInstance.LookAtButton:RegisterCallback( Mouse.eLClick, function() LookAtCity(pHeroCity); end);
bHideLookAtButton = false;
-- Show the Recall button if the hero isn't alive and can be recalled by the claimed player
if not bIsAlive then
bHideRecallButton = not UpdateRecallButton( kHeroInstance, kHeroDef.Index, kHeroDef.UnitType, pHeroCity );
end
end
end
end
kHeroInstance.LookAtButton:SetHide(bHideLookAtButton);
kHeroInstance.FaithRecallButton:SetHide(bHideRecallButton);
else
kHeroInstance.HeroStatus:SetText(Locale.Lookup("LOC_GREAT_PEOPLE_HEROES_DISCOVERED_STATE"));
kHeroInstance.ClaimedByCivIcon.CivIconBacking:SetHide(true);
kHeroInstance.DeceasedText:SetHide(true);
kHeroInstance.LookAtButton:SetHide(true);
kHeroInstance.FaithRecallButton:SetHide(true);
end
-- ==== CQUI CUSTOMIZATION BEGIN ====================================================================================== --
-- Set the heights of the various elements in the Great People Panel instance as has been computed
-- These functions are defined in CQUICommon.lua
kHeroInstance.Content:SetSizeY(CQUI_GreatPeoplePanel_GetControlSizeY("Content"));
-- ==== CQUI CUSTOMIZATION END ======================================================================================== --
end
-- ===========================================================================
function OpenCivilopediaForHero( sHeroUnitType:string )
LuaEvents.GreatPeopleHeroPanel_Close();
LuaEvents.OpenCivilopedia(sHeroUnitType);
end
-- ===========================================================================
function LookAtUnit( pUnit:object )
LuaEvents.GreatPeopleHeroPanel_Close();
UI.LookAtPlotScreenPosition( pUnit:GetX(), pUnit:GetY(), 0.5, 0.5 );
UI.SelectUnit( pUnit );
end
-- ===========================================================================
function LookAtCity( pCity:object )
LuaEvents.GreatPeopleHeroPanel_Close();
UI.LookAtPlotScreenPosition( pCity:GetX(), pCity:GetY(), 0.5, 0.5 );
UI.SelectCity( pCity );
end
-- ===========================================================================
function UpdateRecallButton( kHeroInstance:table, eHeroClass:number, sUnitType:string, pCity:object )
local kHeroUnitDef:table = GameInfo.Units[sUnitType];
local kYieldDef:table = GameInfo.Yields["YIELD_FAITH"];
local tParameters = {};
tParameters[CityCommandTypes.PARAM_UNIT_TYPE] = kHeroUnitDef.Hash;
tParameters[CityCommandTypes.PARAM_YIELD_TYPE] = kYieldDef.Index;
if CityManager.CanStartCommand( pCity, CityCommandTypes.PURCHASE, true, tParameters, false ) then
local isCanStart, results = CityManager.CanStartCommand( pCity, CityCommandTypes.PURCHASE, false, tParameters, true );
local pCityGold:table = pCity:GetGold();
local faithCost:number = pCityGold:GetPurchaseCost( kYieldDef.Index, kHeroUnitDef.Hash, MilitaryFormationTypes.STANDARD_MILITARY_FORMATION );
kHeroInstance.FaithRecallButton:SetText(faithCost .. "[ICON_Faith]");
local sToolTip:string = Locale.Lookup("LOC_GREAT_PEOPLE_HEROES_FAITH_RECALL_TT", faithCost);
if isCanStart then
kHeroInstance.FaithRecallButton:RegisterCallback( Mouse.eLClick, function() RecallHero(eHeroClass); end );
kHeroInstance.FaithRecallButton:SetDisabled(false);
else
-- Add failure reasons to the tooltip
if results ~= nil and results[CityCommandResults.FAILURE_REASONS] ~= nil then
local kFailureReasons:table = results[CityCommandResults.FAILURE_REASONS];
if kFailureReasons ~= nil and table.count( kFailureReasons ) > 0 then
for i,v in ipairs(kFailureReasons) do
sToolTip = sToolTip .. "[NEWLINE][NEWLINE][COLOR:Red]" .. Locale.Lookup(v) .. "[ENDCOLOR]";
end
end
end
-- Affordability check
local pPlayerReligion = Players[pCity:GetOwner()]:GetReligion();
if pPlayerReligion ~= nil and not pPlayerReligion:CanAfford( pCity:GetID(), kHeroUnitDef.Hash ) then
sToolTip = sToolTip .. "[NEWLINE][NEWLINE]" .. Locale.Lookup("LOC_GREAT_PEOPLE_HEROES_INSUFFICIENT_FAITH_TT");
end
kHeroInstance.FaithRecallButton:SetDisabled(true);
end
kHeroInstance.FaithRecallButton:SetToolTipString(sToolTip);
return true;
end
return false;
end
-- ===========================================================================
function RecallHero( eHeroClass:number )
local kHeroDef:table = GameInfo.HeroClasses[eHeroClass];
local kHeroUnitDef:table = GameInfo.Units[kHeroDef.UnitType];
local pGameHeroes:object = Game.GetHeroesManager();
local claimedByPlayer:number = pGameHeroes:GetHeroClaimPlayer(kHeroDef.Index);
local pPlayerCities:object = Players[claimedByPlayer]:GetCities();
local kCityID:table = pGameHeroes:GetHeroOriginCityID(kHeroDef.Index);
local pHeroCity:object = pPlayerCities:FindID(kCityID.id);
-- Close the panel and look at the city the hero will be spawned in
LuaEvents.GreatPeopleHeroPanel_Close();
UI.LookAtPlotScreenPosition( pHeroCity:GetX(), pHeroCity:GetY(), 0.5, 0.5 );
-- Purchase the hero
local tParameters = {};
tParameters[CityCommandTypes.PARAM_UNIT_TYPE] = kHeroUnitDef.Hash;
tParameters[CityCommandTypes.PARAM_MILITARY_FORMATION_TYPE] = MilitaryFormationTypes.STANDARD_MILITARY_FORMATION;
tParameters[CityCommandTypes.PARAM_YIELD_TYPE] = GameInfo.Yields["YIELD_FAITH"].Index;
UI.PlaySound("Purchase_With_Faith");
CityManager.RequestCommand(pHeroCity, CityCommandTypes.PURCHASE, tParameters);
end
-- ===========================================================================
function ClearHeroes()
if m_pStatIM ~= nil then
m_pStatIM:ResetInstances();
end
if m_pAbilityIM ~= nil then
m_pAbilityIM:ResetInstances();
end
if m_pCommandIM ~= nil then
m_pCommandIM:ResetInstances();
end
if m_pHeroPanelIM ~= nil then
m_pHeroPanelIM:ResetInstances();
end
end
-- ===========================================================================
function OnHeroStackSizeChanged()
LuaEvents.GreatPeopleHeroPanel_SizeChanged(Controls.HeroStack:GetSizeX());
end
-- ===========================================================================
function OnHeroesPopup_ShowNewHero( kHeroDef:table )
m_newestHeroType = kHeroDef.HeroClassType;
LuaEvents.GreatPeopleHeroPanel_Show();
end
-- ===========================================================================
function Initialize()
-- Set this context to autosize
ContextPtr:SetAutoSize(true);
LuaEvents.GreatPeoplePopup_RefreshHeroes.Add(RefreshHeroes);
LuaEvents.GreatPeoplePopup_ClearHeroes.Add(ClearHeroes);
LuaEvents.HeroesPopup_ShowNewHero.Add(OnHeroesPopup_ShowNewHero);
Controls.HeroStack:RegisterSizeChanged( OnHeroStackSizeChanged );
end
Initialize();
================================================
FILE: Assets/Babylon/Additions/GreatPeopleHeroPanel.xml
================================================
<?xml version="1.0" encoding="utf-8" ?>
<Context xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="..\..\..\..\CivTech\Libs\ForgeUI\ForgeUI_Assets\Controls.xsd" Style="FontNormal16" FontStyle="Shadow">
<Include File="CivilizationIcon"/>
<Stack ID="HeroStack" Offset="0,78" StackGrowth="Right" StackPadding="0" />
<!-- ================================================================== -->
<!-- Instances -->
<!-- ================================================================== -->
<Instance Name="HeroPanelInstance">
<!-- ==== CQUI CUSTOMIZATION BEGIN ====================================================================================== -->
<!-- CQUI makes each instance of the Heroes panel wider, and the control hosting each Hero instance taller (same size as Great People panel) -->
<!-- CQUI: Customized textures are used to account for the wider Heroes panel that also will match the vertical size calculated for the Great People panel -->
<Container ID="Content" Size="350,parent">
<!-- CQUI: The WoodPaneling texture that replaces the Firaxis-provided one, which has the border lines and curved top of each panel, -->
<!-- and includes parts that are covered by the title bar and the panel selection buttons (75px from top of texture to top of the "wood panel" piece) -->
<!-- WoodPaneling is the ID in the unmodified file, retained by CQUI for compatability reasons. -->
<!-- The Y-size is static at 547px, if that top section stretches beyond 547px, the CQUI_Heroes_Background_Repeat_Top is used for filling in after 547. -->
<!-- The offset of -78 is also required here because this paneling is applied to each instance, rather than the control hosting each instance -->
<Image ID="WoodPaneling" Anchor="L,T" Size="parent,547" Offset="0,-78" Texture="CQUI_Heroes_Background_Top.dds" StretchMode="TileX"/>
<!-- CQUI: CQUI_WoodPanelingTopFiller is the lighter color with vertical lines at each end, is 214px wide for GreatPeople panel, 350px wide for Heroes panel. -->
<!-- The color of this texture matches the bottom of the WoodPaneling (CQUI_Heroes_Background_Top.dds) texture, as such, this texture is used to fill in -->
<!-- any areas below the 547px already being covered by the WoodPaneling object defined above. Note the offset is adjusted to account for the offset above it. -->
<Image ID="CQUI_WoodPanelingTopFiller" Size="parent,parent-547" Offset="0,469" Texture="CQUI_Heroes_Background_Repeat_Top.dds" StretchMode="Tile" />
<!-- CQUI: This is the darker "paneling", which appears under the Recruit Progress section. -->
<!-- The Y-size of this Image object is set programatically based on the calculated size of the Recruit Progress section. -->
<!-- Because the anchor for this Image object is at the bottom, the Y-size and StretchMode value combine to cover any of the WoodPaneling or CQUI_WoodPanelingTopFiller -->
<Image ID="CQUI_WoodPanelingBottomFiller" Anchor="L,B" Size="parent,152" Texture="CQUI_Heroes_Background_Repeat_Bottom.dds" StretchMode="Tile"/>
<!-- CQUI: This image is the bottom of the paneling outline (curved corner and horizontal line, 15px tall), and the bottom part of the Great People frame (65px tall) -->
<Image ID="CQUI_WoodPanelingBottom" Anchor="L,B" Size="parent,40" Offset="0,-10" Texture="CQUI_Heroes_Background_Bottom.dds" StretchMode="TileX"/>
<Grid ID="FadedBackground" Anchor="C,T" Offset="-1,0" Size="parent-10,parent-46" Texture="GreatPeople_Overlay" SliceCorner="13,13" SliceSize="1,1" SliceTextureSize="25,25" Hidden="1" />
<!-- CQUI: Changed anchor, offset, and wrap width values, added Color value (brighter text) -->
<Label ID="IndividualName" Anchor="C,T" Offset="0,22" Align="C,C" WrapWidth="parent-20" Style="GreatPeopleLargeText" Color="168,168,129,255" String="$IndividualName$"/>
<!-- CQUI: End X-value for title line changed to reflect wider panel -->
<Line ID="TitleLine" Start="10,56" End="parent-10,56" Width="2" Color="199,187,157,90" />
<!-- ==== CQUI CUSTOMIZATION END ======================================================================================== -->
<Image ID="CircleFlare" Anchor="C,T" Offset="0,20" Texture="GreatPeople_SlotOn">
<Image ID="Portrait" Anchor="C,B" Offset="0,10" Size="105,105" IconSize="105" Texture="Heores105"/>
<Button ID="LookAtButton" Anchor="L,B" Offset="-2,4" Size="29,29" Texture="TopBar_LookButton"/>
<Button ID="CivilopediaButton" Anchor="R,B" Offset="-2,4" Size="29,29" Texture="TopBar_CivilopediaButton" ToolTip="LOC_GREAT_PEOPLE_HEROES_CIVILOPEDIA_ENTRY_TT"/>
</Image>
<!-- ==== CQUI CUSTOMIZATION BEGIN ======================================================================================== -->
<!-- CQUI: Changed control from Box to Line -->
<Line Start="10,214" End="parent-10,214" Width="2" Color="199,187,157,90" />
<!-- CQUI: Changed size to auto-adjust when the control vertical size is changed -->
<Container ID="MainInfo" Anchor="C,T" Size="parent,parent-224" Offset="0,224">
<-- CQUI: Changed X-size to span entire control, Y-size to auto-adjust when main panel vertical size is changed -->
<ScrollPanel ID="EffectStackScroller" Size="parent,parent-152" Vertical="1" AutoScrollBar="1">
<!-- ==== CQUI CUSTOMIZATION END ========================================================================================== -->
<Stack ID="EffectStack" StackPadding="4"/>
<ScrollBar Anchor="R,T" AnchorSide="O,I" Offset="1,0" Style="ScrollVerticalBarAlt" Size="8,parent-10"/>
</ScrollPanel>
<!-- ==== CQUI CUSTOMIZATION BEGIN ======================================================================================== -->
<!-- CQUI: Removed offset value -->
<Container ID="RecruitProgressBox" Anchor="C,B" Size="parent,152">
<!-- CQUI: changed control from Box to Line, removed Anchor, set X-size to start/stop 10px from edge -->
<Line Start="10,0" End="parent-10,0" Width="2" Color="199,187,157,90" />
<!-- CQUI: Adjusted StackPadding and added Offset -->
<Stack Anchor="C,C" StackPadding="5" Offset="0,-5">
<Label ID="HeroStatus" Anchor="C,T" Align="Center" Style="FontFlair14" WrapWidth="parent-20" Color="157,150,138,255" SmallCaps="20" SmallCapsType="EveryWord"/>
<MakeInstance ID="ClaimedByCivIcon" Name="CivilizationIcon44" Anchor="C,T" />
<!-- CQUI: Added OriginCity for Hero -->
<Label ID="CQUI_HeroOriginCity" Anchor="C,T" Align="Center" Style="FontFlair14" WrapWidth="parent-20" Color="157,150,138,255" SmallCaps="20" SmallCapsType="EveryWord"/>
<Label ID="DeceasedText" Anchor="C,T" Align="Center" Style="FontFlair14" WrapWidth="parent-20" Color="157,150,138,255" SmallCaps="20" SmallCapsType="EveryWord" String="LOC_GREAT_PEOPLE_HEROES_DECEASED" Hidden="1"/>
<!-- CQUI: FaithRecallButton no longer part of own Stack Control -->
<GridButton ID="FaithRecallButton" Anchor="C,T" Size="80,32" SliceCorner="12,12" SliceSize="1,1" SliceTextureSize="24,24" Texture="Controls_ButtonControl_Brown" TextColor="126,123,120" Style="FontNormal18" StateOffsetIncrement="0,24" String="LOC_GREAT_PEOPLE_HEROES_FAITH_RECALL"/>
</Stack>
</Container>
<Stack Anchor="C,B" Offset="0,0" StackGrowth="Right" StackPadding="10">
<!-- CQUI: Moved FaithRecallButton control to stack in the RecruitProgressBox -->
</Stack>
<!-- ==== CQUI CUSTOMIZATION END ========================================================================================== -->
</Container>
<Container ID="RecruitInfoArea" Anchor="L,B" Offset="13,54" Size="180,391" Hidden="1">
<ScrollPanel ID="RecruitInfoScroll" Anchor="C,B" Offset="0,0" Size="parent,parent" Vertical="1">
<Stack ID="RecruitInfoStack" StackGrowth="Down" StackPadding="4"/>
<ScrollBar Anchor="R,C" Offset="1,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
<GridButton ID="RecruitInfoBackButton" Anchor="C,B" AnchorSide="I,O" Offset="0,20" Size="parent-40,28" SliceCorner="12,12" SliceSize="1,1" SliceTextureSize="24,24" Texture="Controls_ButtonControl_Tan" TextColor="20,20,20" Style="FontNormal16" String="LOC_GREAT_PEOPLE_BACK" StateOffsetIncrement="0,24" />
</Container>
</Container>
</Instance>
<Instance Name="AbilityInstance">
<Container ID="Top" Size="parent,auto">
<Image Offset="6,0" Size="38,38" IconSize="38" Icon="ICON_HERO_PASSIVE_ABILITY"/>
<Stack Anchor="L,T" Offset="45,0" StackGrowth="Down" StackPadding="4">
<!-- ==== CQUI CUSTOMIZATION BEGIN ======================================================================================== -->
<!-- CQUI: Adjusted the X-size and added Color value for AbilityName and AbilityText -->
<ScrollTextField ID="AbilityName" Anchor="L,T" Size="parent-55,20" Style="GreatPeopleLargeText" Color="168,168,129,255"/>
<Label ID="AbilityText" Anchor="L,T" WrapWidth="parent-55" Style="GreatPeopleText" Color="168,168,129,255"/>
<!-- ==== CQUI CUSTOMIZATION END ========================================================================================== -->
</Stack>
</Container>
</Instance>
<Instance Name="CommandInstance">
<Container ID="Top" Size="parent,auto">
<Image ID="CommandIcon" Offset="6,0" Size="38,38" Texture="Controls_SlotCircle3"/>
<Stack Anchor="L,T" Offset="45,0" StackGrowth="Down" StackPadding="4">
<!-- ==== CQUI CUSTOMIZATION BEGIN ======================================================================================== -->
<!-- CQUI: Adjusted the X-size and added Color value for CommandName and CommandText -->
<ScrollTextField ID="CommandName" Anchor="L,T" Size="parent-55,20" Style="GreatPeopleLargeText" Color="168,168,129,255"/>
<Label ID="CommandText" Anchor="L,T" WrapWidth="parent-55" Style="GreatPeopleText" Color="168,168,129,255"/>
<!-- ==== CQUI CUSTOMIZATION END ========================================================================================== -->
</Stack>
</Container>
</Instance>
<Instance Name="StatInstance">
<Container ID="Top" Size="parent,auto">
<!-- ==== CQUI CUSTOMIZATION BEGIN ======================================================================================== -->
<!-- CQUI: Adjusted offsets, WrapWidth, and text Color values for StatIcon, NameText, and ValueText -->
<Image ID="StatIcon" Anchor="L,T" Offset="75,0" Size="16,16" Icon="ICON_STRENGTH"/>
<Label ID="NameText" Anchor="L,T" Offset="95,2" WrapWidth="120" Style="GreatPeopleText" String="Combat Strength" Color="168,168,129,255"/>
<Label ID="ValueText" Anchor="R,T" Offset="75,2" Style="GreatPeopleText" String="22" Color="168,168,129,255"/>
<!-- ==== CQUI CUSTOMIZATION END ========================================================================================== -->
</Container>
</Instance>
</Context>
================================================
FILE: Assets/Expansion1/CityBanners/citybannerinstances.xml
================================================
<Include File="CityBannerInstances">
<!-- CQUI CityBannerInstances Replacement File -->
<!-- Note: This file only loads in Linux if naming and casing is CityBannerInstances.xml -->
<!-- See note in citybannermanager.xml regarding this hidden container below -->
<Container ID="CQUI_EmptyContainer_CityBannerInstances_Exp1" Hidden="1"/>
<!-- Include info panels that attach to the bottom of CityBanner -->
<Include File="CityLoyaltyInstances"/>
<Include File="CityReligionInstances"/>
<Instance Name="CityBanner">
<!-- To match old behavior, it would go from 0 to -25 on the Y axis -->
<!-- Moving on the Z axis looks about the same but works with camera rotation -->
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="Container" Anchor="C,C" Offset="0,-20" Size="200,41">
<!-- TOP: CITY STATUS AND EFFECTS -->
<Grid ID="CityDetails" Texture="Banner_StatusFrame" Size="55,20" Anchor="C,T" AnchorSide="I,O" Offset="0,-6" SliceTextureSize="24,20" SliceCorner="9,2" SliceSize="5,15">
<Stack ID="CityDetailsStack" StackGrowth="Right" Anchor="C,C" Padding="0">
<Stack ID="CityDetailsStatus" StackGrowth="Right" Anchor="L,C" Padding="0"/>
<Image ID="DefenseIcon" Size="16,18" Texture="Banner_StrengthIcon" Anchor="L,C" ToolTip="LOC_CITY_BANNER_FORTIFICATION_TT"/>
<Image ID="ShieldsIcon" Size="21,18" Texture="Banner_StrengthIcon_Shields" Anchor="L,C" Hidden="1" ToolTip="LOC_CITY_BANNER_WALLED_FORTIFICATION_TT"/>
<Label ID="DefenseNumber" Style="StrongSmall" String="00 [00]" Anchor="L,C" KerningAdjustment="-1"/>
<Container Size="3,2" />
<Stack StackGrowth="Down" Anchor="L,C">
<Grid ID="CityDefenseBarBacking" Size="100,8" Texture="Banner_LifeBar" SliceTextureSize="100,6" SliceCorner="50,3">
<TextureBar ID="CityDefenseBar" Texture="Banner_LifeBar" Size="100,6" Direction="Right" Speed="1" Anchor="L,C" TextureOffset="0,6" Color="120,198,247,255"/>
</Grid>
<Grid ID="CityHealthBarBacking" Size="100,8" Texture="Banner_LifeBar" SliceTextureSize="100,6" SliceCorner="50,3" Hidden="1">
<TextureBar ID="CityHealthBar" Texture="Banner_LifeBar" Size="100,6" Direction="Right" Speed="1" Anchor="L,C" TextureOffset="0,6"/>
</Grid>
</Stack>
<Container Size="3,2" />
<Stack ID="CityDetailsEffects" StackGrowth="Right" Anchor="L,T" Padding="0"/>
</Stack>
</Grid>
<!-- CENTER: MAIN BUTTON -->
<Button ID="CityBannerButton" Anchor="L,T" Size="parent,parent" NoStateChange="true">
<!-- COLORED BG -->
<Grid ID="CityBannerFill" Anchor="C,T" Size="parent,parent" Texture="Banner_FrameBase_Combo" SliceTextureSize="113,41" SliceCorner="18,7" SliceSize="76,27"/>
<!-- OUTLINE: MOUSE IN / OUT -->
<AlphaAnim ID="CityBannerFillOverAnim" Anchor="C,T" Size="parent,parent" ShowOnMouseOver="1" AlphaStart="0" AlphaEnd="1" Speed="2" Function="Root" Cycle="Once">
<Grid ID="CityBannerFillOver" Anchor="C,T" Size="parent,parent" Texture="Banner_FrameSecondary_Combo" SliceTextureSize="113,41" SliceCorner="18,7" SliceSize="76,27"/>
</AlphaAnim>
<AlphaAnim ID="CityBannerFillOutAnim" Anchor="C,T" Size="parent,parent" ShowOnMouseOut="1" AlphaStart="1" AlphaEnd="0" Speed="2" Function="Root" Cycle="Once">
<Grid ID="CityBannerFillOut" Anchor="C,T" Size="parent,parent" Texture="Banner_FrameSecondary_Combo" SliceTextureSize="113,41" SliceCorner="18,7" SliceSize="76,27"/>
</AlphaAnim>
<!-- CONTENTS -->
<Stack ID="ContentStack" Anchor="C,C" StackGrowth="Right" StackPadding="2">
<Image ID="CQUI_AtWarWithCSIcon" Size="22,22" Anchor="L,C" Icon="ICON_RELATIONSHIP_WAR" ToolTip="LOC_DIPLO_STATE_WAR_NAME" Hidden="1"/>
<Stack ID="CityInfoStack" Anchor="L,C" StackGrowth="Right" StackPadding="2"/>
<!-- CQUI: Show Suzerain in CS banner -->
<Container ID="CQUI_CivSuzerain" Anchor="C,C" Size="auto,auto" AutoSizePadding="2,0" Hidden="1">
<Image ID="CQUI_CivSuzerainIconBackground" Size="22,22" Anchor="C,C" Texture="CircleBacking22">
<Image ID="CQUI_CivSuzerainIcon" Size="22,22" Anchor="C,C" IconSize="22"/>
<Label ID="CQUI_SuzerainEnvoys" Anchor="C,T" Offset="10,-2" Style="StrongSmall2"/>
<Label ID="CQUI_LocalPlayerEnvoys" Anchor="C,T" Offset="-10,-2" Style="StrongSmall2"/>
</Image>
</Container>
<Container ID="CQUI_DistrictsContainer" Anchor="C,C" Size="auto,parent" Padding="2" Offset="2,0">
<Stack ID="CQUI_Districts" Anchor="C,C" StackGrowth="Right" Padding="-12"/>
</Container>
<Image ID="CQUI_DistrictAvailable" Anchor="C,C" Icon="ICON_STAT_DISTRICTS" Size="24,24" ToolTip="LOC_HUD_DISTRICTS" Hidden="true" /> <!--Texture="Stats22"-->
<Button ID="CityNameButton" Anchor="L,C" Hidden="0" Size="auto,parent" AutoSizePadding="4,0" >
<Label ID="CityName" Anchor="L,C" Offset="4,0" Style="FontFlair16" FontStyle="Shadow" Color0="255,255,255,255" Color1="0,0,0,20" SmallCaps="18" SmallCapsType="EveryWord" />
</Button>
<Stack ID="CityStatusStack" Anchor="R,C" StackGrowth="Right" StackPadding="4"/>
</Stack>
</Button>
<!-- BOTTOM: CITY ACTIONS AND INFO -->
<Image ID="CityStrike" Texture="CityBannerRangeAttackRim" Size="36,45" Anchor="C,B" AnchorSide="I,O" Offset="0,-6">
<Button ID="CityStrikeButton" Style="CityBannerRangeAttack" Anchor="C,B" Offset="0,10" StateOffsetIncrement="0,25" ConsumeMouse="1" ToolTip="LOC_CITY_BANNER_CITY_RANGE_STRIKE"/>
</Image>
<Container Anchor="C,B">
<MakeInstance ID="ReligionInfo" Name="ReligionInfo"/>
</Container>
<Container Anchor="C,B">
<MakeInstance ID="LoyaltyInfo" Name="LoyaltyInfo"/>
</Container>
</Container>
</ZoomAnchor>
</Instance>
<!-- Instances populate in CityDetailsStack -->
<Instance Name="CityDetailStatus">
<Image ID="Icon" Size="18,18" Anchor="C,C"/>
</Instance>
<!-- Instances populate in CityDetailsStack -->
<Instance Name="CityDetailEffect">
<Button ID="Button" Size="20,20" Anchor="C,C">
<Image ID="Icon" Size="20,20" Anchor="C,C"/>
</Button>
</Instance>
<!-- Instances populate in CityInfoStack -->
<Instance Name="CityInfoType">
<Button ID="Button" Anchor="C,C" Size="20,20" Texture="Banner_TypeSlot" NoStateChange="1">
<Image ID="Icon" Anchor="C,C" Size="22,22" Texture="Cities22"/>
</Button>
</Instance>
<Instance Name="CityInfoCondition">
<Button ID="Button" Anchor="C,C" Size="20,20" Texture="Banner_TypeSlot" NoStateChange="1">
<Image ID="Icon" Anchor="C,C" Size="22,22" Texture="Cities22">
<Image ID="ConditionRising" Offset="-4,-1" Anchor="R,B" Size="12,12" Texture="CityCondition_Rising" Hidden="1"/>
<Image ID="ConditionFalling" Offset="-4,-1" Anchor="R,B" Size="12,12" Texture="CityCondition_Falling" Hidden="1"/>
</Image>
</Button>
</Instance>
<!-- Instances populate in CityStatusStack -->
<Instance Name="CityStatGovernor">
<Button ID="Button" Anchor="C,C" Size="30,30">
<Image ID="BG" Anchor="C,C" Size="28,28" Texture="XP1_Banner_MeterSlot"/>
<TextureBar ID="FillMeter" Anchor="C,C" Size="32,32" Direction="Up" Speed="0" Texture="XP1_GovernorsCityBannerFill32">
<Image ID="UnknownGovernor" Anchor="C,C" Size="32,32" Texture="XP1_Governors_Unknown32"/>
<TextureBar ID="SlotMeter" Anchor="C,C" Size="32,32" Direction="Down" Speed="0" Texture="XP1_GovernorsCityBannerSlot32"/>
<Label ID="TurnsLeft" Anchor="C,T" Offset="10,-3" Style="StrongSmall2"/>
<Label ID="NumOfAmbassadors" Anchor="C,C" Offset="0,0" Style="FontFlair20"/>
</TextureBar>
</Button>
</Instance>
<Instance Name="CityStatProduction">
<!-- Different size Y on the Button here is on purpose, no touch -->
<Button ID="Button" Anchor="C,C" Size="28,30" Texture="Production30">
<Image ID="Slot" Anchor="C,C" Size="28,28" Texture="XP1_Banner_MeterSlot">
<Image ID="Icon" Anchor="C,C" Size="32,32" Texture="Buildings32" Color="145,145,145,255"/>
<TextureBar ID="FillMeter" Anchor="C,C" Size="32,32" Direction="Up" Speed="0" Texture="XP1_Banner_MeterFillProduction"/>
<TextureBar ID="IconMeter" Anchor="C,C" Size="32,32" Direction="Up" Speed="0" Texture="Buildings32"/>
<Label ID="TurnsLeft" Anchor="C,T" Offset="10,-5" Style="StrongSmall2"/>
</Image>
</Button>
</Instance>
<Instance Name="CityStatPopulation">
<Button ID="Button" Anchor="C,C" Size="28,28" NoStateChange="1">
<TextureBar ID="FillMeter" Anchor="C,C" Size="28,28" Direction="Up" Speed="0" Texture="XP1_Banner_MeterFill">
<TextureBar ID="SlotMeter" Anchor="C,C" Size="28,28" Direction="Down" Speed="0" Texture="XP1_Banner_MeterSlot"/>
<Label ID="CityPopulation" Anchor="C,C" String="999" Style="FontFlair20" FontStyle="stroke" Color0="225,225,225,255" Color1="35,35,35,178" />
<Label ID="CityPopTurnsLeft" Anchor="C,T" Offset="12,-5" Style="StrongSmall2" FontStyle="stroke"/>
<Label ID="CQUI_CityHousing" Anchor="C,B" Offset="12,-5" Style="StrongSmall2" FontStyle="stroke" Hidden="1"/>
<Label ID="CityCultureTurnsLeft" Anchor="C,B" Offset="-12,-5" Style="StrongSmall2" FontStyle="stroke" Color="204,109,197,255" Hidden="1"/>
</TextureBar>
</Button>
</Instance>
<Instance Name="CityStatPopulationLimited">
<Image ID="BG" Anchor="C,C" Size="28,28" Texture="XP1_Banner_MeterSlot">
<Label ID="CityPopulation" Anchor="C,C" String="999" Style="FontFlair20" FontStyle="glow" Color0="225,225,225,255" Color1="35,35,35,178" />
</Image>
</Instance>
<!-- Aerodrome Minibanner -->
<Instance Name="AerodromeBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Grid ID="AerodromeBase" Anchor="L,C" Size="auto,24" Offset="-25,0" Texture="Banner_UnitBacking" SliceCorner="13,1" SliceSize="4,22">
<!-- Current and max air unit capacity -->
<Stack Anchor="R,C" Offset="6,0" StackGrowth="Right">
<Container Size="25,1"/>
<Label ID="AerodromeCurrentUnitCount" Style="FontNormal14" String="1"/>
<Label Style="FontNormal14" String="/"/>
<Label ID="AerodromeMaxUnitCount" Style="FontNormal14" String="4"/>
</Stack>
</Grid>
<PullDown ID="UnitListPopup" ConsumeMouse="0" Anchor="C,C" Size="200,20" AutoSizePopUp="0" AutoFlip="1" ScrollThreshold="96">
<ButtonData>
<Button ID="AerodromeButton" Anchor="C,C" Size="28,28" Offset="-14,0" NoStateChange="1">
<!-- Aerodrome button textures -->
<Image ID="AerodromeUnitsButton_Base" Anchor="C,C" Size="28,28" Texture="Banner_UnitButton_Combo"/>
<!-- Aerodrome button icon -->
<Image ID="AerodromeUnitsButtonIcon" Anchor="C,C" Size="22,22" Texture="Banner_Planes"/>
<!-- Hover over animations -->
<AlphaAnim Anchor="C,C" Size="28,28" ShowOnMouseOver="1" AlphaStart="0" AlphaEnd="1" Speed="2" Function="Root" Cycle="Once">
<Image ID="AerodromeMouseOver" Size="28,28" Texture="Banner_UnitButton_Secondary"/>
</AlphaAnim>
<AlphaAnim Anchor="C,C" Size="28,28" ShowOnMouseOut="1" AlphaStart="1" AlphaEnd="0" Speed="2" Function="Root" Cycle="Once">
<Image ID="AerodromeMouseOut" Size="28,28" Texture="Banner_UnitButton_Secondary"/>
</AlphaAnim>
</Button>
</ButtonData>
<GridData Size="auto,auto" AutoSizePadding="6,5" Anchor="C,B" Offset="0,6" AnchorSide="I,O" Texture="Controls_DropdownPanel" SliceCorner="9,9" SliceSize="4,4" SliceTextureSize="22,22"/>
<ScrollPanelData Anchor="L,T" Vertical="1" AutoScrollBar="1">
<ScrollBar Style="ScrollVerticalBacking" Anchor="L,T" AnchorSide="O,I" Color="28,60,90,255" Offset="1,0">
<Thumb Style="ScrollThumbAlt" Color="28,60,90,255" />
</ScrollBar>
</ScrollPanelData>
<StackData StackGrowth="Down" Size="240,400" Anchor="L,T"/>
<InstanceData Name="UnitListEntry">
<GridButton ID="Button" Style="UnitPanelHeader" Size="200,24" Texture="Controls_ButtonControl.dds" SliceCorner="10,10" SliceSize="1,1" SliceTextureSize="24,24" StateOffsetIncrement="0,24" TruncateWidth="180">
<Stack StackGrowth="Right">
<Image ID="UnitTypeIcon" Anchor="L,C" Size="22,22" Offset="2,0" />
<Label ID="UnitName" Anchor="L,C" Offset="0,1" Style="UnitPanelHeader" TruncateWidth="173"/>
</Stack>
</GridButton>
</InstanceData>
</PullDown>
</ZoomAnchor>
</Instance>
<!-- WMD Minibanner -->
<Instance Name="WMDBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="WMDBannerContainer" Anchor="C,C" Size="88,34">
<!-- Banner Background -->
<Grid ID="Banner_Base" Size="parent,parent" Texture="BannerMini_Base_Combo" SliceCorner="18,9" SliceSize="44,16" SliceTextureSize="80,34"/>
<!-- Nukes -->
<Container Anchor="L,C" Offset="25,0">
<Stack Offset="0,-1" Anchor="C,C" StackGrowth="Right" StackPadding="2,0">
<Label Style="FontNormal16" String="[Icon_Nuclear]"/>
<Label ID="NukeCountLabel" Offset="0,2" Style="FontNormal16" String="0"/>
</Stack>
<Image ID="NukeBombButtonBackground" Anchor="C,C" Size="36,45" Offset="0,36" Texture="CityBannerRangeAttackRim">
<Button ID="NukeBombButton" Anchor="C,C" Size="25,25" Texture="Banner_NukeAttackButton" StateOffsetIncrement="0,25"/>
</Image>
</Container>
<!-- Thermonuclear Devices -->
<Container Anchor="R,C" Offset="25,0">
<Stack Offset="0,-1" Anchor="C,C" StackGrowth="Right" StackPadding="2,0">
<Label Style="FontNormal16" String="[Icon_ThermoNuclear]"/>
<Label ID="ThermoNukeCountLabel" Offset="0,2" Style="FontNormal16" String="0"/>
</Stack>
<Image ID="ThermoNukeBombButtonBackground" Anchor="C,C" Size="36,45" Offset="0,36" Texture="CityBannerRangeAttackRim">
<Button ID="ThermoNukeBombButton" Anchor="C,C" Size="25,25" Texture="Banner_NukeAttackButton" StateOffsetIncrement="0,25"/>
</Image>
</Container>
</Container>
</ZoomAnchor>
</Instance>
<!-- Industry Minibanner -->
<Instance Name="IndustryBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="IndustryBannerContainer" Anchor="C,C" Size="88,34">
<!-- Banner Background -->
<Image ID="Banner_Base" Anchor="C,C" Size="50,50" Texture="BannerMonopolies_Combo_Base_Combo"/>
<Image ID="Icon" Anchor="C,C" Size="34,34" Texture="AdvisorRec22" />
</Container>
</ZoomAnchor>
</Instance>
<!-- Corporation Minibanner -->
<Instance Name="CorporationBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="CorporationBannerContainer" Anchor="C,C" Size="88,34">
<!-- Banner Background -->
<Image ID="Banner_Base" Anchor="C,C" Size="50,50" Texture="BannerMonopolies_Combo_Base_Combo"/>
<Image ID="Icon" Anchor="C,C" Size="34,34" Texture="AdvisorRec22" />
<Image ID="CorporationRing" Anchor="C,C" Size="48,48" Texture="Monopolies_GoldBorder"/>
</Container>
</ZoomAnchor>
</Instance>
<!-- Encampment Minibanner -->
<Instance Name="EncampmentBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="EncampmentBannerContainer" Anchor="C,C" Size="106,34">
<!-- District strength -->
<Grid ID="DistrictDefenseGrid" Texture="Banner_StatusFrame" Size="55,20" Anchor="C,T" AnchorSide="I,O" Offset="0,-3" SliceTextureSize="24,20" SliceCorner="9,2" SliceSize="5,15">
<Stack Anchor="C,C" Offset="-2,0" StackGrowth="Right">
<Image Size="21,18" Texture="Banner_StrengthIcon_Shields"/>
<Label ID="DistrictDefenseStrengthLabel" Offset="0,2" Style="StrongSmall" String="17"/>
</Stack>
</Grid>
<!-- Banner Background -->
<Grid ID="Banner_Base" Size="parent,parent" Texture="BannerMini_Base_Combo" SliceCorner="14,14" SliceSize="51,5" SliceTextureSize="80,34"/>
<!-- District Font Icon -->
<Label ID="EncampmentFontIcon" Anchor="L,C" Offset="7,3" Style="FontNormal14" String="[Icon_DISTRICT_ENCAMPMENT]"/>
<!-- Healthbars -->
<TextureBar ID="CityHealthBar" Anchor="R,C" Offset="8,3" Size="66,7" Texture="CityBannerShieldsBar1" Direction="Right" Speed="1" Percent="1.0" />
<TextureBar ID="CityDefenseBar" Anchor="R,C" Offset="8,-4" Size="66,7" Texture="CityBannerShieldsBar1" Direction="Right" Speed="1" Percent="1.0" Color="120,198,247,255"/>
<!-- District ranged strike button -->
<Image ID="CityStrike" Texture="CityBannerRangeAttackRim" Size="36,45" Anchor="C,B" Offset="0,-4" AnchorSide="I,O">
<Button ID="CityStrikeButton" Style="CityBannerRangeAttack" Anchor="C,B" Offset="0,10" StateOffsetIncrement="0,25" ConsumeMouse="1" ToolTip="LOC_CITY_BANNER_DISTRICT_RANGE_STRIKE"/>
</Image>
</Container>
</ZoomAnchor>
</Instance>
<!-- District Minibanner -->
<Instance Name="DistrictBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="DistrictBannerContainer" Anchor="C,C" Size="34,34">
<!-- Banner Background -->
<Image ID="Banner_Base" Size="parent,parent" Texture="BannerMini2_Base_Combo"/>
<Image ID="DistrictIcon" Anchor="C,C" Offset="0,0" Size="22,22" IconSize="22" Icon="ICON_DISTRICT_CITY_CENTER"/>
<Image ID="UnderConstructionIcon" Anchor="C,C" Size="22,22" IconSize="22" Icon="ICON_DISTRICT_UNDER_CONSTRUCTION"/>
</Container>
</ZoomAnchor>
</Instance>
<!-- Worked Plots of Local Cities -->
<Instance Name="CQUI_WorkedPlotInstance">
<WorldAnchor ID="Anchor" Size="2,2">
<Image ID="CitizenMeterBG" Anchor="L,C" Offset="-10,-20" Size="76,62" Texture="CityPanel_ManageCitizensMeterBacking" Hidden="1">
<TextureBar ID="CitizenMeter" Anchor="C,B" Offset="19,3" Direction="Up" Speed="0" Size="31,56" Texture="CityPanel_ManageCitizensMeter"/>
<Label ID="CurrentAmount" Anchor="L,T" Offset="49,10" Style="FontFlair18" FontStyle="Stroke" Color="201,217,227,255" EffectColor="0,0,0,150"/>
<Line Anchor="L,T" Start="49,37" End="67,25" Width="1" Color="201,217,227,255" />
<Label ID="TotalAmount" Anchor="R,B" Offset="9,7" Style="FontFlair18" FontStyle="Stroke" Color="201,217,227,255" EffectColor="0,0,0,150"/>
</Image>
<GridButton ID="CQUI_NextPlotButton" Anchor="C,T" Offset="0,-10" Size="95,30" Hidden="1" Style="PurchaseTileButton" ToolTip="LOC_HUD_CITY_NEXT_PLOT">
<Label ID="CQUI_NextPlotLabel" String="Next Tile" ToolTip="LOC_HUD_CITY_NEXT_PLOT" Anchor="C,C" Offset="0,0" Style="CityPanelCBCulture" Align="Left"/>
</GridButton>
<Button ID="CitizenButton" Anchor="C,T" Offset="0,-50" Size="64,64" Alpha=".50" Texture="CityPanel_ManageCitizenButton.dds" Hidden="1" NoStateChange="1" />
<Image ID="LockedIcon" Anchor="R,B" Offset="-35,30" Size="32,32" Texture="Padlock" Hidden="1"/>
</WorldAnchor>
</Instance>
<!-- CQUI Instances populate in CQUI_Districts -->
<Instance Name="CQUI_DistrictBuilt">
<Image ID="Icon" Size="26,26" Anchor="C,C"/>
</Instance>
</Include>
================================================
FILE: Assets/Expansion1/CityBanners/citybannermanager.xml
================================================
<?xml version="1.0" encoding="utf-8" ?>
<Context>
<!-- ====== CQUI CityBannerManager Replacement File ====== -->
<Include File="CityBannerInstances"/>
<!-- No changes to this file from the unmodified version, aside from adding a hidden container that is used to verify this file was loaded. -->
<!-- In Linux especially, the Modding.log file does not always show a failure to load this XML or any of the "Include" files below. -->
<!-- To see if this file loaded in the Live Tuner, change the Lua State to CityBannerManager and then run the following command: -->
<!-- for k, v in pairs(Controls) do print(k.." "..tostring(v)) end -->
<!-- This will print out all of the Container objects in CityBannerManager and should include CQUI Empty Containers for CityBannerInstances, CityBannerManager, and CityReligionInstances-->
<!-- Note: In Linux, this file is only loading if the name is all lower-cased (unlike the other two files... see notes in those XML files) -->
<Container ID="CQUI_EmptyContainer_CityBannerManager_Exp1" Hidden="1"/>
<!-- Instances that make up City Banners -->
<Include File="CityBannerInstances"/>
<!-- Containers which contain banners -->
<Container ID="CityBanners"/>
<Container ID="CityDistrictIcons"/>
<Container ID="CQUI_WorkedPlotContainer" />
<!-- Copied from the Barbarian Tribes DLC, so CQUI can work with it -->
<!-- CQUI Added modifications to show icons in the Banner -->
<Instance Name="TribeBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="TribeBannerContainer" Anchor="C,C" Size="106,34">
<Button ID="TribeBannerButton" Anchor="C,C" Size="parent,parent">
<Grid ID="Banner_Base" Size="parent,parent" Texture="BannerMini_Base_Combo" SliceCorner="18,9" SliceSize="44,16" SliceTextureSize="80,34"/>
<Stack ID="TribeStatusStack" Anchor="L,C" StackGrowth="Right" StackPadding="1">
<Container Size="30,30" Offset="4,0">
<Image ID="TribeIcon" Size="30,30" Offset="0,0" Icon="ICON_DISTRICT_CITY_CENTER"/>
<Label ID="CanHireUnit" Anchor="L,T" Offset="2,0" FontSize="20" FontStyle="Stroke" Color0="224,224,0,255" Color1="112,112,0,255"/>
</Container>
<Image ID="TribeIconBribedBacking" Anchor="C,C" Offset="0,0" Size="22,22" Texture="CircleBacking22.dds" Color="20,20,20,255" Hidden="1">
<Image ID="TribeIconBribed" Anchor="C,C" Offset="-1,0" Size="22,22" Texture="Bribe22"/>
<Label ID="BribedTurnsLeft" Anchor="R,B" Offset="0,-2" Style="StrongSmall2"/>
</Image>
<Image ID="TribeIconIncitedAgainstUsBacking" Anchor="C,C" Size="22,22" Offset="0,0" Texture="CircleBacking22.dds" Color="20,20,20,255" Hidden="1">
<Image ID="TribeIconIncitedAgainstUs" Anchor="C,C" Offset="-1,0" Size="22,22" Texture="Incite22"/>
</Image>
<Image ID="TribeIconIncitedByUsBacking" Anchor="C,C" Size="22,22" Offset="0,0" Texture="CircleBacking22.dds" Color="20,20,20,255" Hidden="1">
<Image ID="TribeIconIncitedByUs" Anchor="C,C" Offset="-1,0" Size="22,22" Texture="InciteByMe22"/>
</Image>
<Image ID="TribeRansomUnitBacking" Anchor="C,C" Size="22,22" Offset="0,0" Texture="CircleBacking22.dds" Color="20,20,20,255" Hidden="1">
<Image ID="TribeRansomUnit" Anchor="L,C" Size="22,22" Icon="Exclamation" Color="255,255,0,255"/>
</Image>
<Container ID="ConversionBarContainer" Size="60,7" Anchor="R,C" Offset="-2,0">
<TextureBar ID="ConversionBarBG" Anchor="C,C" Offset="5,0" Size="60,7" Texture="CityBannerShieldsBar1" Direction="Right" Speed="1" Percent="1.0" Color="40,64,82,200"/>
<TextureBar ID="ConversionBar" Anchor="C,C" Offset="5,0" Size="60,7" Texture="CityBannerShieldsBar1" Direction="Right" Speed="1" Percent="1.0" Color="120,198,247,255"/>
</Container>
</Stack>
</Button>
</Container>
</ZoomAnchor>
</Instance>
</Context>
================================================
FILE: Assets/Expansion1/CityBanners/cityreligioninstances.xml
================================================
<Include File="CityReligionInstances">
<!-- CQUI CityReligionInstances Replacement File -->
<!-- Note: This file only loads in Linux if naming and casing is CityReligionInstances.xml -->
<!-- See note in citybannermanager.xml regarding this hidden container below -->
<Container ID="CQUI_EmptyContainer_CityReligionInstances_Exp1" Hidden="1"/>
<Instance Name="ReligionInfo">
<!-- Religion Info Dropdown -->
<Container ID="ReligionInfoContainer" Anchor="C,B" AnchorSide="I,O" Offset="0,-2" Size="200,200">
<GridButton ID="ReligionInfoButton" Anchor="C,T" Size="auto,auto" MinSize="160,31" AutoSizePadding="0,2" Texture="Banner_DataFrame" NoStateChange="1" SliceCorner="23,14" SliceSize="76,3" SliceTextureSize="122,31">
<Stack Anchor="C,C" Offset="0,2" StackGrowth="Down" StackPadding="0">
<Stack ID="ReligionInfoIconStack" Anchor="C,T" StackGrowth="Right" StackPadding="6"/>
<Stack ID="ReligionConversionTurnsStack" Anchor="C,T" StackGrowth="Right" StackPadding="4">
<Image ID="ConvertingReligionIconBacking" Anchor="C,C" Texture="Religion_FollowersSlot" Size="30,30">
<Image ID="ConvertingReligionIcon" Anchor="C,C" Size="22,22" IconSize="22"/>
</Image>
<AlphaAnim ID="ConvertingSoonAlphaAnim" Size="auto,auto" Anchor="C,C" AlphaBegin="1.0" AlphaEnd="0.3" Speed="2" Cycle="Bounce" Stopped="1">
<Label ID="ConvertingReligionLabel" Style="FontNormal16"/>
</AlphaAnim>
<Label Anchor="C,C" Offset="0,-2" Style="FontNormal16" String="[Icon_Turn]"/>
</Stack>
</Stack>
<Image Anchor="C,T" Offset="0,-2" Size="160,8" Style="Divider3Grid"/>
</GridButton>
<GridButton ID="ReligionInfoDetailedButton" Anchor="C,T" Size="240,150" Texture="Banner_DataFrameExtended" SliceCorner="19,9" SliceSize="53,4" Hidden="1">
<!-- Religion Follower List -->
<ScrollPanel ID="ReligionFollowerListScrollPanel" Offset="12,14" Size="100,120" Vertical="1" AutoScrollBar="1">
<ScrollBar Anchor="L,C" AnchorSide="O,I" Offset="-2,0" Style="ScrollVerticalBar"/>
<Stack ID="ReligionFollowerListStack"/>
</ScrollPanel>
<!-- Divider -->
<Box Anchor="C,C" Size="2,parent-12" Color="0,0,0,255"/>
<!-- Religious Pressure by this City -->
<Container Anchor="C,T" Offset="54,16" Size="auto,auto" ToolTip="LOC_CITY_BANNER_OUTGOING_RELIGION_PRESSURE">
<Stack StackGrowth="Right" StackPadding="0">
<Label Offset="0,3" FontSize="16" String="[Icon_PressureRight]"/>
<Label ID="ExertedReligiousPressure" Anchor="L,C" Offset="0,-1" Style="FontNormal16" String="+22"/>
</Stack>
</Container>
<!-- Religion Follower Chart -->
<Container Anchor="C,T" Offset="54,30" Size="110,parent" >
<Image Anchor="C,T" Offset="0,14" Size="74,74" Texture="Religion_PieFill" Color="0,0,0,200"/>
<Container ID="ReligionPopChartContainer" Anchor="C,T" Offset="0,14" Size="74,74"/>
<Image ID="ReligionPopChartIcon" Anchor="C,T" Offset="0,25" Size="50,50" IconSize="50" Icon="ICON_RELIGION_BUDDHISM" Alpha="0.5"/>
</Container>
</GridButton>
<Image Anchor="C,T" Offset="0,-4" Size="23,15" Texture="Banner_DataFrameArrow"/>
</Container>
</Instance>
<Instance Name="ReligionChange">
<AlphaAnim ID="FadeAnim" AlphaStart="0" AlphaEnd="1" Speed="1" Cycle="Once" Offset="0,0" Anchor="C,C" Stopped="true" >
<SlideAnim ID="SlideAnim" Function="Root" Start="-5,5" End="-5,-5" Speed="2.5" Cycle="Once" Offset="0,0" Stopped="true" >
<Image ID="ReligionIcon" Size="22,22" Anchor="C,C" Texture="Religions22" />
<Image ID="ChangeIcon" Size="23,29" Offset ="22,0" Anchor="C,C" Texture="PressureUp" />
<Label ID="TextLabel" Offset ="25,0" Anchor="L,C" Style="FontFlair22" Text="TextLabel" />
</SlideAnim>
</AlphaAnim>
</Instance>
<Instance Name="HolySiteIcon">
<ZoomAnchor ID="Anchor" Size="22,22" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Grid ID="HolySiteBacking" Style="DistrictBonusBack" Size="auto,default" AutoSizePadding="8,0">
<Label ID="HolySiteLabel" Anchor="C,C" Style="FontNormal16" Text="TextLabel" Offset="-2,-1" FontStyle="Glow" Color="208,212,217,255" EffectColor="88,144,191,100"/>
</Grid>
</ZoomAnchor>
</Instance>
<Instance Name="ReligionFollowers">
<Image ID="ReligionIcon" Size="22,22" Anchor="C,C" Texture="Religions22" >
<Stack ID="FollowerStack" StackGrowth="Right">
<Label ID="NumFollowers" Offset ="25,0" Anchor="L,C" Style="FontFlair22" Text="NumFollowers" />
<Container ID="PressureContainer" Anchor="C,C" Offset="3,0" Size="auto,auto"/>
</Stack>
</Image>
</Instance>
<!-- Infixo this is the singular religion icon displayed below the banner -->
<Instance Name="ReligionIconInstance">
<Container ID="ReligionIconContainer" Anchor="L,T" Size="auto,30">
<Stack StackGrowth="Right">
<Image ID="ReligionIconButtonBacking" Texture="Religion_FollowersSlot" Size="30,30">
<Image ID="ReligionIconButton" Anchor="C,C" Size="22,22" IconSize="22"/>
</Image>
<Label ID="ReligionIconFollowers" Offset="0,6" Style="FontNormal18" Text="$3$" />
</Stack>
</Container>
</Instance>
<Instance Name="ReligionFollowerListInstance">
<Container ID="ReligionFollowerListContainer" Size="80,30">
<Image ID="ReligionFollowerIconBacking" Anchor="L,C" Offset="0,0" Texture="Religion_FollowersSlot" Size="30,30">
<Image ID="ReligionFollowerIcon" Anchor="C,C" Size="22,22" IconSize="22"/>
</Image>
<Label ID="ReligionFollowerCount" Anchor="L,C" Offset="30,0" Style="FontNormal16" String="22"/>
<Container Anchor="L,C" Size="auto,auto" Offset="45,3" ToolTip="LOC_CITY_BANNER_INCOMING_RELIGION_PRESSURE">
<Label Anchor="L,C" FontSize="16" String="[Icon_PressureLeft]"/>
<Label ID="ReligionFollowerPressure" Anchor="L,C" Offset="20,-3" Style="FontNormal16" String="22"/>
</Container>
</Container>
</Instance>
<Instance Name="ReligionPopChartInstance">
<Meter ID="PopChartMeter" Anchor="C,C" Size="74,74" Texture="Religion_PieFill" Speed="0"/>
</Instance>
<Instance Name="PressureLow">
<Image ID="PressureIcon" Size="10,14" Anchor="C,C" Texture="PressureLow" />
</Instance>
<Instance Name="PressureMedium">
<Image ID="PressureIcon" Size="10,19" Anchor="C,C" Texture="PressureMedium" />
</Instance>
<Instance Name="PressureHigh">
<Image ID="PressureIcon" Size="16,19" Anchor="C,C" Texture="PressureHigh" />
</Instance>
</Include>
================================================
FILE: Assets/Expansion1/Replacements/CityPanel_Expansion1.lua
================================================
-- Copyright 2017-2019, Firaxis Games
include("CityPanel");
BASE_CQUI_ViewMain = ViewMain;
-- ===========================================================================
function ViewMain( kData:table )
BASE_CQUI_ViewMain( kData );
-- ==== CQUI CUSTOMIZATION BEGIN ====================================================================================== --
-- swarsele: change religious citizens to loyalty
local pCity = UI.GetHeadSelectedCity()
if pCity ~= nil then
local pCulturalIdentity = pCity:GetCulturalIdentity();
local currentLoyalty = pCulturalIdentity:GetLoyalty();
local loyaltyPerTurn:number = pCulturalIdentity:GetLoyaltyPerTurn();
Controls.ReligionIcon:SetIcon("ICON_STAT_CULTURAL_FLAG");
Controls.ReligionLabel:SetText(Locale.Lookup("LOC_CULTURAL_IDENTITY_LOYALTY_SUBSECTION"));
if Controls.CQUI_Loyalty ~= nil then
local loyaltyValueSign = "";
if loyaltyPerTurn >= 0 then
loyaltyValueSign = "+";
end
Controls.CQUI_Loyalty:SetText(Round(currentLoyalty, 1));
Controls.CQUI_LoyaltyPerTurn:SetText(" (" .. loyaltyValueSign .. Round(loyaltyPerTurn,1) .. ")");
end
-- m4a: Move the Religion tool tip to the City Size icon
local religionTooltip = Controls.ReligionGrid:GetToolTipString();
Controls.ReligionGrid:SetToolTipString("");
Controls.CitizensGrowthButton:SetToolTipString(religionTooltip);
end
-- ==== CQUI CUSTOMIZATION END ======================================================================================== --
end
-- ===========================================================================
function OnCityLoyaltyChanged( ownerPlayerID:number, cityID:number )
if UI.IsCityIDSelected(ownerPlayerID, cityID) then
UI.DeselectCityID(ownerPlayerID, cityID);
end
end
-- ===========================================================================
function LateInitialize()
Events.CityLoyaltyChanged.Add(OnCityLoyaltyChanged);
end
================================================
FILE: Assets/Expansion1/Replacements/citypanelculture_CQUI.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("CityPanelCulture");
-- ===========================================================================
-- Cached Base Functions
-- ===========================================================================
BASE_CQUI_OnRefresh = OnRefresh;
-- ===========================================================================
-- CQUI Members
-- ===========================================================================
local CQUI_ShowCityDetailAdvisor :boolean = false;
function CQUI_OnSettingsUpdate()
CQUI_ShowCityDetailAdvisor = GameConfiguration.GetValue("CQUI_ShowCityDetailAdvisor") == 1
end
-- ===========================================================================
-- CQUI modified OnRefresh functiton
-- Hide
-- ===========================================================================
function OnRefresh()
if ContextPtr:IsHidden() then
return;
end
local localPlayerID = Game.GetLocalPlayer();
local pPlayer = Players[localPlayerID];
if (pPlayer == nil) then
return;
end
local pCity = UI.GetHeadSelectedCity();
if (pCity == nil) then
return;
end
BASE_CQUI_OnRefresh();
-- AZURENCY : hide the advisor if option is disabled
if not Controls.CulturalIdentityAdvisor:IsHidden() then
Controls.CulturalIdentityAdvisor:SetHide( CQUI_ShowCityDetailAdvisor == false );
end
end
-- ===========================================================================
function Initialize_CityPanelCulture_CQUI()
LuaEvents.CityPanelTabRefresh.Remove(BASE_CQUI_OnRefresh);
Events.GovernorAssigned.Remove( BASE_CQUI_OnRefresh );
Events.GovernorChanged.Remove( BASE_CQUI_OnRefresh );
Events.CitySelectionChanged.Remove( BASE_CQUI_OnRefresh );
Events.CityLoyaltyChanged.Remove( BASE_CQUI_OnRefresh );
LuaEvents.CityPanelTabRefresh.Add(OnRefresh);
Events.GovernorAssigned.Add( OnRefresh );
Events.GovernorChanged.Add( OnRefresh );
Events.CitySelectionChanged.Add( OnRefresh );
Events.CityLoyaltyChanged.Add( OnRefresh );
LuaEvents.CQUI_SettingsUpdate.Add(CQUI_OnSettingsUpdate);
LuaEvents.CQUI_SettingsInitialized.Add(CQUI_OnSettingsUpdate);
end
Initialize_CityPanelCulture_CQUI();
================================================
FILE: Assets/Expansion1/Replacements/citypaneloverview_expansion1_CQUI.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("CityPanelOverview_Expansion1");
-- ===========================================================================
-- CQUI Members
-- ===========================================================================
local CQUI_AutoapplyLoyaltyLensInCity :boolean = true;
local CQUI_ShowCityManageOverLenses :boolean = false;
function CQUI_OnSettingsUpdate()
CQUI_AutoapplyLoyaltyLensInCity = GameConfiguration.GetValue("CQUI_AutoapplyLoyaltyLensInCity");
CQUI_ShowCityManageOverLenses = GameConfiguration.GetValue("CQUI_ShowCityManageOverLenses");
end
LuaEvents.CQUI_SettingsUpdate.Add(CQUI_OnSettingsUpdate);
LuaEvents.CQUI_SettingsInitialized.Add(CQUI_OnSettingsUpdate);
-- ===========================================================================
-- Functions
-- ===========================================================================
function ViewPanelAmenities(data:table)
BASE_ViewPanelAmenities(data); -- AZURENCY : this is the base game version
--kInstance = m_kAmenitiesIM:GetInstance();
--kInstance.Amenity:SetText( Locale.Lookup("LOC_HUD_CITY_AMENITIES_LOST_FROM_GOVERNORS") );
--kInstance.AmenityYield:SetText( Locale.ToNumber(data.AmenitiesFromGovernors) );
CQUI_BuildAmenityBubbleInstance("ICON_GOVERNOR_THE_EDUCATOR", data.AmenitiesFromGovernors, "LOC_REPORTS_GOVERNOR");
end
function RefreshCulturalIdentityPanel()
--UILens.SetActive("Loyalty");
if (CQUI_AutoapplyLoyaltyLensInCity) then
SetDesiredLens("Loyalty");
if (not CQUI_ShowCityManageOverLenses) then
LuaEvents.CQUI_HideCitizenManagementLens();
end
else
SetDesiredLens("CityManagement");
end
LuaEvents.CityPanelTabRefresh();
end
================================================
FILE: Assets/Expansion1/Replacements/citystates.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<Context xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="..\..\..\..\..\CivTech\Libs\ForgeUI\ForgeUI_Assets\Controls.xsd">
<SlideAnim ID="SlideAnim" Anchor="R,T" Size="514,parent" Start="-514,27" End="-1,27" Cycle="Once" Speed="3.4" Function="OutSine" Stopped="1">
<Image Anchor="R,T" Size="parent,parent+5" Texture="Controls_BannerWide" StretchMode="Tile" ConsumeMouse="1" >
<Image Texture="Controls_GradientSmall" Size="22,parent" AnchorSide="O,I" Anchor="L,T" Color="0,0,0,255" Rotate="90" Offset="-2,0"/>
</Image>
<!-- List view of CityStates -->
<Container ID="ListOfCityStates" Size="parent,parent">
<Grid ID="HeaderBG" Size="parent,165" Texture="Controls_TitleBarDark" SliceCorner="21,17" SliceTextureSize="42,34">
<Image Size="parent,parent" Texture="Controls_Gradient_HalfRadial" Color="170,176,180,90" FlipY="1" />
<Grid Anchor="C,T" Offset="22,60" Size="396,58" Texture="Controls_DecoFrame" SliceCorner="20,19" SliceTextureSize="40,38" Color="30,43,52,255">
<Label ID="Header" Anchor="C,C" Offset="0,-7" Style="CityStateHeaderText" String="{LOC_CITY_STATES_OVERVIEW:upper}" />
<Label ID="EnvoyDetails" Anchor="C,C" Offset="0,14" Style="CityStateColumnHeaderText" String="" />
<Container ID="Envoys" Anchor="R,C" Size="auto,24" ToolTip="LOC_TOP_PANEL_INFLUENCE" Offset="5,2">
<Stack ID="EnvoysStack" Anchor="L,C" Offset="0,-2" StackGrowth="Right">
<Image ID="EnvoysBacking" Size="24,24" Texture="Controls_MeterTinyBacking">
<Label Anchor="L,C" Offset="1,1" Style="FontNormal14" ColorSet="TopBarValueCS" String="[ICON_Envoy]" />
<Meter ID="EnvoysMeter" Speed="1" Follow="1" Size="24,24" Texture="Controls_MeterTinyFill" />
</Image>
</Stack>
</Container>
</Grid>
<Image Offset="4,50" Size="76,76" Texture="CityStateOverview" />
<Grid ID="TitleBG" Anchor="R,T" Offset="-50,-2" Size="600,74" Texture="Controls_BannerHeaderRed" SliceCorner="371,0" SliceSize="1,74" SliceTextureSize="426,74">
<Label ID="Title" Anchor="L,T" Offset="42,15" Style="WorldRankingsTitle" />
</Grid>
<Container ID="AllCityStates" Size="parent,parent">
<Button ID="CloseListButton" Anchor="R,T" Offset="0,56" Style="CloseButtonSmall" />
</Container>
<Grid Anchor="L,B" Offset="14,6" Size="160,28" Style="CityStateColumnHeaderGrid">
<Label Anchor="L,C" Offset="10,0" Style="CityStateColumnHeaderText" String="LOC_CITY_STATES_CITY_STATE" />
</Grid>
<Grid Anchor="L,B" Offset="176,6" Size="90,28" Style="CityStateColumnHeaderGrid">
<Label Anchor="C,C" Style="CityStateColumnHeaderText" String="LOC_CITY_STATES_ENVOYS" />
</Grid>
<Grid Anchor="L,B" Offset="268,6" Size="198,28" Style="CityStateColumnHeaderGrid">
<Label Anchor="L,C" Offset="10,0" Style="CityStateColumnHeaderText" String="LOC_CITY_STATES_BONUSES_EARNED" />
</Grid>
</Grid>
<ScrollPanel ID="CityStateScroll" Offset="12,164" Size="490,parent-174" Vertical="1" AutoScrollBar="1">
<Stack ID="CityStateStack" Anchor="L,T" Offset="0,1" StackPadding="4" />
<ScrollBar Anchor="R,C" Offset="-1,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
<Label ID="NoneMet" Anchor="C,C" Offset="0,50" Align="Center" Style="FontFlair20" String="LOC_CITY_STATES_NONE_MET" Hidden="1" />
<Grid ID="BonusArea" Anchor="L,B" Offset="0,70" Size="parent,parent-570" Texture="Controls_Glow" SliceCorner="90,90" SliceTextureSize="179,178" Color="0,0,0,255" Hidden="1">
<Grid ID="BonusDecoLeft" Offset="20,45" Size="18,parent-50" Texture="Controls_Deco" SliceCorner="9,24" SliceTextureSize="18,49" Color="30,36,40,255" />
<Grid ID="BonusDecoRight" Anchor="R,T" Offset="20,45" Size="18,parent-50" Texture="Controls_Deco" SliceCorner="9,24" SliceTextureSize="18,49" Color="30,36,40,255" SliceStart="20,0" />
<Grid ID="BonusHeader" Offset="0,0" Size="parent,40" Texture="Controls_TitleBarDark" SliceCorner="21,17" SliceTextureSize="42,34">
<Image Size="parent,parent" Texture="Controls_Gradient_HalfRadial" Color="170,176,180,35" />
<Label ID="SubHeader" Anchor="C,C" Offset="0,3" Style="FontFlair24" Color0="170,176,180" String="{LOC_CITY_STATES_BONUSES_EARNED:upper}" SmallCaps="30" SmallCapsType="EveryWord" />
</Grid>
<ScrollPanel ID="BonusScroll" Offset="50,39" Size="400,parent-39" Vertical="1">
<Stack ID="BonusStack" Anchor="L,T" Offset="0,1" StackPadding="4" />
<ScrollBar Anchor="R,C" Offset="10,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
</Grid>
<Grid Anchor="C,B" Offset="1,-4" Size="parent+5,32" Texture="Controls_BannerBottom" SliceCorner="18,2" SliceTextureSize="37,32" />
<Grid ID="ConfirmFrame" Anchor="C,B" Offset="0,10" Size="parent-30,60" Texture="Controls_ConfirmFrame" SliceCorner="38,30" SliceTextureSize="76,60" Hidden="1">
<GridButton ID="ConfirmButton" Anchor="C,C" Offset="0,-1" Size="parent-70,41" Texture="Controls_Confirm" SliceCorner="40,20" SliceTextureSize="80,41" StateOffsetIncrement="0,41" String="LOC_CITY_STATES_CONFIRM_PLACEMENT" Style="FontNormal16" />
</Grid>
</Container>
<!-- Individual CityState View -->
<Container ID="SingleCityState" Size="parent,parent">
<Image Anchor="R,B" Offset="3,0" Size="47,239" Texture="Diplomacy_RibbonBottom.dds" />
<Image Anchor="R,T" Offset="3,0" Size="47,parent-32" Texture="Diplomacy_Ribbon.dds">
<Stack ID="CityStateIconStack" Offset="4,70" StackGrowth="Bottom" Padding="8" />
</Image>
<Grid Offset="3,70" Size="parent-55,parent-70" Style="DiplomacyInfoWindowGrid">
<Grid Size="parent,165" Style="DiplomacyInfoHeaderGrid" />
<Button ID="CloseBackButton" Anchor="R,T" Style="BackButtonSmall" />
<Image Anchor="C,T" Offset="0,-21" Texture="Diplomacy_PortraitBacking" />
<Image Anchor="C,T" Offset="0,-56" Texture="CityState_HeaderCircle" />
<Image ID="CityStateTypeIcon" Anchor="C,T" Offset="-1,-58" Size="64,64" Texture="CivSymbols64" />
<Image Anchor="C,T" Offset="0,-64" Texture="Diplomacy_YouIndicatorLarge">
<Image ID="DiplomacyPip" Anchor="L,B" Size="23,23" Texture="Diplomacy_RelationshipPips" />
</Image>
<Label Anchor="C,T" Offset="0,25" Style="FontFlair16" SmallCaps="26" SmallCapsType="EveryWord" String="{LOC_CITY_STATES_CITY_STATE:upper}" />
<Label ID="CityStateName" Anchor="C,T" Offset="0,47" Style="FontFlair24" SmallCaps="30" SmallCapsType="EveryWord" String="$CityStateName$" />
<Stack ID="SingleViewStack" Offset="1,80" StackGrowth="Bottom">
<Stack ID="SubMenu" Offset="1,0" StackGrowth="Bottom" StackPadding="-8">
<!-- TODO: REmove, using Back button
<GridButton ID="SendAnEnvoyButton" Size="parent-4,41" Style="CityStateSubMenuButton" String="LOC_CITY_STATES_SEND_AN_ENVOY"/>
-->
<GridButton ID="PeaceWarButton" Size="parent-4,41" Style="CityStateSubMenuButton" String="LOC_CITY_STATES_MAKE_PEACE" />
<GridButton ID="LevyMilitaryButton" Size="parent-4,41" Style="CityStateSubMenuButton" String="LOC_CITY_STATES_LEVY_MILITARY_BUTTON" />
</Stack>
<Grid Anchor="C,T" Offset="0,0" Size="parent-10,40" Texture="Controls_TitleBarDark" SliceCorner="21,17" SliceTextureSize="42,34">
<Image Size="parent,parent" Texture="Controls_Gradient_HalfRadial" Color="170,176,180,35" />
<Label Anchor="C,C" Offset="0,3" Style="FontFlair24" Color0="170,176,180" String="{LOC_CITY_STATES_REPORT:upper}" SmallCaps="30" SmallCapsType="EveryWord" />
</Grid>
<Box ID="ReportArea" Anchor="C,T" Offset="0,0" Size="parent-10,auto" Color="3,4,5,255">
<Image Anchor="L,T" Offset="1,1" Size="parent-2,auto" Texture="Controls_Gradient" Color="30,40,50,255" AutoSize="V" AutoSizePadding="0,3">
<Box Anchor="C,B" Offset="0,0" Size="parent,1" Color="40,50,60,255" />
<Grid ID="ReportDeco" Anchor="C,T" Offset="0,2" Size="parent-10,auto" Texture="Controls_Deco" Style="DecoGrid" Color="50,56,70,255">
<Label Anchor="R,T" Offset="230,10" Style="CityStateTextLabel" String="LOC_CITY_STATES_TYPE" />
<Label ID="TypeValue" Anchor="L,T" Offset="230,10" Style="CityStateTextValue" String="$TypeValue$" />
<Label Anchor="R,T" Offset="230,31" Style="CityStateTextLabel" String="LOC_CITY_STATES_SUZERAIN_LIST" />
<Label ID="PatronValue" Anchor="L,T" Offset="230,31" Style="CityStateTextValue" String="$PatronValue$" />
<GridButton ID="EnvoysSentButton" Anchor="R,T" Offset="224,50" Size="170,21" Style="CityStateTinyButton" String="LOC_CITY_STATES_ENVOYS_SENT" />
<Label ID="EnvoysSentValue" Anchor="L,T" Offset="230,52" Style="CityStateTextValue" String="$EnvoysSentValue$" />
<GridButton ID="InfluencedByButton" Anchor="R,T" Offset="224,71" Size="170,21" Style="CityStateTinyButton" String="LOC_CITY_STATES_INFLUENCED_BY" />
<Label ID="InfluencedByValue" Anchor="L,T" Offset="230,73" Style="CityStateTextValue" String="$InfluencedByValue$" />
<GridButton ID="QuestsButton" Anchor="R,T" Offset="224,92" Size="170,21" Style="CityStateTinyButton" String="LOC_CITY_STATES_QUESTS" />
<Label ID="QuestsValue" Anchor="L,T" Offset="230,94" Style="CityStateTextValue" String="$QuestsValue$" />
<GridButton ID="RelationshipsButton" Anchor="R,T" Offset="224,113" Size="170,21" Style="CityStateTinyButton" String="LOC_CITY_STATES_RELATIONSHIPS" />
<Stack ID="RelationshipsButtonStack" Anchor="L,T" Offset="226,110" StackGrowth="Right" WrapWidth="200" />
</Grid>
</Image>
</Box>
</Stack>
<!-- Tab Area -->
<Container ID="ReportTabContainer" Anchor="C,B" Offset="0,24" Size="parent,400">
<Container ID="EnvoysSentArea" Size="parent,parent">
<Grid Offset="10,10" Size="parent-20,40" Style="CityStateStatHeader">
<Label Anchor="C,C" Style="FontFlair28" String="LOC_CITY_STATES_ENVOYS_SENT" Color="170,176,180" />
<Container Anchor="R,C" Offset="17,1" Size="1,1">
<Label ID="EnvoysSentValue2" Anchor="C,C" Style="FontFlair28" String="0" Color="170,176,180" />
</Container>
</Grid>
<ScrollPanel ID="EnvoysBonusScroll" Offset="7,60" Size="parent-25,parent-60" Vertical="1">
<Stack ID="EnvoysBonusStack" Anchor="L,T" Offset="0,1" StackPadding="4" />
<ScrollBar Anchor="R,C" Offset="0,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
</Container>
<Container ID="InfluenceArea" Size="parent,parent" Hidden="1">
<Grid Offset="10,10" Size="parent-20,40" Style="CityStateHeader">
<Label Anchor="C,C" Style="CityStateHeaderText" String="{LOC_CITY_STATES_ENVOYS_INFLUENCE_BY_CIVILIZATION:upper}" />
</Grid>
<ScrollPanel ID="InfluenceScroll" Offset="7,60" Size="parent-15,parent-60" Vertical="1">
<Stack ID="InfluenceStack" Anchor="L,T" Offset="0,1" StackPadding="4" />
<ScrollBar Anchor="R,C" Offset="4,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
</Container>
<Container ID="QuestsArea" Size="parent,parent" Hidden="1">
<Grid Offset="10,10" Size="parent-20,40" Style="CityStateHeader">
<Label Anchor="C,C" Style="CityStateHeaderText" String="{LOC_CITY_STATES_AVAILABLE_QUESTS:upper}" />
</Grid>
<ScrollPanel ID="QuestsScroll" Offset="7,60" Size="parent-15,parent-60" Vertical="1">
<Stack ID="QuestsStack" Anchor="L,T" Offset="0,1" StackPadding="20" />
<ScrollBar Anchor="R,C" Offset="-12,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
</Container>
<Container ID="RelationshipsArea" Size="parent,parent" Hidden="1">
<Grid Offset="10,10" Size="parent-20,40" Style="CityStateHeader">
<Label Anchor="C,C" Style="CityStateHeaderText" String="{LOC_CITY_STATES_RELATIONSHIPS:upper}" />
</Grid>
<ScrollPanel ID="RelationshipsScroll" Offset="7,60" Size="parent-15,parent-60" Vertical="1">
<Stack Anchor="C,T" StackGrowth="Down" StackPadding="4">
<Container Size="parent,auto">
<Grid Style="DividerGrid" Size="parent-8,8" Anchor="C,C" Color="34,48,59,255"/>
<Grid Style="DropShadow4" Size="auto,auto" Anchor="C,C">
<Label String="{LOC_CITY_STATES_CIVILIZATION_HEADER:upper}" Anchor="C,C" Style="DiplomacyGossipHeader"/>
</Grid>
</Container>
<Stack ID="RelationshipsCivsStack" Anchor="C,T" StackGrowth="Right" WrapWidth="400"/>
<Container Size="parent,auto">
<Grid Style="DividerGrid" Size="parent-8,8" Anchor="C,C" Color="34,48,59,255"/>
<Grid Style="DropShadow4" Size="auto,auto" Anchor="C,C">
<Label String="{LOC_CITY_STATES_CITY_STATES:upper}" Anchor="C,C" Style="DiplomacyGossipHeader"/>
</Grid>
</Container>
<Stack ID="RelationshipsCityStatesStack" Anchor="C,T" StackGrowth="Right" WrapWidth="400"/>
</Stack>
<ScrollBar Anchor="R,C" Offset="-12,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
</Container>
</Container>
</Grid>
</Container>
</SlideAnim>
<!-- ================================================================== -->
<!-- Instances -->
<!-- ================================================================== -->
<Instance Name="CityStateRowInstance">
<GridButton ID="CityStateBase" Size="parent,48" Style="SubContainer4" Color="59,62,63,255">
<!-- ==== CQUI Modification: changed Anchor and Offset value for Button ==== -->
<BoxButton ID="Button" Anchor="L,T" Offset="8,4" Size="40,40" Color="0,0,0,0">
<Image ID="Icon" Anchor="L,C" Size="36,36" Texture="CivSymbols36" />
<!-- ==== CQUI Modification: changed Offset value for DiplomacyPip ==== -->
<Image ID="DiplomacyPip" Anchor="L,B" Offset="-10,-2" Size="23,23" Texture="Diplomacy_RelationshipPips" />
<Label ID="QuestIcon" Anchor="L,T" Offset="-9,0" String="[ICON_CityStateQuest]" Size="28,28" />
</BoxButton>
<!-- ==== CQUI Modification: added Anchor and changed OffsetY ==== -->
<GridButton ID="NameButton" Anchor="L,T" Offset="42,11" Size="126,33" Texture="Controls_CityBannerSmall" SliceCorner="14,9" SliceSize="5,4" SliceTextureSize="33,28" Color="50,50,50,255">
<Label ID="NameLabel" Anchor="C,C" Offset="0,-2" Style="FontFlair11" SmallCaps="16" SmallCapsStyle="EveryWord" String="Name" />
</GridButton>
<!-- ==== CQUI Modification: changed Anchor and Offset for Envoy ==== -->
<Image ID="Envoy" Anchor="L,T" Offset="190,4" Size="40,40" Texture="Controls_CircleRim40">
<Button ID="EnvoyLessButton" Anchor="L,C" Offset="-6,0" Size="34,34" Texture="Controls_Stepper" AnchorSide="O,I" FlipX="1" />
<Button ID="EnvoyMoreButton" Anchor="R,C" Offset="-6,0" Size="34,34" Texture="Controls_Stepper" AnchorSide="O,I" />
<Label ID="EnvoyCount" Anchor="C,C" Offset="-1,1" String="0" Style="FontFlairLua" Color="160,160,160,240" />
</Image>
<!-- ==== CQUI Modification: changed AnchorY and OffsetY ==== -->
<Image ID="BonusImage1" Anchor="L,T" Offset="256,3" Size="29,42" Texture="CityState_BonusSlotOff">
<Label ID="BonusText1" Anchor="R,T" Offset="3,2" Style="FontNormal12" String="1" />
<Image ID="BonusIcon1" Anchor="C,B" Size="26,26" Texture="EnvoyBonuses26" TextureOffset="104,0" />
</Image>
<!-- ==== CQUI Modification: changed AnchorY and OffsetY ==== -->
<Image ID="BonusImage3" Anchor="L,T" Offset="286,3" Size="29,42" Texture="CityState_BonusSlotOn">
<Label ID="BonusText3" Anchor="R,T" Offset="3,2" Style="FontNormal12" String="3" />
<Image ID="BonusIcon3" Anchor="C,B" Size="26,26" Texture="EnvoyBonuses26" TextureOffset="104,0" />
</Image>
<!-- ==== CQUI Modification: changed AnchorY and OffsetY ==== -->
<Image ID="BonusImage6" Anchor="L,T" Offset="316,3" Size="29,42" Texture="CityState_BonusSlotOn">
<Label ID="BonusText6" Anchor="R,T" Offset="3,2" Style="FontNormal12" String="6" />
<Image ID="BonusIcon6" Anchor="C,B" Size="26,26" Texture="EnvoyBonuses26" TextureOffset="104,0" />
</Image>
<!-- ==== CQUI Modification: Changed AnchorY and OffsetY, SizeX of SuzerainStatus container changed from 108 to 110 in order to fix a spacing issue ==== -->
<Container ID="SuzerainStatus" Anchor="L,T" Offset="346,3" Size="110,42">
<Grid ID="BonusImageSuzerainOff" Size="parent,parent" Texture="CityState_BonusSlotBigOff" SliceCorner="31,21" SliceTextureSize="34,42" />
<Grid ID="BonusImageSuzerainOn" Size="parent,parent" Texture="CityState_BonusSlotBigOn" SliceCorner="31,21" SliceTextureSize="34,42" />
<!-- ==== CQUI Modification: Moved SuzerainLabel and Suzerain above BonusTextSuzerain and BonusIconSuzerain, changed Anchors and Offsets ==== -->
<Label ID="SuzerainLabel" Anchor="L,T" Offset="32,2" Style="FontNormal12" String="LOC_CITY_STATES_SUZERAIN" />
<Label ID="Suzerain" Anchor="L,C" Offset="32,0" Style="FontNormal12" String="LOC_CITY_STATES_NONE" TruncateWidth="60" />
<!-- ==== CQUI Modification: Changed Anchor and Offset for BonusTextSuzerain ==== -->
<Label ID="BonusTextSuzerain" Anchor="R,C" Offset="4,0" Style="FontNormal12" String="4" />
<Image ID="BonusIconSuzerain" Anchor="L,B" Offset="2,0" Size="26,26" Texture="EnvoyBonuses26" TextureOffset="156,0" />
<!-- ==== CQUI Modification: Added SecondHighestName and SecondHighestEnvoys ==== -->
<Label ID="SecondHighestName" Anchor="L,B" Offset="32,2" Style="FontNormal12" TruncateWidth="60" />
<Label ID="SecondHighestEnvoys" Anchor="R,B" Offset="4,2" Style="FontNormal12" />
</Container>
<Button Hidden="1" ID="LookAtButton" Anchor="R,C" Offset="3,-7" Size="23,31" Texture="Controls_ShowMe" StateOffsetIncrement="0,0" ToolTip="LOC_CITY_STATES_LOOK_AT" />
<!-- ==== CQUI Modification: Changed AnchorY and OffsetY ==== -->
<Button ID="AmbassadorButton" Anchor="R,T" Offset="4,10" Size="32,32" Texture="XP1_GovernorsCityBannerFill32" TextureOffset="96,0" StateOffsetIncrement="0,0" ToolTip="LOC_CITY_STATE_PANEL_HAS_AMBASSADOR_TOOLTIP" />
<Label ID="TypeLabel" Anchor="L,C" Offset="125,0" Style="FontNormal16" Hidden="1" String="[ICON_Faith]Religious" Note="DEPRECATED" />
<Label ID="QuestsLabel" Anchor="L,C" Offset="250,0" Style="FontNormal16" Hidden="1" String="[COLOR_GREEN]![ENDCOLOR]" />
<GridButton ID="GiveTokenButton" Anchor="L,C" Offset="270,0" Size="140,32" Style="MainButton" Hidden="1" String="Send Envoy" />
<Label ID="CurrentTokensLabel" Anchor="L,C" Offset="415,0" Style="FontNormal16" Hidden="1" String="Current Tokens" />
<Label ID="TypeBonusLabel" Anchor="L,C" Offset="510,0" Style="FontNormal16" Hidden="1" String="Next Bonus" />
<Label ID="UniqueBonusLabel" Anchor="L,C" Offset="620,0" Style="FontNormal16" Hidden="1" String="Most Tokens Y/N?" />
<!--
<GridButton ID="LevyMilitaryButton" Anchor="R,C" Offset="150,0" Size="140,32" Style="MainButton" Hidden="1" String="Levy Military"/>
<GridButton ID="ChangeWarStateButton" Anchor="R,C" Offset="0,0" Size="140,32" Style="MainButton" Hidden="1" String="Declare War!"/>
-->
<!-- ==== CQUI Modification: Added QuestRow to show text of the CityState quest ==== -->
<Grid ID="QuestRow" Size="parent,23" Anchor="L,B" Offset="0,0" AutoSize="H">
<Label ID="CityStateQuest" Anchor="L,C" Offset="12,2" String="$CQUI_Quest$" Style="FontNormal10"/>
</Grid>
</GridButton>
</Instance>
<Instance Name="BonusCityHeaderInstance">
<Container ID="Top" Anchor="L,C" Size="parent,20">
<Grid Anchor="C,C" Offset="0,4" Size="parent,8" Texture="Controls_Div2" SliceCorner="27,4" SliceTextureSize="54,8" Color="27,40,48,255" />
<Image Anchor="C,C" Offset="0,4" Size="parent,16" Texture="Controls_Glow" Color="0,0,0,255" StretchMode="Fill" />
<Label ID="CityName" Anchor="C,C" Offset="0,4" String="$City$" Style="FontFlair14" SmallCaps="18" SmallCapsType="EveryWord" Color="255,255,255,120" />
</Container>
</Instance>
<Instance Name="BonusItemOnInstance">
<Grid ID="Top" Anchor="L,T" Size="parent,auto" Texture="CityState_BonusFrameOn" SliceCorner="65,29" SliceTextureSize="74,58" Padding="0,5">
<Image ID="Icon" Anchor="L,T" Offset="4,5" Size="50,50" Texture="EnvoyBonuses50" />
<Label ID="Title" Anchor="L,T" Offset="70,6" Style="FontNormal14" String="$BonusTitle$ - GameCore does not expose this yet." />
<Container Offset="55,0" Size="parent-55,auto">
<Label ID="Details" Anchor="L,T" Offset="25,24" WrapWidth="315" Style="FontNormal14" String="$Details$ - GameCore does not expose this yet." ColorSet="CityStateCS" />
</Container>
<Label ID="Check" Anchor="R,T" Offset="8,10" String="[ICON_Checkmark]" Hidden="1" />
</Grid>
</Instance>
<Instance Name="CityStateIconInstance">
<Container ID="Top" Anchor="L,C" Size="40,40">
<Button ID="IconButton" Anchor="C,C" Size="44,44" Texture="CircleBacking44" NoStateChange="1">
<Image Anchor="C,C" Size="44,44" Texture="Circle44_Darker" Color="0,0,0,50" />
<Image Anchor="C,C" Size="44,44" Texture="Circle44_Lighter" Color="255,255,255,100" />
<Image ID="Icon" Anchor="C,C" Size="44,44" />
<Image ID="DiplomacyPip" Anchor="L,B" Offset="-8,-8" Size="23,23" Texture="Diplomacy_RelationshipPips" />
</Button>
</Container>
</Instance>
<Instance Name="InfluenceRowInstance">
<Container ID="Top" Anchor="L,C" Offset="10,0" Size="parent-24,30">
<Label ID="CityName" Anchor="L,T" String="$City$" Style="FontFlair14" SmallCaps="18" SmallCapsType="EveryWord" ColorSet="CityStateCS" />
<Bar ID="AmountBar" Anchor="L,B" Size="parent-78,16" Direction="Right" FGColor="200,190,169" Percent="1.0" />
<Stack Anchor="R,B" Offset="38,-4" StackGrowth="Left">
<!-- TODO: non-font icon version <Image Icon="" /> -->
<Label ID="Amount" Style="FontFlair24" String="0" Color="200,190,169,255" />
<Label Style="FontFlair24" String="[Icon_Envoy]" Color="200,190,169,255" />
</Stack>
<Image ID="AmbassadorIcon" Anchor="R,B" Offset="0,-5" Size="32,32" IconSize="32" Icon="ICON_GOVERNOR_THE_AMBASSADOR_FILL" />
</Container>
</Instance>
<Instance Name="QuestInstance">
<Container ID="Top" Anchor="L,C" Size="parent-15,auto">
<Image Size="42,33" Texture="CityStateQuest42">
<Label ID="Callout" Anchor="C,T" Offset="0,3" String="[ICON_Government]" Style="FontNormal16" Color="10,20,30,200" />
</Image>
<Stack StackGrowth="Bottom" StackPadding="2">
<Label ID="Title" Offset="45,0" Style="FontFlair16" String="$Title$" ColorSet="CityStateCS" TruncateWidth="380" TruncatedTooltip="1" />
<Label ID="Description" Offset="45,0" WrapWidth="parent-35" Style="FontNormal14" String="$Description$" Color="255,255,255,255" />
<Grid Offset="0,5" Size="parent,20" Style="SubContainer4" Color="25,33,38,255">
<Label Anchor="L,C" Offset="18,0" Style="FontNormal14" String="LOC_CITY_STATES_REWARD" ColorSet="CityStateCS" />
<Label ID="Reward" Anchor="R,C" Offset="8,0" Style="FontNormal14" String="$Reward$" ColorSet="CityStateCS" />
</Grid>
</Stack>
</Container>
</Instance>
<!-- An instance of an Icon, with optional Amount Text that overlaps the icon -->
<Instance Name="RelationshipIcon">
<Container ID="Background" Size="40,40">
<Image ID="Icon" StretchMode="None" Size="32,32" Anchor="R,T">
<Image ID="TeamRibbon" Anchor="C,B" Offset="0,-7" Size="30,30" Texture="TeamRibbon32"/>
</Image>
<Image ID="DiplomacyPip" Anchor="L,B" Size="23,23" Texture="Diplomacy_RelationshipPips"/>
</Container>
</Instance>
</Context>
================================================
FILE: Assets/Expansion1/Replacements/citystates_CQUI_expansion1.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("CityStates_Expansion1");
include("citystates_CQUI.lua");
================================================
FILE: Assets/Expansion1/Replacements/diplomacyactionview_CQUI_expansion1.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("DiplomacyActionView_Expansion1.lua");
include("diplomacyactionview_CQUI.lua");
================================================
FILE: Assets/Expansion1/Replacements/diplomacyribbon_CQUI_expansion1.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("DiplomacyRibbon_Expansion1.lua");
include("diplomacyribbon_CQUI.lua");
================================================
FILE: Assets/Expansion1/Replacements/governmentscreen_CQUI_expansion1.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("GovernmentScreen_Expansion1");
include("governmentscreen_CQUI.lua");
================================================
FILE: Assets/Expansion1/Replacements/launchbar_CQUI_expansion1.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("LaunchBar_Expansion1.lua");
include("launchbar_CQUI.lua");
================================================
FILE: Assets/Expansion1/Replacements/partialscreenhooks_CQUI_expansion1.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("PartialScreenHooks_Expansion1");
include("partialscreenhooks_CQUI.lua");
================================================
FILE: Assets/Expansion1/Replacements/toppanel_CQUI_expansion1.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("TopPanel_Expansion1.lua");
include("toppanel_CQUI.lua");
================================================
FILE: Assets/Expansion1/Replacements/unitpanel_CQUI_expansion1.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("UnitPanel_Expansion1.lua");
include("unitpanel_CQUI.lua");
================================================
FILE: Assets/Expansion1/Replacements/worldinput_CQUI_expansion1.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("WorldInput_Expansion1.lua");
include("worldinput_CQUI.lua");
================================================
FILE: Assets/Expansion1/Text/Gossip_Text.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Firaxis Games) -->
<GameData>
<LocalizedText>
<!-- Replace Expansion 1 Gossip Text -->
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_DETECTED" Language="en_US">
<Text>[ICON_Exclamation] {1_CivName} lost loyalty in {2_CityName} because of {3_SpyPlayer}'s Spy.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_UNDETECTED" Language="en_US">
<Text>[ICON_Exclamation] {1_CivName} lost loyalty in {2_CityName} because of an unknown spy.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_DETECTED" Language="en_US">
<Text>[ICON_Exclamation] {1_CivName}'s governor in {2_CityName} was neutralized by {3_SpyPlayer}'s spy!</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_UNDETECTED" Language="en_US">
<Text>[ICON_Exclamation] {1_CivName}'s governor in {2_CityName} was neutralized by an unknown spy.</Text>
</Replace>
</LocalizedText>
</GameData>
================================================
FILE: Assets/Expansion1/Text/Gossip_Text_de.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Firaxis Games) -->
<GameData>
<LocalizedText>
<!-- Replace Expansion 1 Gossip Text: GERMAN -->
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_DETECTED" Language="de_DE">
<Text>[ICON_Exclamation] {1_CivName} verliert Loyalität in {2_CityName} wegen {3_SpyPlayer}s Spion.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_UNDETECTED" Language="de_DE">
<Text>[ICON_Exclamation] {1_CivName} verliert Loyalität in {2_CityName} wegen unbekanntem Spion.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_DETECTED" Language="de_DE">
<Text>[ICON_Exclamation] {1_CivName}s Gouverneur in {2_CityName} wurde entmachtet von {3_SpyPlayer}s Spion!</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_UNDETECTED" Language="de_DE">
<Text>[ICON_Exclamation] {1_CivName}s Gouverneur in {2_CityName} wurde entmachtet von einem unbekannten Spion.</Text>
</Replace>
</LocalizedText>
</GameData>
================================================
FILE: Assets/Expansion1/Text/Gossip_Text_es.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Firaxis Games) -->
<GameData>
<LocalizedText>
<!-- Replace Expansion 1 Gossip Text -->
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_DETECTED" Language="es_ES">
<Text>[ICON_Exclamation] Un espía de {3_SpyPlayer} ha hecho que {1_CivName:plural 2?{1:gender masculine?los {1_CivName} pierdan;feminine?las {1_CivName} pierdan;}; other?{1:gender *:la?la {1_CivName} pierda;*:el?el {1_CivName} pierda;other?{1_CivName} pierda;};} Lealtad en {2_CityName}.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_UNDETECTED" Language="es_ES">
<Text>[ICON_Exclamation] Un espía desconocido ha hecho que {1_CivName:plural 2?{1:gender masculine?los {1_CivName} pierdan;feminine?las {1_CivName} pierdan;}; other?{1:gender *:la?la {1_CivName} pierda;*:el?el {1_CivName} pierda;other?{1_CivName} pierda;};} Lealtad en {2_CityName}.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_DETECTED" Language="es_ES">
<Text>[ICON_Exclamation] Un espía de {3_SpyPlayer} ha neutralizado al gobernador {1_CivName:plural 2?{1:gender masculine?de los {1_CivName};feminine?de las {1_CivName};}; other?{1:gender *:la?de la {1_CivName};*:el?del {1_CivName};other?de {1_CivName};};} en {2_CityName}.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_UNDETECTED" Language="es_ES">
<Text>[ICON_Exclamation] Un espía desconocido ha neutralizado al gobernador {1_CivName:plural 2?{1:gender masculine?de los {1_CivName};feminine?de las {1_CivName};}; other?{1:gender *:la?de la {1_CivName};*:el?del {1_CivName};other?de {1_CivName};};} en {2_CityName}.</Text>
</Replace>
</LocalizedText>
</GameData>
================================================
FILE: Assets/Expansion1/Text/Gossip_Text_fr.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Firaxis Games) -->
<GameData>
<LocalizedText>
<!-- Replace Expansion 1 Gossip Text -->
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_DETECTED" Language="fr_FR">
<Text>[ICON_Exclamation] {1_CivName} a perdu de la loyauté à {2_CityName} en raison d'un espion de {3_SpyPlayer}.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_UNDETECTED" Language="fr_FR">
<Text>[ICON_Exclamation] {1_CivName} a perdu de la loyauté à {2_CityName} à cause d'un espion inconnu.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_DETECTED" Language="fr_FR">
<Text>[ICON_Exclamation] {1_CivName}: Le gouverneur de {2_CityName} a été neutralisé par un espion de {3_SpyPlayer}!</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_UNDETECTED" Language="fr_FR">
<Text>[ICON_Exclamation] {1_CivName}: Le gouverneur à {2_CityName} a été neutralisé par un espion inconnu.</Text>
</Replace>
</LocalizedText>
</GameData>
================================================
FILE: Assets/Expansion1/Text/Gossip_Text_ja.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Firaxis Games) -->
<GameData>
<LocalizedText>
<!-- Replace Expansion 1 Gossip Text -->
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_DETECTED" Language="ja_JP">
<Text>[ICON_Exclamation] {3_SpyPlayer}のスパイが{2_CityName}で{1_CivName}に対する忠誠心を低下させた。</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_UNDETECTED" Language="ja_JP">
<Text>[ICON_Exclamation] 身元不明のスパイが{2_CityName}で{1_CivName}に対する忠誠心を低下させた。</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_DETECTED" Language="ja_JP">
<Text>[ICON_Exclamation] {3_SpyPlayer}のスパイが{2_CityName}に配置されていた{1_CivName}の総督を無力化した。</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_UNDETECTED" Language="ja_JP">
<Text>[ICON_Exclamation] 身元不明のスパイが{2_CityName}に配置されていた{1_CivName}の総督を無力化した。</Text>
</Replace>
</LocalizedText>
</GameData>
================================================
FILE: Assets/Expansion1/Text/Gossip_Text_ko.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Firaxis Games) -->
<GameData>
<LocalizedText>
<!-- Replace Expansion 1 Gossip Text -->
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_DETECTED" Language="ko_KR">
<Text>[ICON_Exclamation] {1_CivName}의 {2_CityName}내 충성도가 {3_SpyPlayer}의 스파이에 의해 감소</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_UNDETECTED" Language="ko_KR">
<Text>[ICON_Exclamation] {1_CivName}의 {2_CityName}내 충성도가 정체불명의 스파이에 의해 감소</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_DETECTED" Language="ko_KR">
<Text>[ICON_Exclamation] {1_CivName}의 총독이 {2_CityName}에서 {3_SpyPlayer}의 스파이에 의해 무력화됨</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_UNDETECTED" Language="ko_KR">
<Text>[ICON_Exclamation] {1_CivName}의 총독이 {2_CityName}에서 정체불명의 스파이에 의해 무력화됨</Text>
</Replace>
</LocalizedText>
</GameData>
================================================
FILE: Assets/Expansion1/Text/Gossip_Text_pl.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Firaxis Games) -->
<GameData>
<LocalizedText>
<!-- Replace Expansion 1 Gossip Text -->
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_DETECTED" Language="pl_PL">
<Text>[ICON_Exclamation] {1_CivName} {1_CivName: plural 1?traci; other?tracą;} lojalność mieszkańców {2_CityName[2]} z powodu działalności szpiega {3_SpyPlayer[2]}.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_UNDETECTED" Language="pl_PL">
<Text>[ICON_Exclamation] {1_CivName} {1_CivName: plural 1?traci; other?tracą;} lojalność mieszkańców {2_CityName[2]} z powodu działalności nieznanego szpiega.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_DETECTED" Language="pl_PL">
<Text>[ICON_Exclamation] Gubernator {1_CivName[2]} w {2_CityName[6]} został zneutralizowany przez szpiega {3_SpyPlayer[2]}.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_UNDETECTED" Language="pl_PL">
<Text>[ICON_Exclamation] Gubernator {1_CivName[2]} w {2_CityName[6]} został zneutralizowany przez nieznanego szpiega.</Text>
</Replace>
</LocalizedText>
</GameData>
================================================
FILE: Assets/Expansion1/Text/Gossip_Text_pt.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Firaxis Games) -->
<GameData>
<LocalizedText>
<!-- Replace Expansion 1 Gossip Text -->
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_DETECTED" Language="pt_BR">
<Text>[ICON_Exclamation] {1_CivName} perdeu lealdade em {2_CityName} devido a um espião {3_SpyPlayer}.</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_UNDETECTED" Language="pt_BR">
<Text>[ICON_Exclamation] {1_CivName} perdeu lealdade em {2_CityName} devido a um espião desconhecido .</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_DETECTED" Language="pt_BR">
<Text>[ICON_Exclamation] O governo de {1_CivName} em {2_CityName} foi neutralizado por um espião {3_SpyPlayer}!</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_UNDETECTED" Language="pt_BR">
<Text>[ICON_Exclamation] {1_CivName} perdeu lealdade em {2_CityName} devido a um espião desconhecido .</Text>
</Replace>
</LocalizedText>
</GameData>
================================================
FILE: Assets/Expansion1/Text/Gossip_Text_zh.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Firaxis Games) -->
<GameData>
<LocalizedText>
<!-- Replace Expansion 1 Gossip Text -->
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_DETECTED" Language="zh_Hans_CN">
<Text>[ICON_Exclamation] 由于{3_SpyPlayer}间谍的扰乱,{1_CivName}的城市{2_CityName},忠诚度下降。</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_FOMENT_UNREST_UNDETECTED" Language="zh_Hans_CN">
<Text>[ICON_Exclamation] 由于一名未知间谍的扰乱,{1_CivName}的城市{2_CityName},忠诚度下降。</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_DETECTED" Language="zh_Hans_CN">
<Text>[ICON_Exclamation] {1_CivName}城市{2_CityName}的总督被{3_SpyPlayer}派出的间谍陷害。</Text>
</Replace>
<Replace Tag="LOC_GOSSIP_SPY_NEUTRALIZE_GOVERNOR_UNDETECTED" Language="zh_Hans_CN">
<Text>[ICON_Exclamation] {1_CivName}城市{2_CityName}的总督被一名未知间谍陷害。</Text>
</Replace>
</LocalizedText>
</GameData>
================================================
FILE: Assets/Expansion2/CityBanners/citybannerinstances.xml
================================================
<Include File="CityBannerInstances">
<!-- CQUI CityBannerInstances Replacement File -->
<!-- Note: This file only loads in Linux if naming and casing is CityBannerInstances.xml -->
<!-- See note in citybannermanager.xml regarding this hidden container below -->
<Container ID="CQUI_EmptyContainer_CityBannerInstances_Exp2" Hidden="1"/>
<!-- Include info panels that attach to the bottom of CityBanner -->
<Include File="CityLoyaltyInstances"/>
<Include File="CityReligionInstances"/>
<Instance Name="CityBanner">
<!-- To match old behavior, it would go from 0 to -25 on the Y axis -->
<!-- Moving on the Z axis looks about the same but works with camera rotation -->
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="Container" Anchor="C,C" Offset="0,-20" Size="200,41">
<!-- TOP: CITY STATUS AND EFFECTS -->
<Grid ID="CityDetails" Texture="Banner_StatusFrame" Size="55,20" Anchor="C,T" AnchorSide="I,O" Offset="0,-6" SliceTextureSize="24,20" SliceCorner="9,2" SliceSize="5,15">
<Stack ID="CityDetailsStack" StackGrowth="Right" Anchor="C,C" Padding="0">
<Stack ID="CityDetailsStatus" StackGrowth="Right" Anchor="L,C" Padding="0"/>
<Image ID="DefenseIcon" Size="16,18" Texture="Banner_StrengthIcon" Anchor="L,C" ToolTip="LOC_CITY_BANNER_FORTIFICATION_TT"/>
<Image ID="ShieldsIcon" Size="21,18" Texture="Banner_StrengthIcon_Shields" Anchor="L,C" Hidden="1" ToolTip="LOC_CITY_BANNER_WALLED_FORTIFICATION_TT"/>
<Label ID="DefenseNumber" Style="StrongSmall" String="00 [00]" Anchor="L,C" KerningAdjustment="-1"/>
<Container Size="3,2" />
<Stack StackGrowth="Down" Anchor="L,C">
<Grid ID="CityDefenseBarBacking" Size="100,8" Texture="Banner_LifeBar" SliceTextureSize="100,6" SliceCorner="50,3">
<TextureBar ID="CityDefenseBar" Texture="Banner_LifeBar" Size="100,6" Direction="Right" Speed="1" Anchor="L,C" TextureOffset="0,6" Color="120,198,247,255"/>
</Grid>
<Grid ID="CityHealthBarBacking" Size="100,8" Texture="Banner_LifeBar" SliceTextureSize="100,6" SliceCorner="50,3" Hidden="1">
<TextureBar ID="CityHealthBar" Texture="Banner_LifeBar" Size="100,6" Direction="Right" Speed="1" Anchor="L,C" TextureOffset="0,6"/>
</Grid>
</Stack>
<Container Size="3,2" />
<Stack ID="CityDetailsEffects" StackGrowth="Right" Anchor="L,T" Padding="0"/>
</Stack>
</Grid>
<!-- CENTER: MAIN BUTTON -->
<Button ID="CityBannerButton" Anchor="L,T" Size="parent,parent" NoStateChange="true">
<!-- COLORED BG -->
<Grid ID="CityBannerFill" Anchor="C,T" Size="parent,parent" Texture="Banner_FrameBase_Combo" SliceTextureSize="113,41" SliceCorner="18,7" SliceSize="76,27"/>
<!-- OUTLINE: MOUSE IN / OUT -->
<AlphaAnim ID="CityBannerFillOverAnim" Anchor="C,T" Size="parent,parent" ShowOnMouseOver="1" AlphaStart="0" AlphaEnd="1" Speed="2" Function="Root" Cycle="Once">
<Grid ID="CityBannerFillOver" Anchor="C,T" Size="parent,parent" Texture="Banner_FrameSecondary_Combo" SliceTextureSize="113,41" SliceCorner="18,7" SliceSize="76,27"/>
</AlphaAnim>
<AlphaAnim ID="CityBannerFillOutAnim" Anchor="C,T" Size="parent,parent" ShowOnMouseOut="1" AlphaStart="1" AlphaEnd="0" Speed="2" Function="Root" Cycle="Once">
<Grid ID="CityBannerFillOut" Anchor="C,T" Size="parent,parent" Texture="Banner_FrameSecondary_Combo" SliceTextureSize="113,41" SliceCorner="18,7" SliceSize="76,27"/>
</AlphaAnim>
<!-- CONTENTS -->
<Stack ID="ContentStack" Anchor="C,C" StackGrowth="Right" StackPadding="2">
<Image ID="CQUI_AtWarWithCSIcon" Size="22,22" Anchor="L,C" Icon="ICON_RELATIONSHIP_WAR" ToolTip="LOC_DIPLO_STATE_WAR_NAME" Hidden="1"/>
<Stack ID="CityInfoStack" Anchor="L,C" StackGrowth="Right" StackPadding="2"/>
<!-- CQUI: Show Suzerain in CS banner -->
<Container ID="CQUI_CivSuzerain" Anchor="C,C" Size="auto,auto" AutoSizePadding="2,0" Hidden="1">
<Image ID="CQUI_CivSuzerainIconBackground" Size="22,22" Anchor="C,C" Texture="CircleBacking22">
<Image ID="CQUI_CivSuzerainIcon" Size="22,22" Anchor="C,C" IconSize="22"/>
<Label ID="CQUI_SuzerainEnvoys" Anchor="C,T" Offset="10,-2" Style="StrongSmall2"/>
<Label ID="CQUI_LocalPlayerEnvoys" Anchor="C,T" Offset="-10,-2" Style="StrongSmall2"/>
</Image>
</Container>
<Container ID="CQUI_DistrictsContainer" Anchor="C,C" Size="auto,parent" Padding="2" Offset="2,0">
<Stack ID="CQUI_Districts" Anchor="C,C" StackGrowth="Right" Padding="-12"/>
</Container>
<Image ID="CQUI_DistrictAvailable" Anchor="C,C" Icon="ICON_STAT_DISTRICTS" Size="24,24" ToolTip="LOC_HUD_DISTRICTS" Hidden="true" /> <!--Texture="Stats22"-->
<Button ID="CityNameButton" Anchor="L,C" Hidden="0" Size="auto,parent" AutoSizePadding="4,0" >
<Label ID="CityName" Anchor="L,C" Offset="4,0" Style="FontFlair16" FontStyle="Shadow" Color0="255,255,255,255" Color1="0,0,0,20" SmallCaps="18" SmallCapsType="EveryWord" />
</Button>
<Stack ID="CityStatusStack" Anchor="R,C" StackGrowth="Right" StackPadding="4"/>
</Stack>
</Button>
<!-- BOTTOM: CITY ACTIONS AND INFO -->
<Image ID="CityStrike" Texture="CityBannerRangeAttackRim" Size="36,45" Anchor="C,B" AnchorSide="I,O" Offset="0,-6">
<Button ID="CityStrikeButton" Style="CityBannerRangeAttack" Anchor="C,B" Offset="0,10" StateOffsetIncrement="0,25" ConsumeMouse="1" ToolTip="LOC_CITY_BANNER_CITY_RANGE_STRIKE"/>
</Image>
<Container Anchor="C,B">
<MakeInstance ID="ReligionInfo" Name="ReligionInfo"/>
</Container>
<Container Anchor="C,B">
<MakeInstance ID="LoyaltyInfo" Name="LoyaltyInfo"/>
</Container>
</Container>
</ZoomAnchor>
</Instance>
<!-- Instances populate in CityDetailsStack -->
<Instance Name="CityDetailStatus">
<Image ID="Icon" Size="18,18" Anchor="C,C"/>
</Instance>
<!-- Instances populate in CityDetailsStack -->
<Instance Name="CityDetailEffect">
<Button ID="Button" Size="20,20" Anchor="C,C">
<Image ID="Icon" Size="20,20" Anchor="C,C"/>
</Button>
</Instance>
<!-- Instances populate in CityInfoStack -->
<Instance Name="CityInfoType">
<Button ID="Button" Anchor="C,C" Size="20,20" Texture="Banner_TypeSlot" NoStateChange="1">
<Image ID="Icon" Anchor="C,C" Size="22,22" Texture="Cities22"/>
</Button>
</Instance>
<Instance Name="CityInfoCondition">
<Button ID="Button" Anchor="C,C" Size="20,20" Texture="Banner_TypeSlot" NoStateChange="1">
<Image ID="Icon" Anchor="C,C" Size="22,22" Texture="Cities22">
<Image ID="ConditionRising" Offset="-4,-1" Anchor="R,B" Size="12,12" Texture="CityCondition_Rising" Hidden="1"/>
<Image ID="ConditionFalling" Offset="-4,-1" Anchor="R,B" Size="12,12" Texture="CityCondition_Falling" Hidden="1"/>
</Image>
</Button>
</Instance>
<!-- Instances populate in CityStatusStack -->
<Instance Name="CityStatGovernor">
<Button ID="Button" Anchor="C,C" Size="30,30">
<Image ID="BG" Anchor="C,C" Size="28,28" Texture="XP1_Banner_MeterSlot"/>
<TextureBar ID="FillMeter" Anchor="C,C" Size="32,32" Direction="Up" Speed="0" Texture="XP1_GovernorsCityBannerFill32">
<Image ID="UnknownGovernor" Anchor="C,C" Size="32,32" Texture="XP1_Governors_Unknown32"/>
<TextureBar ID="SlotMeter" Anchor="C,C" Size="32,32" Direction="Down" Speed="0" Texture="XP1_GovernorsCityBannerSlot32"/>
<Label ID="TurnsLeft" Anchor="C,T" Offset="10,-3" Style="StrongSmall2"/>
<Label ID="NumOfAmbassadors" Anchor="C,C" Offset="0,0" Style="FontFlair20"/>
</TextureBar>
</Button>
</Instance>
<Instance Name="CityStatProduction">
<!-- Different size Y on the Button here is on purpose, no touch -->
<Button ID="Button" Anchor="C,C" Size="28,30" Texture="Production30">
<Image ID="Slot" Anchor="C,C" Size="28,28" Texture="XP1_Banner_MeterSlot">
<Image ID="Icon" Anchor="C,C" Size="32,32" Texture="Buildings32" Color="145,145,145,255"/>
<TextureBar ID="FillMeter" Anchor="C,C" Size="32,32" Direction="Up" Speed="0" Texture="XP1_Banner_MeterFillProduction"/>
<TextureBar ID="IconMeter" Anchor="C,C" Size="32,32" Direction="Up" Speed="0" Texture="Buildings32"/>
<Label ID="TurnsLeft" Anchor="C,T" Offset="10,-5" Style="StrongSmall2"/>
</Image>
</Button>
</Instance>
<Instance Name="CityStatPopulation">
<Button ID="Button" Anchor="C,C" Size="28,28" NoStateChange="1">
<TextureBar ID="FillMeter" Anchor="C,C" Size="28,28" Direction="Up" Speed="0" Texture="XP1_Banner_MeterFill">
<TextureBar ID="SlotMeter" Anchor="C,C" Size="28,28" Direction="Down" Speed="0" Texture="XP1_Banner_MeterSlot"/>
<Label ID="CityPopulation" Anchor="C,C" String="999" Style="FontFlair20" FontStyle="stroke" Color0="225,225,225,255" Color1="35,35,35,178" />
<Label ID="CityPopTurnsLeft" Anchor="C,T" Offset="12,-5" Style="StrongSmall2" FontStyle="stroke"/>
<Label ID="CQUI_CityHousing" Anchor="C,B" Offset="12,-5" Style="StrongSmall2" FontStyle="stroke" Hidden="1"/>
<Label ID="CityCultureTurnsLeft" Anchor="C,B" Offset="-12,-5" Style="StrongSmall2" FontStyle="stroke" Color="204,109,197,255" Hidden="1"/>
</TextureBar>
</Button>
</Instance>
<Instance Name="CityStatPopulationLimited">
<Image ID="BG" Anchor="C,C" Size="28,28" Texture="XP1_Banner_MeterSlot">
<Label ID="CityPopulation" Anchor="C,C" String="999" Style="FontFlair20" FontStyle="glow" Color0="225,225,225,255" Color1="35,35,35,178" />
</Image>
</Instance>
<!-- Aerodrome Minibanner -->
<Instance Name="AerodromeBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Grid ID="AerodromeBase" Anchor="L,C" Size="auto,24" Offset="-25,0" Texture="Banner_UnitBacking" SliceCorner="13,1" SliceSize="4,22">
<!-- Current and max air unit capacity -->
<Stack Anchor="R,C" Offset="6,0" StackGrowth="Right">
<Container Size="25,1"/>
<Label ID="AerodromeCurrentUnitCount" Style="FontNormal14" String="1"/>
<Label Style="FontNormal14" String="/"/>
<Label ID="AerodromeMaxUnitCount" Style="FontNormal14" String="4"/>
</Stack>
</Grid>
<PullDown ID="UnitListPopup" ConsumeMouse="0" Anchor="C,C" Size="200,20" AutoSizePopUp="0" AutoFlip="1" ScrollThreshold="96">
<ButtonData>
<Button ID="AerodromeButton" Anchor="C,C" Size="28,28" Offset="-14,0" NoStateChange="1">
<!-- Aerodrome button textures -->
<Image ID="AerodromeUnitsButton_Base" Anchor="C,C" Size="28,28" Texture="Banner_UnitButton_Combo"/>
<!-- Aerodrome button icon -->
<Image ID="AerodromeUnitsButtonIcon" Anchor="C,C" Size="22,22" Texture="Banner_Planes"/>
<!-- Hover over animations -->
<AlphaAnim Anchor="C,C" Size="28,28" ShowOnMouseOver="1" AlphaStart="0" AlphaEnd="1" Speed="2" Function="Root" Cycle="Once">
<Image ID="AerodromeMouseOver" Size="28,28" Texture="Banner_UnitButton_Secondary"/>
</AlphaAnim>
<AlphaAnim Anchor="C,C" Size="28,28" ShowOnMouseOut="1" AlphaStart="1" AlphaEnd="0" Speed="2" Function="Root" Cycle="Once">
<Image ID="AerodromeMouseOut" Size="28,28" Texture="Banner_UnitButton_Secondary"/>
</AlphaAnim>
</Button>
</ButtonData>
<GridData Size="auto,auto" AutoSizePadding="6,5" Anchor="C,B" Offset="0,6" AnchorSide="I,O" Texture="Controls_DropdownPanel" SliceCorner="9,9" SliceSize="4,4" SliceTextureSize="22,22"/>
<ScrollPanelData Anchor="L,T" Vertical="1" AutoScrollBar="1">
<ScrollBar Style="ScrollVerticalBacking" Anchor="L,T" AnchorSide="O,I" Color="28,60,90,255" Offset="1,0">
<Thumb Style="ScrollThumbAlt" Color="28,60,90,255" />
</ScrollBar>
</ScrollPanelData>
<StackData StackGrowth="Down" Size="240,400" Anchor="L,T"/>
<InstanceData Name="UnitListEntry">
<GridButton ID="Button" Style="UnitPanelHeader" Size="200,24" Texture="Controls_ButtonControl.dds" SliceCorner="10,10" SliceSize="1,1" SliceTextureSize="24,24" StateOffsetIncrement="0,24" TruncateWidth="180">
<Stack StackGrowth="Right">
<Image ID="UnitTypeIcon" Anchor="L,C" Size="22,22" Offset="2,0" />
<Label ID="UnitName" Anchor="L,C" Offset="0,1" Style="UnitPanelHeader" TruncateWidth="173"/>
</Stack>
</GridButton>
</InstanceData>
</PullDown>
</ZoomAnchor>
</Instance>
<!-- WMD Minibanner -->
<Instance Name="WMDBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="WMDBannerContainer" Anchor="C,C" Size="88,34">
<!-- Banner Background -->
<Grid ID="Banner_Base" Size="parent,parent" Texture="BannerMini_Base_Combo" SliceCorner="18,9" SliceSize="44,16" SliceTextureSize="80,34"/>
<!-- Nukes -->
<Container Anchor="L,C" Offset="25,0">
<Stack Offset="0,-1" Anchor="C,C" StackGrowth="Right" StackPadding="2,0">
<Label Style="FontNormal16" String="[Icon_Nuclear]"/>
<Label ID="NukeCountLabel" Offset="0,2" Style="FontNormal16" String="0"/>
</Stack>
<Image ID="NukeBombButtonBackground" Anchor="C,C" Size="36,45" Offset="0,36" Texture="CityBannerRangeAttackRim">
<Button ID="NukeBombButton" Anchor="C,C" Size="25,25" Texture="Banner_NukeAttackButton" StateOffsetIncrement="0,25"/>
</Image>
</Container>
<!-- Thermonuclear Devices -->
<Container Anchor="R,C" Offset="25,0">
<Stack Offset="0,-1" Anchor="C,C" StackGrowth="Right" StackPadding="2,0">
<Label Style="FontNormal16" String="[Icon_ThermoNuclear]"/>
<Label ID="ThermoNukeCountLabel" Offset="0,2" Style="FontNormal16" String="0"/>
</Stack>
<Image ID="ThermoNukeBombButtonBackground" Anchor="C,C" Size="36,45" Offset="0,36" Texture="CityBannerRangeAttackRim">
<Button ID="ThermoNukeBombButton" Anchor="C,C" Size="25,25" Texture="Banner_NukeAttackButton" StateOffsetIncrement="0,25"/>
</Image>
</Container>
</Container>
</ZoomAnchor>
</Instance>
<!-- Industry Minibanner -->
<Instance Name="IndustryBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="IndustryBannerContainer" Anchor="C,C" Size="88,34">
<!-- Banner Background -->
<Image ID="Banner_Base" Anchor="C,C" Size="50,50" Texture="BannerMonopolies_Combo_Base_Combo"/>
<Image ID="Icon" Anchor="C,C" Size="34,34" Texture="AdvisorRec22" />
</Container>
</ZoomAnchor>
</Instance>
<!-- Corporation Minibanner -->
<Instance Name="CorporationBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="CorporationBannerContainer" Anchor="C,C" Size="88,34">
<!-- Banner Background -->
<Image ID="Banner_Base" Anchor="C,C" Size="50,50" Texture="BannerMonopolies_Combo_Base_Combo"/>
<Image ID="Icon" Anchor="C,C" Size="34,34" Texture="AdvisorRec22" />
<Image ID="CorporationRing" Anchor="C,C" Size="48,48" Texture="Monopolies_GoldBorder"/>
</Container>
</ZoomAnchor>
</Instance>
<!-- Encampment Minibanner -->
<Instance Name="EncampmentBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="EncampmentBannerContainer" Anchor="C,C" Size="106,34">
<!-- Banner Background -->
<Grid ID="Banner_Base" Size="parent,parent" Texture="BannerMini_Base_Combo" SliceCorner="18,9" SliceSize="44,16" SliceTextureSize="80,34"/>
<!-- District Font Icon -->
<Label ID="EncampmentFontIcon" Anchor="L,C" Offset="7,3" Style="FontNormal14" String="[Icon_DISTRICT_ENCAMPMENT]"/>
<!-- Healthbars -->
<TextureBar ID="CityHealthBar" Anchor="R,C" Offset="8,3" Size="66,7" Texture="CityBannerShieldsBar1" Direction="Right" Speed="1" Percent="1.0" />
<TextureBar ID="CityDefenseBar" Anchor="R,C" Offset="8,-4" Size="66,7" Texture="CityBannerShieldsBar1" Direction="Right" Speed="1" Percent="1.0" Color="120,198,247,255"/>
<!-- District strength -->
<Grid ID="DistrictDefenseGrid" Texture="Banner_StrengthBacking" Size="60,15" Anchor="C,T" AnchorSide="I,O" SliceTextureSize="42,15" SliceCorner="21,7" Color="255,255,255,150">
<Stack Anchor="C,C" Offset="-2,1" StackGrowth="Right">
<Image Size="21,18" Texture="Banner_StrengthIcon_Shields"/>
<Label ID="DistrictDefenseStrengthLabel" Offset="0,2" Style="StrongSmall" String="17"/>
</Stack>
</Grid>
<!-- District ranged strike button -->
<Image ID="CityStrike" Texture="CityBannerRangeAttackRim" Size="36,45" Anchor="C,B" Offset="0,-4" AnchorSide="I,O">
<Button ID="CityStrikeButton" Style="CityBannerRangeAttack" Anchor="C,B" Offset="0,10" StateOffsetIncrement="0,25" ConsumeMouse="1" ToolTip="LOC_CITY_BANNER_DISTRICT_RANGE_STRIKE"/>
</Image>
</Container>
</ZoomAnchor>
</Instance>
<!-- District Minibanner -->
<Instance Name="DistrictBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="DistrictBannerContainer" Anchor="C,C" Size="34,34">
<!-- Banner Background -->
<Image ID="Banner_Base" Size="parent,parent" Texture="BannerMini2_Base_Combo"/>
<Image ID="DistrictIcon" Anchor="C,C" Offset="0,0" Size="22,22" IconSize="22" Icon="ICON_DISTRICT_CITY_CENTER"/>
<Image ID="UnderConstructionIcon" Anchor="C,C" Size="22,22" IconSize="22" Icon="ICON_DISTRICT_UNDER_CONSTRUCTION"/>
</Container>
</ZoomAnchor>
</Instance>
<!-- Tunnel Minibanner -->
<Instance Name="TunnelBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="TunnelBannerContainer" Anchor="C,C" Size="38,38" ToolTip="LOC_IMPROVEMENT_MOUNTAIN_TUNNEL_NAME">
<!-- Banner Background -->
<Image ID="Banner_Base" Size="parent,parent" Texture="BannerMini2_Base_Combo"/>
<Image ID="TunnelIcon" Anchor="C,C" Offset="0,0" Size="38,38" IconSize="38" Icon="ICON_IMPROVEMENT_MOUNTAIN_TUNNEL"/>
</Container>
</ZoomAnchor>
</Instance>
<!-- Qhapaq Nan Minibanner -->
<Instance Name="QhapaqNanBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="QhapaqNanBannerContainer" Anchor="C,C" Size="38,38" ToolTip="LOC_IMPROVEMENT_MOUNTAIN_ROAD_NAME">
<!-- Banner Background -->
<Image ID="Banner_Base" Size="parent,parent" Texture="BannerMini2_Base_Combo"/>
<Image ID="QhapaqNanIcon" Anchor="C,C" Offset="0,0" Size="38,38" IconSize="38" Icon="ICON_IMPROVEMENT_MOUNTAIN_ROAD"/>
</Container>
</ZoomAnchor>
</Instance>
<!-- Worked Plots of Local Cities -->
<Instance Name="CQUI_WorkedPlotInstance">
<WorldAnchor ID="Anchor" Size="2,2">
<Image ID="CitizenMeterBG" Anchor="L,C" Offset="-10,-20" Size="76,62" Texture="CityPanel_ManageCitizensMeterBacking" Hidden="1">
<TextureBar ID="CitizenMeter" Anchor="C,B" Offset="19,3" Direction="Up" Speed="0" Size="31,56" Texture="CityPanel_ManageCitizensMeter"/>
<Label ID="CurrentAmount" Anchor="L,T" Offset="49,10" Style="FontFlair18" FontStyle="Stroke" Color="201,217,227,255" EffectColor="0,0,0,150"/>
<Line Anchor="L,T" Start="49,37" End="67,25" Width="1" Color="201,217,227,255" />
<Label ID="TotalAmount" Anchor="R,B" Offset="9,7" Style="FontFlair18" FontStyle="Stroke" Color="201,217,227,255" EffectColor="0,0,0,150"/>
</Image>
<GridButton ID="CQUI_NextPlotButton" Anchor="C,T" Offset="0,-10" Size="95,30" Hidden="1" Style="PurchaseTileButton" ToolTip="LOC_HUD_CITY_NEXT_PLOT">
<Label ID="CQUI_NextPlotLabel" String="Next Tile" ToolTip="LOC_HUD_CITY_NEXT_PLOT" Anchor="C,C" Offset="0,0" Style="CityPanelCBCulture" Align="Left"/>
</GridButton>
<Button ID="CitizenButton" Anchor="C,T" Offset="0,-50" Size="64,64" Alpha=".50" Texture="CityPanel_ManageCitizenButton.dds" Hidden="1" NoStateChange="1" />
<Image ID="LockedIcon" Anchor="R,B" Offset="-35,30" Size="32,32" Texture="Padlock" Hidden="1"/>
</WorldAnchor>
</Instance>
<!-- CQUI Instances populate in CQUI_Districts -->
<Instance Name="CQUI_DistrictBuilt">
<Image ID="Icon" Size="26,26" Anchor="C,C"/>
</Instance>
</Include>
================================================
FILE: Assets/Expansion2/CityBanners/citybannermanager.xml
================================================
<?xml version="1.0" encoding="utf-8" ?>
<Context>
<!-- ====== CQUI CityBannerManager Replacement File ====== -->
<!-- No changes to this file from the unmodified version, aside from adding a hidden container that is used to verify this file was loaded. -->
<!-- In Linux especially, the Modding.log file does not always show a failure to load this XML or any of the "Include" files below. -->
<!-- To see if this file loaded in the Live Tuner, change the Lua State to CityBannerManager and then run the following command: -->
<!-- for k, v in pairs(Controls) do print(k.." "..tostring(v)) end -->
<!-- This will print out all of the Container objects in CityBannerManager and should include CQUI Empty Containers for CityBannerInstances, CityBannerManager, and CityReligionInstances-->
<!-- Note: In Linux, this file is only loading if the name is all lower-cased (unlike the other two files... see notes in those XML files) -->
<Container ID="CQUI_EmptyContainer_CityBannerManager_Exp2" Hidden="1"/>
<!-- Instances that make up City Banners -->
<Include File="CityBannerInstances"/>
<!-- Containers which contain banners -->
<Container ID="CityBanners"/>
<Container ID="CityDistrictIcons"/>
<Container ID="CQUI_WorkedPlotContainer" />
<!-- Copied from the Barbarian Tribes DLC, so CQUI can work with it -->
<!-- CQUI Added modifications to show icons in the Banner -->
<Instance Name="TribeBanner">
<ZoomAnchor ID="Anchor" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Container ID="TribeBannerContainer" Anchor="C,C" Size="106,34">
<Button ID="TribeBannerButton" Anchor="C,C" Size="parent,parent">
<Grid ID="Banner_Base" Size="parent,parent" Texture="BannerMini_Base_Combo" SliceCorner="18,9" SliceSize="44,16" SliceTextureSize="80,34"/>
<Stack ID="TribeStatusStack" Anchor="L,C" StackGrowth="Right" StackPadding="1">
<Container Size="30,30" Offset="4,0">
<Image ID="TribeIcon" Size="30,30" Offset="0,0" Icon="ICON_DISTRICT_CITY_CENTER"/>
<Label ID="CanHireUnit" Anchor="L,T" Offset="2,0" FontSize="20" FontStyle="Stroke" Color0="224,224,0,255" Color1="112,112,0,255"/>
</Container>
<Image ID="TribeIconBribedBacking" Anchor="C,C" Offset="0,0" Size="22,22" Texture="CircleBacking22.dds" Color="20,20,20,255" Hidden="1">
<Image ID="TribeIconBribed" Anchor="C,C" Offset="-1,0" Size="22,22" Texture="Bribe22"/>
<Label ID="BribedTurnsLeft" Anchor="R,B" Offset="0,-2" Style="StrongSmall2"/>
</Image>
<Image ID="TribeIconIncitedAgainstUsBacking" Anchor="C,C" Size="22,22" Offset="0,0" Texture="CircleBacking22.dds" Color="20,20,20,255" Hidden="1">
<Image ID="TribeIconIncitedAgainstUs" Anchor="C,C" Offset="-1,0" Size="22,22" Texture="Incite22"/>
</Image>
<Image ID="TribeIconIncitedByUsBacking" Anchor="C,C" Size="22,22" Offset="0,0" Texture="CircleBacking22.dds" Color="20,20,20,255" Hidden="1">
<Image ID="TribeIconIncitedByUs" Anchor="C,C" Offset="-1,0" Size="22,22" Texture="InciteByMe22"/>
</Image>
<Image ID="TribeRansomUnitBacking" Anchor="C,C" Size="22,22" Offset="0,0" Texture="CircleBacking22.dds" Color="20,20,20,255" Hidden="1">
<Image ID="TribeRansomUnit" Anchor="L,C" Size="22,22" Icon="Exclamation" Color="255,255,0,255"/>
</Image>
<Container ID="ConversionBarContainer" Size="60,7" Anchor="R,C" Offset="-2,0">
<TextureBar ID="ConversionBarBG" Anchor="C,C" Offset="5,0" Size="60,7" Texture="CityBannerShieldsBar1" Direction="Right" Speed="1" Percent="1.0" Color="40,64,82,200"/>
<TextureBar ID="ConversionBar" Anchor="C,C" Offset="5,0" Size="60,7" Texture="CityBannerShieldsBar1" Direction="Right" Speed="1" Percent="1.0" Color="120,198,247,255"/>
</Container>
</Stack>
</Button>
</Container>
</ZoomAnchor>
</Instance>
</Context>
================================================
FILE: Assets/Expansion2/CityBanners/cityreligioninstances.xml
================================================
<Include File="CityReligionInstances">
<!-- CQUI CityReligionInstances Replacement File -->
<!-- Note: This file only loads in Linux if naming and casing is CityReligionInstances.xml -->
<!-- See note in citybannermanager.xml regarding this hidden container below -->
<Container ID="CQUI_EmptyContainer_CityReligionInstances_Exp2" Hidden="1"/>
<Instance Name="ReligionInfo">
<!-- Religion Info Dropdown -->
<Container ID="ReligionInfoContainer" Anchor="C,B" AnchorSide="I,O" Offset="0,-2" Size="200,200">
<GridButton ID="ReligionInfoButton" Anchor="C,T" Size="auto,auto" MinSize="160,31" AutoSizePadding="0,2" Texture="Banner_DataFrame" NoStateChange="1" SliceCorner="23,14" SliceSize="76,3" SliceTextureSize="122,31">
<Stack Anchor="C,C" Offset="0,2" StackGrowth="Down" StackPadding="0">
<Stack ID="ReligionInfoIconStack" Anchor="C,T" StackGrowth="Right" StackPadding="6"/>
<Stack ID="ReligionConversionTurnsStack" Anchor="C,T" StackGrowth="Right" StackPadding="4">
<Image ID="ConvertingReligionIconBacking" Anchor="C,C" Texture="Religion_FollowersSlot" Size="30,30">
<Image ID="ConvertingReligionIcon" Anchor="C,C" Size="22,22" IconSize="22"/>
</Image>
<AlphaAnim ID="ConvertingSoonAlphaAnim" Size="auto,auto" Anchor="C,C" AlphaBegin="1.0" AlphaEnd="0.3" Speed="2" Cycle="Bounce" Stopped="1">
<Label ID="ConvertingReligionLabel" Style="FontNormal16"/>
</AlphaAnim>
<Label Anchor="C,C" Offset="0,-2" Style="FontNormal16" String="[Icon_Turn]"/>
</Stack>
</Stack>
<Image Anchor="C,T" Offset="0,-2" Size="160,8" Style="Divider3Grid"/>
</GridButton>
<GridButton ID="ReligionInfoDetailedButton" Anchor="C,T" Size="240,150" Texture="Banner_DataFrameExtended" SliceCorner="19,9" SliceSize="53,4" Hidden="1">
<!-- Religion Follower List -->
<ScrollPanel ID="ReligionFollowerListScrollPanel" Offset="12,14" Size="100,120" Vertical="1" AutoScrollBar="1">
<ScrollBar Anchor="L,C" AnchorSide="O,I" Offset="-2,0" Style="ScrollVerticalBar"/>
<Stack ID="ReligionFollowerListStack"/>
</ScrollPanel>
<!-- Divider -->
<Box Anchor="C,C" Size="2,parent-12" Color="0,0,0,255"/>
<!-- Religious Pressure by this City -->
<Container Anchor="C,T" Offset="54,16" Size="auto,auto" ToolTip="LOC_CITY_BANNER_OUTGOING_RELIGION_PRESSURE">
<Stack StackGrowth="Right" StackPadding="0">
<Label Offset="0,3" FontSize="16" String="[Icon_PressureRight]"/>
<Label ID="ExertedReligiousPressure" Anchor="L,C" Offset="0,-1" Style="FontNormal16" String="+22"/>
</Stack>
</Container>
<!-- Religion Follower Chart -->
<Container Anchor="C,T" Offset="54,30" Size="110,parent">
<Image Anchor="C,T" Offset="0,14" Size="74,74" Texture="Religion_PieFill" Color="0,0,0,200"/>
<Container ID="ReligionPopChartContainer" Anchor="C,T" Offset="0,14" Size="74,74"/>
<Image ID="ReligionPopChartIcon" Anchor="C,T" Offset="0,25" Size="50,50" IconSize="50" Icon="ICON_RELIGION_BUDDHISM" Alpha="0.5"/>
</Container>
</GridButton>
<Image Anchor="C,T" Offset="0,-4" Size="23,15" Texture="Banner_DataFrameArrow"/>
</Container>
</Instance>
<Instance Name="ReligionChange">
<AlphaAnim ID="FadeAnim" AlphaStart="0" AlphaEnd="1" Speed="1" Cycle="Once" Offset="0,0" Anchor="C,C" Stopped="true">
<SlideAnim ID="SlideAnim" Function="Root" Start="-5,5" End="-5,-5" Speed="2.5" Cycle="Once" Offset="0,0" Stopped="true">
<Image ID="ReligionIcon" Size="22,22" Anchor="C,C" Texture="Religions22" />
<Image ID="ChangeIcon" Size="23,29" Offset ="22,0" Anchor="C,C" Texture="PressureUp" />
<Label ID="TextLabel" Offset ="25,0" Anchor="L,C" Style="FontFlair22" Text="TextLabel" />
</SlideAnim>
</AlphaAnim>
</Instance>
<Instance Name="HolySiteIcon">
<ZoomAnchor ID="Anchor" Size="22,22" ZoomOffsetNear="0,0,0" ZoomOffsetFar="0,0,-20">
<Grid ID="HolySiteBacking" Style="DistrictBonusBack" Size="auto,default" AutoSizePadding="8,0">
<Label ID="HolySiteLabel" Anchor="C,C" Style="FontNormal16" Text="TextLabel" Offset="-2,-1" FontStyle="Glow" Color="208,212,217,255" EffectColor="88,144,191,100"/>
</Grid>
</ZoomAnchor>
</Instance>
<Instance Name="ReligionFollowers">
<Image ID="ReligionIcon" Size="22,22" Anchor="C,C" Texture="Religions22">
<Stack ID="FollowerStack" StackGrowth="Right">
<Label ID="NumFollowers" Offset ="25,0" Anchor="L,C" Style="FontFlair22" Text="NumFollowers" />
<Container ID="PressureContainer" Anchor="C,C" Offset="3,0" Size="auto,auto"/>
</Stack>
</Image>
</Instance>
<!-- Infixo this is the singular religion icon displayed below the banner -->
<Instance Name="ReligionIconInstance">
<Container ID="ReligionIconContainer" Anchor="L,T" Size="auto,30">
<Stack StackGrowth="Right">
<Image ID="ReligionIconButtonBacking" Texture="Religion_FollowersSlot" Size="30,30">
<Image ID="ReligionIconButton" Anchor="C,C" Size="22,22" IconSize="22"/>
</Image>
<Label ID="ReligionIconFollowers" Offset="0,6" Style="FontNormal18" Text="$3$" />
</Stack>
</Container>
</Instance>
<Instance Name="ReligionFollowerListInstance">
<Container ID="ReligionFollowerListContainer" Size="80,30">
<Image ID="ReligionFollowerIconBacking" Anchor="L,C" Offset="0,0" Texture="Religion_FollowersSlot" Size="30,30">
<Image ID="ReligionFollowerIcon" Anchor="C,C" Size="22,22" IconSize="22"/>
</Image>
<Label ID="ReligionFollowerCount" Anchor="L,C" Offset="30,0" Style="FontNormal16" String="22"/>
<Container Anchor="L,C" Size="auto,auto" Offset="45,3" ToolTip="LOC_CITY_BANNER_INCOMING_RELIGION_PRESSURE">
<Label Anchor="L,C" FontSize="16" String="[Icon_PressureLeft]"/>
<Label ID="ReligionFollowerPressure" Anchor="L,C" Offset="20,-3" Style="FontNormal16" String="22"/>
</Container>
</Container>
</Instance>
<Instance Name="ReligionPopChartInstance">
<Meter ID="PopChartMeter" Anchor="C,C" Size="74,74" Texture="Religion_PieFill" Speed="0"/>
</Instance>
<Instance Name="PressureLow">
<Image ID="PressureIcon" Size="10,14" Anchor="C,C" Texture="PressureLow" />
</Instance>
<Instance Name="PressureMedium">
<Image ID="PressureIcon" Size="10,19" Anchor="C,C" Texture="PressureMedium" />
</Instance>
<Instance Name="PressureHigh">
<Image ID="PressureIcon" Size="16,19" Anchor="C,C" Texture="PressureHigh" />
</Instance>
</Include>
================================================
FILE: Assets/Expansion2/Data/Expansion2_Icons_FontIcons_CQUI.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!--
CQUI - fixes for districts' font icons
Author: Infixo
2020-08-02: Created
-->
<GameInfo>
<IconDefinitions>
<Replace Name="DISTRICT_COTHON" Atlas="ICON_ATLAS_EXPANSION2_FONT_ICON_DISTRICTS_BASELINE_4" Index="2"/> <!-- ICON_DISTRICT_COTHON is used in the vanilla game -->
<Replace Name="DISTRICT_SUGUBA" Atlas="ICON_ATLAS_EXPANSION2_FONT_ICON_DISTRICTS_BASELINE_4" Index="3"/> <!-- ICON_DISTRICT_SUGUBA is used in the vanilla game -->
<Replace Name="DISTRICT_WALLED_QUARTER" Atlas="ICON_ATLAS_EXPANSION2_FONT_ICON_DISTRICTS_BASELINE_4" Index="4"/> <!-- ICON_DISTRICT_WALLED_QUARTER is used in the vanilla game -->
</IconDefinitions>
</GameInfo>
================================================
FILE: Assets/Expansion2/Replacements/CityPanel_Expansion1.lua
================================================
-- NOTE: This is the correct file name. Firaxis has a CityPanel_Expansion1.lua located in the Expansion2 folder.
-- This file updates the actions found in CityPanel_Expansion1.lua.
include("CityPanel");
BASE_CQUI_ViewMain = ViewMain;
-- ===========================================================================
function ViewMain( kData:table )
BASE_CQUI_ViewMain( kData );
-- ==== CQUI CUSTOMIZATION BEGIN ====================================================================================== --
-- swarsele: change religious citizens to loyalty
local pCity = UI.GetHeadSelectedCity()
if pCity ~= nil then
local pCulturalIdentity = pCity:GetCulturalIdentity();
local currentLoyalty = pCulturalIdentity:GetLoyalty();
local loyaltyPerTurn:number = pCulturalIdentity:GetLoyaltyPerTurn();
Controls.ReligionIcon:SetIcon("ICON_STAT_CULTURAL_FLAG");
Controls.ReligionLabel:SetText(Locale.Lookup("LOC_CULTURAL_IDENTITY_LOYALTY_SUBSECTION"));
if Controls.CQUI_Loyalty ~= nil then
local loyaltyValueSign = "";
if loyaltyPerTurn >= 0 then
loyaltyValueSign = "+";
end
Controls.CQUI_Loyalty:SetText(Round(currentLoyalty, 1));
Controls.CQUI_LoyaltyPerTurn:SetText(" (" .. loyaltyValueSign .. Round(loyaltyPerTurn,1) .. ")");
end
-- m4a: Move the Religion tool tip to the City Size icon
local religionTooltip = Controls.ReligionGrid:GetToolTipString();
Controls.ReligionGrid:SetToolTipString("");
Controls.CitizensGrowthButton:SetToolTipString(religionTooltip);
end
-- ==== CQUI CUSTOMIZATION END ======================================================================================== --
end
-- ===========================================================================
function OnCityLoyaltyChanged( ownerPlayerID:number, cityID:number )
if UI.IsCityIDSelected(ownerPlayerID, cityID) then
UI.DeselectCityID(ownerPlayerID, cityID);
end
end
-- ===========================================================================
function LateInitialize()
Events.CityLoyaltyChanged.Add(OnCityLoyaltyChanged);
end
================================================
FILE: Assets/Expansion2/Replacements/citypaneloverview_expansion2_CQUI.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("CityPanelOverview_Expansion2");
-- ===========================================================================
-- CQUI Members
-- ===========================================================================
local CQUI_AutoapplyLoyaltyLensInCity :boolean = true;
local CQUI_AutoapplyPowerLensInCity :boolean = true;
local CQUI_ShowCityManageOverLenses :boolean = false;
function CQUI_OnSettingsUpdate()
CQUI_AutoapplyLoyaltyLensInCity = GameConfiguration.GetValue("CQUI_AutoapplyLoyaltyLensInCity");
CQUI_AutoapplyPowerLensInCity = GameConfiguration.GetValue("CQUI_AutoapplyPowerLensInCity");
CQUI_ShowCityManageOverLenses = GameConfiguration.GetValue("CQUI_ShowCityManageOverLenses");
end
LuaEvents.CQUI_SettingsUpdate.Add(CQUI_OnSettingsUpdate);
LuaEvents.CQUI_SettingsInitialized.Add(CQUI_OnSettingsUpdate);
-- ===========================================================================
-- Functions
-- ===========================================================================
function ViewPanelAmenities(data:table)
BASE_ViewPanelAmenities(data); -- AZURENCY : this is the base game version
--kInstance = m_kAmenitiesIM:GetInstance();
--kInstance.Amenity:SetText( Locale.Lookup("LOC_HUD_CITY_AMENITIES_LOST_FROM_GOVERNORS") );
--kInstance.AmenityYield:SetText( Locale.ToNumber(data.AmenitiesFromGovernors) );
CQUI_BuildAmenityBubbleInstance("ICON_GOVERNOR_THE_EDUCATOR", data.AmenitiesFromGovernors, "LOC_REPORTS_GOVERNOR");
end
function RefreshCulturalIdentityPanel()
--UILens.SetActive("Loyalty");
if (CQUI_AutoapplyLoyaltyLensInCity) then
SetDesiredLens("Loyalty");
if (not CQUI_ShowCityManageOverLenses) then
LuaEvents.CQUI_HideCitizenManagementLens();
end
else
SetDesiredLens("CityManagement");
end
LuaEvents.CityPanelTabRefresh();
end
function RefreshPowerPanel()
--UILens.SetActive("Power");
if (CQUI_AutoapplyPowerLensInCity) then
SetDesiredLens("Power");
if (not CQUI_ShowCityManageOverLenses) then
LuaEvents.CQUI_HideCitizenManagementLens();
end
else
SetDesiredLens("CityManagement");
end
LuaEvents.CityPanelTabRefresh();
end
================================================
FILE: Assets/Expansion2/Replacements/citypanelpower_CQUI.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("CityPanelPower");
-- ===========================================================================
-- Cached Base Functions
-- ===========================================================================
BASE_CQUI_OnRefresh = OnRefresh;
-- ===========================================================================
-- CQUI Members
-- ===========================================================================
local CQUI_ShowCityDetailAdvisor :boolean = false;
local CQUI_AutoapplyPowerLensInCity :boolean = true;
function CQUI_OnSettingsUpdate()
CQUI_ShowCityDetailAdvisor = GameConfiguration.GetValue("CQUI_ShowCityDetailAdvisor") == 1;
CQUI_AutoapplyPowerLensInCity = GameConfiguration.GetValue("CQUI_AutoapplyPowerLensInCity");
end
-- ===========================================================================
-- CQUI modified OnRefresh functiton
-- Hide advisor if option is disabled
-- ===========================================================================
function OnRefresh()
if ContextPtr:IsHidden() then
return;
end
local localPlayerID = Game.GetLocalPlayer();
local pPlayer = Players[localPlayerID];
if (pPlayer == nil) then
return;
end
local pCity = UI.GetHeadSelectedCity();
if (pCity == nil) then
return;
end
BASE_CQUI_OnRefresh();
-- Hide the advisor if option is disabled
if not Controls.PowerAdvisor:IsHidden() then
Controls.PowerAdvisor:SetHide( CQUI_ShowCityDetailAdvisor == false );
end
-- Hide the lens key if the power lens isn't shown
Controls.KeyPanel:SetHide( CQUI_AutoapplyPowerLensInCity == false );
end
-- ===========================================================================
function Initialize_CityPanelPower_CQUI()
LuaEvents.CityPanelTabRefresh.Remove(BASE_CQUI_OnRefresh);
Events.CitySelectionChanged.Remove( BASE_CQUI_OnRefresh );
LuaEvents.CityPanelTabRefresh.Add(OnRefresh);
Events.CitySelectionChanged.Add( OnRefresh );
LuaEvents.CQUI_SettingsUpdate.Add(CQUI_OnSettingsUpdate);
LuaEvents.CQUI_SettingsInitialized.Add(CQUI_OnSettingsUpdate);
end
Initialize_CityPanelPower_CQUI();
================================================
FILE: Assets/Expansion2/Replacements/citystates.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<Context xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="..\..\..\..\..\CivTech\Libs\ForgeUI\ForgeUI_Assets\Controls.xsd">
<SlideAnim ID="SlideAnim" Anchor="R,T" Size="514,parent" Start="-514,27" End="-1,27" Cycle="Once" Speed="3.4" Function="OutSine" Stopped="1">
<Image Anchor="R,T" Size="parent,parent+5" Texture="Controls_BannerWide" StretchMode="Tile" ConsumeMouse="1">
<Image Texture="Controls_GradientSmall" Size="22,parent" AnchorSide="O,I" Anchor="L,T" Color="0,0,0,255" Rotate="90" Offset="-2,0" />
</Image>
<!-- List view of CityStates -->
<Container ID="ListOfCityStates" Size="parent,parent">
<Grid ID="HeaderBG" Size="parent,165" Texture="Controls_TitleBarDark" SliceCorner="21,17" SliceTextureSize="42,34">
<Image Size="parent,parent" Texture="Controls_Gradient_HalfRadial" Color="170,176,180,90" FlipY="1" />
<Grid Anchor="C,T" Offset="22,60" Size="396,58" Texture="Controls_DecoFrame" SliceCorner="20,19" SliceTextureSize="40,38" Color="30,43,52,255">
<Label ID="Header" Anchor="C,C" Offset="0,-7" Style="CityStateHeaderText" String="{LOC_CITY_STATES_OVERVIEW:upper}" />
<Label ID="EnvoyDetails" Anchor="C,C" Offset="0,14" Style="CityStateColumnHeaderText" String="" />
<Container ID="Envoys" Anchor="R,C" Size="auto,24" ToolTip="LOC_TOP_PANEL_INFLUENCE" Offset="5,2">
<Stack ID="EnvoysStack" Anchor="L,C" Offset="0,-2" StackGrowth="Right">
<Image ID="EnvoysBacking" Size="24,24" Texture="Controls_MeterTinyBacking">
<Label Anchor="L,C" Offset="1,1" Style="FontNormal14" ColorSet="TopBarValueCS" String="[ICON_Envoy]" />
<Meter ID="EnvoysMeter" Speed="1" Follow="1" Size="24,24" Texture="Controls_MeterTinyFill" />
</Image>
</Stack>
</Container>
</Grid>
<Image Offset="4,50" Size="76,76" Texture="CityStateOverview" />
<Grid ID="TitleBG" Anchor="R,T" Offset="-50,-2" Size="600,74" Texture="Controls_BannerHeaderRed" SliceCorner="371,0" SliceSize="1,74" SliceTextureSize="426,74">
<Label ID="Title" Anchor="L,T" Offset="42,15" Style="WorldRankingsTitle" TruncateWidth="260" TruncatedTooltip="1" />
</Grid>
<Container ID="AllCityStates" Size="parent,parent">
<Button ID="CloseListButton" Anchor="R,T" Offset="0,56" Style="CloseButtonSmall" />
</Container>
<Grid Anchor="L,B" Offset="14,6" Size="160,28" Style="CityStateColumnHeaderGrid">
<Label Anchor="L,C" Offset="10,0" Style="CityStateColumnHeaderText" String="LOC_CITY_STATES_CITY_STATE" />
</Grid>
<Grid Anchor="L,B" Offset="176,6" Size="90,28" Style="CityStateColumnHeaderGrid">
<Label Anchor="C,C" Style="CityStateColumnHeaderText" String="LOC_CITY_STATES_ENVOYS" />
</Grid>
<Grid Anchor="L,B" Offset="268,6" Size="198,28" Style="CityStateColumnHeaderGrid">
<Label Anchor="L,C" Offset="10,0" Style="CityStateColumnHeaderText" String="LOC_CITY_STATES_BONUSES_EARNED" />
</Grid>
</Grid>
<ScrollPanel ID="CityStateScroll" Offset="12,164" Size="490,parent-174" Vertical="1" AutoScrollBar="1">
<Stack ID="CityStateStack" Anchor="L,T" Offset="0,1" StackPadding="4" />
<ScrollBar Anchor="R,C" Offset="-1,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
<Label ID="NoneMet" Anchor="C,C" Offset="0,50" Align="Center" Style="FontFlair20" String="LOC_CITY_STATES_NONE_MET" Hidden="1" />
<Grid ID="BonusArea" Anchor="L,B" Offset="0,70" Size="parent,parent-570" Texture="Controls_Glow" SliceCorner="90,90" SliceTextureSize="179,178" Color="0,0,0,255" Hidden="1">
<Grid ID="BonusDecoLeft" Offset="20,45" Size="18,parent-50" Texture="Controls_Deco" SliceCorner="9,24" SliceTextureSize="18,49" Color="30,36,40,255" />
<Grid ID="BonusDecoRight" Anchor="R,T" Offset="20,45" Size="18,parent-50" Texture="Controls_Deco" SliceCorner="9,24" SliceTextureSize="18,49" Color="30,36,40,255" SliceStart="20,0" />
<Grid ID="BonusHeader" Offset="0,0" Size="parent,40" Texture="Controls_TitleBarDark" SliceCorner="21,17" SliceTextureSize="42,34">
<Image Size="parent,parent" Texture="Controls_Gradient_HalfRadial" Color="170,176,180,35" />
<Label ID="SubHeader" Anchor="C,C" Offset="0,3" Style="FontFlair24" Color0="170,176,180" String="{LOC_CITY_STATES_BONUSES_EARNED:upper}" SmallCaps="30" SmallCapsType="EveryWord" />
</Grid>
<ScrollPanel ID="BonusScroll" Offset="50,39" Size="400,parent-39" Vertical="1">
<Stack ID="BonusStack" Anchor="L,T" Offset="0,1" StackPadding="4" />
<ScrollBar Anchor="R,C" Offset="10,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
</Grid>
<Grid Anchor="C,B" Offset="1,-4" Size="parent+5,32" Texture="Controls_BannerBottom" SliceCorner="18,2" SliceTextureSize="37,32" />
<Grid ID="ConfirmFrame" Anchor="C,B" Offset="0,10" Size="parent-30,60" Texture="Controls_ConfirmFrame" SliceCorner="38,30" SliceTextureSize="76,60" Hidden="1">
<GridButton ID="ConfirmButton" Anchor="C,C" Offset="0,-1" Size="parent-70,41" Texture="Controls_Confirm" SliceCorner="40,20" SliceTextureSize="80,41" StateOffsetIncrement="0,41" String="LOC_CITY_STATES_CONFIRM_PLACEMENT" Style="FontNormal16" />
</Grid>
</Container>
<!-- Individual CityState View -->
<Container ID="SingleCityState" Size="parent,parent">
<Image Anchor="R,B" Offset="3,0" Size="47,239" Texture="Diplomacy_RibbonBottom.dds" />
<Image Anchor="R,T" Offset="3,0" Size="47,parent-32" Texture="Diplomacy_Ribbon.dds">
<Stack ID="CityStateIconStack" Offset="4,70" StackGrowth="Bottom" Padding="8" />
</Image>
<Grid Offset="3,70" Size="parent-55,parent-70" Style="DiplomacyInfoWindowGrid">
<Grid Size="parent,165" Style="DiplomacyInfoHeaderGrid" />
<Button ID="CloseBackButton" Anchor="R,T" Style="BackButtonSmall" />
<Image Anchor="C,T" Offset="0,-21" Texture="Diplomacy_PortraitBacking" />
<Image Anchor="C,T" Offset="0,-56" Texture="CityState_HeaderCircle" />
<Image ID="CityStateTypeIcon" Anchor="C,T" Offset="-1,-58" Size="64,64" Texture="CivSymbols64" />
<Image Anchor="C,T" Offset="0,-64" Texture="Diplomacy_YouIndicatorLarge">
<Image ID="DiplomacyPip" Anchor="L,B" Size="23,23" Texture="Diplomacy_RelationshipPips" />
</Image>
<Label Anchor="C,T" Offset="0,25" Style="FontFlair16" SmallCaps="26" SmallCapsType="EveryWord" String="{LOC_CITY_STATES_CITY_STATE:upper}" />
<Label ID="CityStateName" Anchor="C,T" Offset="0,47" Style="FontFlair24" SmallCaps="30" SmallCapsType="EveryWord" String="$CityStateName$" />
<Stack ID="SingleViewStack" Offset="1,80" StackGrowth="Bottom">
<Stack ID="SubMenu" Offset="1,0" StackGrowth="Bottom" StackPadding="-8">
<!-- TODO: REmove, using Back button
<GridButton ID="SendAnEnvoyButton" Size="parent-4,41" Style="CityStateSubMenuButton" String="LOC_CITY_STATES_SEND_AN_ENVOY"/>
-->
<GridButton ID="PeaceWarButton" Size="parent-4,41" Style="CityStateSubMenuButton" String="LOC_CITY_STATES_MAKE_PEACE" />
<GridButton ID="LevyMilitaryButton" Size="parent-4,41" Style="CityStateSubMenuButton" String="LOC_CITY_STATES_LEVY_MILITARY_BUTTON" />
</Stack>
<Grid Anchor="C,T" Offset="0,0" Size="parent-10,40" Texture="Controls_TitleBarDark" SliceCorner="21,17" SliceTextureSize="42,34">
<Image Size="parent,parent" Texture="Controls_Gradient_HalfRadial" Color="170,176,180,35" />
<Label Anchor="C,C" Offset="0,3" Style="FontFlair24" Color0="170,176,180" String="{LOC_CITY_STATES_REPORT:upper}" SmallCaps="30" SmallCapsType="EveryWord" />
</Grid>
<Box ID="ReportArea" Anchor="C,T" Offset="0,0" Size="parent-10,auto" Color="3,4,5,255">
<Image Anchor="L,T" Offset="1,1" Size="parent-2,auto" Texture="Controls_Gradient" Color="30,40,50,255" AutoSize="V" AutoSizePadding="0,3">
<Box Anchor="C,B" Offset="0,0" Size="parent,1" Color="40,50,60,255" />
<Grid ID="ReportDeco" Anchor="C,T" Offset="0,2" Size="parent-10,auto" Texture="Controls_Deco" Style="DecoGrid" Color="50,56,70,255">
<Label Anchor="R,T" Offset="230,10" Style="CityStateTextLabel" String="LOC_CITY_STATES_TYPE" />
<Label ID="TypeValue" Anchor="L,T" Offset="230,10" Style="CityStateTextValue" String="$TypeValue$" />
<Label Anchor="R,T" Offset="230,31" Style="CityStateTextLabel" String="LOC_CITY_STATES_SUZERAIN_LIST" />
<Label ID="PatronValue" Anchor="L,T" Offset="230,31" Style="CityStateTextValue" String="$PatronValue$" />
<GridButton ID="EnvoysSentButton" Anchor="R,T" Offset="224,50" Size="170,21" Style="CityStateTinyButton" String="LOC_CITY_STATES_ENVOYS_SENT" />
<Label ID="EnvoysSentValue" Anchor="L,T" Offset="230,52" Style="CityStateTextValue" String="$EnvoysSentValue$" />
<GridButton ID="InfluencedByButton" Anchor="R,T" Offset="224,71" Size="170,21" Style="CityStateTinyButton" String="LOC_CITY_STATES_INFLUENCED_BY" />
<Label ID="InfluencedByValue" Anchor="L,T" Offset="230,73" Style="CityStateTextValue" String="$InfluencedByValue$" />
<GridButton ID="QuestsButton" Anchor="R,T" Offset="224,92" Size="170,21" Style="CityStateTinyButton" String="LOC_CITY_STATES_QUESTS" />
<Label ID="QuestsValue" Anchor="L,T" Offset="230,94" Style="CityStateTextValue" String="$QuestsValue$" />
<GridButton ID="RelationshipsButton" Anchor="R,T" Offset="224,113" Size="170,21" Style="CityStateTinyButton" String="LOC_CITY_STATES_RELATIONSHIPS" />
<Stack ID="RelationshipsButtonStack" Anchor="L,T" Offset="226,110" StackGrowth="Right" WrapWidth="200" />
</Grid>
</Image>
</Box>
</Stack>
<!-- Tab Area -->
<Container ID="ReportTabContainer" Anchor="C,B" Offset="0,24" Size="parent,400">
<Container ID="EnvoysSentArea" Size="parent,parent">
<Grid Offset="10,10" Size="parent-20,40" Style="CityStateStatHeader">
<Label Anchor="C,C" Style="FontFlair28" String="LOC_CITY_STATES_ENVOYS_SENT" Color="170,176,180" />
<Container Anchor="R,C" Offset="17,1" Size="1,1">
<Label ID="EnvoysSentValue2" Anchor="C,C" Style="FontFlair28" String="0" Color="170,176,180" />
</Container>
</Grid>
<ScrollPanel ID="EnvoysBonusScroll" Offset="7,60" Size="parent-25,parent-60" Vertical="1">
<Stack ID="EnvoysBonusStack" Anchor="L,T" Offset="0,1" StackPadding="4" />
<ScrollBar Anchor="R,C" Offset="0,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
</Container>
<Container ID="InfluenceArea" Size="parent,parent" Hidden="1">
<Grid Offset="10,10" Size="parent-20,40" Style="CityStateHeader">
<Label Anchor="C,C" Style="CityStateHeaderText" String="{LOC_CITY_STATES_ENVOYS_INFLUENCE_BY_CIVILIZATION:upper}" />
</Grid>
<ScrollPanel ID="InfluenceScroll" Offset="7,60" Size="parent-15,parent-60" Vertical="1">
<Stack ID="InfluenceStack" Anchor="L,T" Offset="0,1" StackPadding="4" />
<ScrollBar Anchor="R,C" Offset="4,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
</Container>
<Container ID="QuestsArea" Size="parent,parent" Hidden="1">
<Grid Offset="10,10" Size="parent-20,40" Style="CityStateHeader">
<Label Anchor="C,C" Style="CityStateHeaderText" String="{LOC_CITY_STATES_AVAILABLE_QUESTS:upper}" />
</Grid>
<ScrollPanel ID="QuestsScroll" Offset="7,60" Size="parent-15,parent-60" Vertical="1">
<Stack ID="QuestsStack" Anchor="L,T" Offset="0,1" StackPadding="20" />
<ScrollBar Anchor="R,C" Offset="-12,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
</Container>
<Container ID="RelationshipsArea" Size="parent,parent" Hidden="1">
<Grid Offset="10,10" Size="parent-20,40" Style="CityStateHeader">
<Label Anchor="C,C" Style="CityStateHeaderText" String="{LOC_CITY_STATES_RELATIONSHIPS:upper}" />
</Grid>
<ScrollPanel ID="RelationshipsScroll" Offset="7,60" Size="parent-15,parent-60" Vertical="1">
<Stack Anchor="C,T" StackGrowth="Down" StackPadding="4">
<Container Size="parent,auto">
<Grid Style="DividerGrid" Size="parent-8,8" Anchor="C,C" Color="34,48,59,255" />
<Grid Style="DropShadow4" Size="auto,auto" Anchor="C,C">
<Label String="{LOC_CITY_STATES_CIVILIZATION_HEADER:upper}" Anchor="C,C" Style="DiplomacyGossipHeader" />
</Grid>
</Container>
<Stack ID="RelationshipsCivsStack" Anchor="C,T" StackGrowth="Right" WrapWidth="400" />
<Container Size="parent,auto">
<Grid Style="DividerGrid" Size="parent-8,8" Anchor="C,C" Color="34,48,59,255" />
<Grid Style="DropShadow4" Size="auto,auto" Anchor="C,C">
<Label String="{LOC_CITY_STATES_CITY_STATES:upper}" Anchor="C,C" Style="DiplomacyGossipHeader" />
</Grid>
</Container>
<Stack ID="RelationshipsCityStatesStack" Anchor="C,T" StackGrowth="Right" WrapWidth="400" />
</Stack>
<ScrollBar Anchor="R,C" Offset="-12,0" AnchorSide="O,I" Style="ScrollVerticalBarAlt" />
</ScrollPanel>
</Container>
</Container>
</Grid>
</Container>
</SlideAnim>
<!-- ================================================================== -->
<!-- Instances -->
<!-- ================================================================== -->
<Instance Name="CityStateRowInstance">
<GridButton ID="CityStateBase" Size="parent,48" Style="SubContainer4" Color="59,62,63,255">
<!-- ==== CQUI Modification: changed Anchor and Offset value for Button ==== -->
<BoxButton ID="Button" Anchor="L,T" Offset="8,4" Size="40,40" Color="0,0,0,0">
<Image ID="Icon" Anchor="L,C" Size="36,36" Texture="CivSymbols36" />
<!-- ==== CQUI Modification: changed Offset value for DiplomacyPip ==== -->
<Image ID="DiplomacyPip" Anchor="L,B" Offset="-10,-2" Size="23,23" Texture="Diplomacy_RelationshipPips" />
<Label ID="QuestIcon" Anchor="L,T" Offset="-9,0" String="[ICON_CityStateQuest]" Size="28,28" />
</BoxButton>
<!-- ==== CQUI Modification: added Anchor and changed OffsetY ==== -->
<GridButton ID="NameButton" Anchor="L,T" Offset="42,11" Size="126,33" Texture="Controls_CityBannerSmall" SliceCorner="14,9" SliceSize="5,4" SliceTextureSize="33,28" Color="50,50,50,255">
<Label ID="NameLabel" Anchor="C,C" Offset="0,-2" Style="FontFlair11" SmallCaps="16" SmallCapsStyle="EveryWord" String="Name" />
</GridButton>
<!-- ==== CQUI Modification: changed Anchor and Offset for Envoy ==== -->
<Image ID="Envoy" Anchor="L,T" Offset="190,4" Size="40,40" Texture="Controls_CircleRim40">
<Button ID="EnvoyLessButton" Anchor="L,C" Offset="-6,0" Size="34,34" Texture="Controls_Stepper" AnchorSide="O,I" FlipX="1" />
<Button ID="EnvoyMoreButton" Anchor="R,C" Offset="-6,0" Size="34,34" Texture="Controls_Stepper" AnchorSide="O,I" />
<Label ID="EnvoyCount" Anchor="C,C" Offset="-1,1" String="0" Style="FontFlairLua" Color="160,160,160,240" />
</Image>
<!-- ==== CQUI Modification: changed AnchorY and OffsetY ==== -->
<Image ID="BonusImage1" Anchor="L,T" Offset="256,3" Size="29,42" Texture="CityState_BonusSlotOff">
<Label ID="BonusText1" Anchor="R,T" Offset="3,2" Style="FontNormal12" String="1" />
<Image ID="BonusIcon1" Anchor="C,B" Size="26,26" Texture="EnvoyBonuses26" TextureOffset="104,0" />
</Image>
<!-- ==== CQUI Modification: changed AnchorY and OffsetY ==== -->
<Image ID="BonusImage3" Anchor="L,T" Offset="286,3" Size="29,42" Texture="CityState_BonusSlotOn">
<Label ID="BonusText3" Anchor="R,T" Offset="3,2" Style="FontNormal12" String="3" />
<Image ID="BonusIcon3" Anchor="C,B" Size="26,26" Texture="EnvoyBonuses26" TextureOffset="104,0" />
</Image>
<!-- ==== CQUI Modification: changed AnchorY and OffsetY ==== -->
<Image ID="BonusImage6" Anchor="L,T" Offset="316,3" Size="29,42" Texture="CityState_BonusSlotOn">
<Label ID="BonusText6" Anchor="R,T" Offset="3,2" Style="FontNormal12" String="6" />
<Image ID="BonusIcon6" Anchor="C,B" Size="26,26" Texture="EnvoyBonuses26" TextureOffset="104,0" />
</Image>
<!-- ==== CQUI Modification: Changed AnchorY and OffsetY, SizeX of SuzerainStatus container changed from 108 to 110 in order to fix a spacing issue ==== -->
<Container ID="SuzerainStatus" Anchor="L,T" Offset="346,3" Size="110,42">
<Grid ID="BonusImageSuzerainOff" Size="parent,parent" Texture="CityState_BonusSlotBigOff" SliceCorner="31,21" SliceTextureSize="34,42" />
<Grid ID="BonusImageSuzerainOn" Size="parent,parent" Texture="CityState_BonusSlotBigOn" SliceCorner="31,21" SliceTextureSize="34,42" />
<!-- ==== CQUI Modification: Moved SuzerainLabel and Suzerain above BonusTextSuzerain and BonusIconSuzerain, changed Anchors and Offsets ==== -->
<Label ID="SuzerainLabel" Anchor="L,T" Offset="32,2" Style="FontNormal12" String="LOC_CITY_STATES_SUZERAIN" />
<Label ID="Suzerain" Anchor="L,C" Offset="32,0" Style="FontNormal12" String="LOC_CITY_STATES_NONE" TruncateWidth="60" />
<!-- ==== CQUI Modification: Changed Anchor and Offset for BonusTextSuzerain ==== -->
<Label ID="BonusTextSuzerain" Anchor="R,C" Offset="4,0" Style="FontNormal12" String="4" />
<Image ID="BonusIconSuzerain" Anchor="L,B" Offset="2,0" Size="26,26" Texture="EnvoyBonuses26" TextureOffset="156,0" />
<!-- ==== CQUI Modification: Added SecondHighestName and SecondHighestEnvoys ==== -->
<Label ID="SecondHighestName" Anchor="L,B" Offset="32,2" Style="FontNormal12" TruncateWidth="60" />
<Label ID="SecondHighestEnvoys" Anchor="R,B" Offset="4,2" Style="FontNormal12" />
</Container>
<Button Hidden="1" ID="LookAtButton" Anchor="R,C" Offset="3,-7" Size="23,31" Texture="Controls_ShowMe" StateOffsetIncrement="0,0" ToolTip="LOC_CITY_STATES_LOOK_AT" />
<!-- ==== CQUI Modification: Changed AnchorY and OffsetY ==== -->
<Button ID="AmbassadorButton" Anchor="R,T" Offset="4,10" Size="32,32" Texture="XP1_GovernorsCityBannerFill32" TextureOffset="96,0" StateOffsetIncrement="0,0" ToolTip="LOC_CITY_STATE_PANEL_HAS_AMBASSADOR_TOOLTIP" />
<Label ID="TypeLabel" Anchor="L,C" Offset="125,0" Style="FontNormal16" Hidden="1" String="[ICON_Faith]Religious" Note="DEPRECATED" />
<Label ID="QuestsLabel" Anchor="L,C" Offset="250,0" Style="FontNormal16" Hidden="1" String="[COLOR_GREEN]![ENDCOLOR]" />
<GridButton ID="GiveTokenButton" Anchor="L,C" Offset="270,0" Size="140,32" Style="MainButton" Hidden="1" String="Send Envoy" />
<Label ID="CurrentTokensLabel" Anchor="L,C" Offset="415,0" Style="FontNormal16" Hidden="1" String="Current Tokens" />
<Label ID="TypeBonusLabel" Anchor="L,C" Offset="510,0" Style="FontNormal16" Hidden="1" String="Next Bonus" />
<Label ID="UniqueBonusLabel" Anchor="L,C" Offset="620,0" Style="FontNormal16" Hidden="1" String="Most Tokens Y/N?" />
<!--
<GridButton ID="LevyMilitaryButton" Anchor="R,C" Offset="150,0" Size="140,32" Style="MainButton" Hidden="1" String="Levy Military"/>
<GridButton ID="ChangeWarStateButton" Anchor="R,C" Offset="0,0" Size="140,32" Style="MainButton" Hidden="1" String="Declare War!"/>
-->
<!-- ==== CQUI Modification: Added QuestRow to show text of the CityState quest ==== -->
<Grid ID="QuestRow" Size="parent,23" Anchor="L,B" Offset="0,0" AutoSize="H">
<Label ID="CityStateQuest" Anchor="L,C" Offset="12,2" String="$CQUI_Quest$" Style="FontNormal10"/>
</Grid>
</GridButton>
</Instance>
<Instance Name="BonusCityHeaderInstance">
<Container ID="Top" Anchor="L,C" Size="parent,20">
<Grid Anchor="C,C" Offset="0,4" Size="parent,8" Texture="Controls_Div2" SliceCorner="27,4" SliceTextureSize="54,8" Color="27,40,48,255" />
<Image Anchor="C,C" Offset="0,4" Size="parent,16" Texture="Controls_Glow" Color="0,0,0,255" StretchMode="Fill" />
<Label ID="CityName" Anchor="C,C" Offset="0,4" String="$City$" Style="FontFlair14" SmallCaps="18" SmallCapsType="EveryWord" Color="255,255,255,120" />
</Container>
</Instance>
<Instance Name="BonusItemOnInstance">
<Grid ID="Top" Anchor="L,T" Size="parent,auto" Texture="CityState_BonusFrameOn" SliceCorner="65,29" SliceTextureSize="74,58" Padding="0,5">
<Image ID="Icon" Anchor="L,T" Offset="4,5" Size="50,50" Texture="EnvoyBonuses50" />
<Label ID="Title" Anchor="L,T" Offset="70,6" Style="FontNormal14" String="$BonusTitle$ - GameCore does not expose this yet." />
<Container Offset="55,0" Size="parent-55,auto">
<Label ID="Details" Anchor="L,T" Offset="25,24" WrapWidth="315" Style="FontNormal14" String="$Details$ - GameCore does not expose this yet." ColorSet="CityStateCS" />
</Container>
<Label ID="Check" Anchor="R,T" Offset="8,10" String="[ICON_Checkmark]" Hidden="1" />
</Grid>
</Instance>
<Instance Name="CityStateIconInstance">
<Container ID="Top" Anchor="L,C" Size="40,40">
<Button ID="IconButton" Anchor="C,C" Size="44,44" Texture="CircleBacking44" NoStateChange="1">
<Image Anchor="C,C" Size="44,44" Texture="Circle44_Darker" Color="0,0,0,50" />
<Image Anchor="C,C" Size="44,44" Texture="Circle44_Lighter" Color="255,255,255,100" />
<Image ID="Icon" Anchor="C,C" Size="44,44" />
<Image ID="DiplomacyPip" Anchor="L,B" Offset="-8,-8" Size="23,23" Texture="Diplomacy_RelationshipPips" />
</Button>
</Container>
</Instance>
<Instance Name="InfluenceRowInstance">
<Container ID="Top" Anchor="L,C" Offset="10,0" Size="parent-24,30">
<Label ID="CityName" Anchor="L,T" String="$City$" Style="FontFlair14" SmallCaps="18" SmallCapsType="EveryWord" ColorSet="CityStateCS" />
<Bar ID="AmountBar" Anchor="L,B" Size="parent-78,16" Direction="Right" FGColor="200,190,169" Percent="1.0" />
<Stack Anchor="R,B" Offset="38,-4" StackGrowth="Left">
<!-- TODO: non-font icon version <Image Icon="" /> -->
<Label ID="Amount" Style="FontFlair24" String="0" Color="200,190,169,255" />
<Label Style="FontFlair24" String="[Icon_Envoy]" Color="200,190,169,255" />
</Stack>
<Image ID="AmbassadorIcon" Anchor="R,B" Offset="0,-5" Size="32,32" IconSize="32" Icon="ICON_GOVERNOR_THE_AMBASSADOR_FILL" />
</Container>
</Instance>
<Instance Name="QuestInstance">
<Container ID="Top" Anchor="L,C" Size="parent-15,auto">
<Image Size="42,33" Texture="CityStateQuest42">
<Label ID="Callout" Anchor="C,T" Offset="0,3" String="[ICON_Government]" Style="FontNormal16" Color="10,20,30,200" />
</Image>
<Stack StackGrowth="Bottom" StackPadding="2">
<Label ID="Title" Offset="45,0" Style="FontFlair16" String="$Title$" ColorSet="CityStateCS" TruncateWidth="380" TruncatedTooltip="1" />
<Label ID="Description" Offset="45,0" WrapWidth="parent-35" Style="FontNormal14" String="$Description$" Color="255,255,255,255" />
<Grid Offset="0,5" Size="parent,20" Style="SubContainer4" Color="25,33,38,255">
<Label Anchor="L,C" Offset="18,0" Style="FontNormal14" String="LOC_CITY_STATES_REWARD" ColorSet="CityStateCS" />
<Label ID="Reward" Anchor="R,C" Offset="8,0" Style="FontNormal14" String="$Reward$" ColorSet="CityStateCS" />
</Grid>
</Stack>
</Container>
</Instance>
<!-- An instance of an Icon, with optional Amount Text that overlaps the icon -->
<Instance Name="RelationshipIcon">
<Container ID="Background" Size="40,40">
<Image ID="Icon" StretchMode="None" Size="32,32" Anchor="R,T">
<Image ID="TeamRibbon" Anchor="C,B" Offset="0,-7" Size="30,30" Texture="TeamRibbon32" />
</Image>
<Image ID="DiplomacyPip" Anchor="L,B" Size="23,23" Texture="Diplomacy_RelationshipPips" />
</Container>
</Instance>
</Context>
================================================
FILE: Assets/Expansion2/Replacements/citystates_CQUI_expansion2.lua
================================================
-- ===========================================================================
-- Base File
-- ===========================================================================
include("CityStates_Expansion2");
include("citystates_CQUI.lua");
================================================
FILE: Assets/Expansion2/Replacements/diplomacyactionview.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<Context xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="..\..\..\..\..\..\CivTech\Libs\ForgeUI\ForgeUI_Assets\Controls.xsd" Style="FontNormal16" FontStyle="Shadow">
<Include File="CivilizationIcon" />
<Include File="LeaderIcon" />
<Include File="PopupDialog" />
<!-- Button to intercept right mouse clicka and skip cutscenes -->
<Button ID="ScreenClickRegion" Size="parent,parent" Color="0,0,0,0" />
<!-- Containers for caching instances -->
<Container ID="IconAndTextContainer" Hidden="1" />
<Container ID="TextContainer" Hidden="1" />
<Container ID="LeftRightListContainer" Hidden="1" />
<Container ID="TopDownListContainer" Hidden="1" />
<Container ID="ActionListContainer" Hidden="1" />
<Container ID="ActionButtonContainer" Hidden="1" />
<!--
...:::{ MAIN PLAYER PANEL }:::...
An instance of a panel that displays what actions and reports a player can see.
-->
<Instance Name="PlayerPanel">
<!-- The background of the panel, enclosing all contents -->
<Container ID="Root" Size="514,parent">
<Image Texture="Controls_GradientSmall" Size="22,parent" AnchorSide="O,I" Anchor="R,T" Color="0,0,0,255" Rotate="270" Offset="-2,0" />
<Image Texture="Controls_GradientSmall" Size="22,parent" AnchorSide="O,I" Anchor="L,T" Color="0,0,0,255" Rotate="90"
gitextract_9r6afl7h/
├── .editorconfig
├── .github/
│ └── ISSUE_TEMPLATE/
│ ├── bug_report.md
│ └── feature_request.md
├── .gitignore
├── Assets/
│ ├── Babylon/
│ │ └── Additions/
│ │ ├── GreatPeopleHeroPanel.lua
│ │ └── GreatPeopleHeroPanel.xml
│ ├── Expansion1/
│ │ ├── CityBanners/
│ │ │ ├── citybannerinstances.xml
│ │ │ ├── citybannermanager.xml
│ │ │ └── cityreligioninstances.xml
│ │ ├── Replacements/
│ │ │ ├── CityPanel_Expansion1.lua
│ │ │ ├── citypanelculture_CQUI.lua
│ │ │ ├── citypaneloverview_expansion1_CQUI.lua
│ │ │ ├── citystates.xml
│ │ │ ├── citystates_CQUI_expansion1.lua
│ │ │ ├── diplomacyactionview_CQUI_expansion1.lua
│ │ │ ├── diplomacyribbon_CQUI_expansion1.lua
│ │ │ ├── governmentscreen_CQUI_expansion1.lua
│ │ │ ├── launchbar_CQUI_expansion1.lua
│ │ │ ├── partialscreenhooks_CQUI_expansion1.lua
│ │ │ ├── toppanel_CQUI_expansion1.lua
│ │ │ ├── unitpanel_CQUI_expansion1.lua
│ │ │ └── worldinput_CQUI_expansion1.lua
│ │ └── Text/
│ │ ├── Gossip_Text.xml
│ │ ├── Gossip_Text_de.xml
│ │ ├── Gossip_Text_es.xml
│ │ ├── Gossip_Text_fr.xml
│ │ ├── Gossip_Text_ja.xml
│ │ ├── Gossip_Text_ko.xml
│ │ ├── Gossip_Text_pl.xml
│ │ ├── Gossip_Text_pt.xml
│ │ └── Gossip_Text_zh.xml
│ ├── Expansion2/
│ │ ├── CityBanners/
│ │ │ ├── citybannerinstances.xml
│ │ │ ├── citybannermanager.xml
│ │ │ └── cityreligioninstances.xml
│ │ ├── Data/
│ │ │ └── Expansion2_Icons_FontIcons_CQUI.xml
│ │ ├── Replacements/
│ │ │ ├── CityPanel_Expansion1.lua
│ │ │ ├── citypaneloverview_expansion2_CQUI.lua
│ │ │ ├── citypanelpower_CQUI.lua
│ │ │ ├── citystates.xml
│ │ │ ├── citystates_CQUI_expansion2.lua
│ │ │ ├── diplomacyactionview.xml
│ │ │ ├── diplomacyactionview_CQUI_expansion2.lua
│ │ │ ├── diplomacyribbon_CQUI_expansion2.lua
│ │ │ ├── governmentscreen_CQUI_expansion2.lua
│ │ │ ├── ingame.lua
│ │ │ ├── launchbar_CQUI_expansion2.lua
│ │ │ ├── partialscreenhooks_CQUI_expansion2.lua
│ │ │ ├── plottooltip_CQUI_expansion2.lua
│ │ │ ├── toppanel_CQUI_expansion2.lua
│ │ │ ├── unitpanel_CQUI_expansion2.lua
│ │ │ └── worldinput_CQUI_expansion2.lua
│ │ └── Text/
│ │ ├── Gossip_Text.xml
│ │ ├── Gossip_Text_de.xml
│ │ ├── Gossip_Text_es.xml
│ │ ├── Gossip_Text_ja.xml
│ │ └── Gossip_Text_zh.xml
│ ├── Text/
│ │ ├── Gossip_Text.xml
│ │ ├── Gossip_Text_de.xml
│ │ ├── Gossip_Text_es.xml
│ │ ├── Gossip_Text_fr.xml
│ │ ├── Gossip_Text_it.xml
│ │ ├── Gossip_Text_ja.xml
│ │ ├── Gossip_Text_ko.xml
│ │ ├── Gossip_Text_pl.xml
│ │ ├── Gossip_Text_pt.xml
│ │ ├── Gossip_Text_ru.xml
│ │ ├── Gossip_Text_zh.xml
│ │ ├── cqui_InGameText.xml
│ │ ├── cqui_InGameText_de.xml
│ │ ├── cqui_InGameText_it.xml
│ │ ├── cqui_InGameText_ja.xml
│ │ ├── cqui_InGameText_ko.xml
│ │ ├── cqui_InGameText_ru.xml
│ │ ├── cqui_InGameText_zh.xml
│ │ ├── cqui_diplomacy_text.xml
│ │ ├── cqui_diplomacy_text_de.xml
│ │ ├── cqui_diplomacy_text_es.xml
│ │ ├── cqui_diplomacy_text_fr.xml
│ │ ├── cqui_diplomacy_text_it.xml
│ │ ├── cqui_diplomacy_text_ja.xml
│ │ ├── cqui_diplomacy_text_ko.xml
│ │ ├── cqui_diplomacy_text_pl.xml
│ │ ├── cqui_diplomacy_text_pt.xml
│ │ ├── cqui_diplomacy_text_ru.xml
│ │ ├── cqui_diplomacy_text_zh.xml
│ │ ├── cqui_text_general.xml
│ │ ├── cqui_text_general_de.xml
│ │ ├── cqui_text_general_es.xml
│ │ ├── cqui_text_general_fr.xml
│ │ ├── cqui_text_general_it.xml
│ │ ├── cqui_text_general_ja.xml
│ │ ├── cqui_text_general_ko.xml
│ │ ├── cqui_text_general_pl.xml
│ │ ├── cqui_text_general_pt.xml
│ │ ├── cqui_text_general_ru.xml
│ │ ├── cqui_text_general_zh.xml
│ │ ├── cqui_text_settings.xml
│ │ ├── cqui_text_settings_de.xml
│ │ ├── cqui_text_settings_es.xml
│ │ ├── cqui_text_settings_fr.xml
│ │ ├── cqui_text_settings_it.xml
│ │ ├── cqui_text_settings_ja.xml
│ │ ├── cqui_text_settings_ko.xml
│ │ ├── cqui_text_settings_pl.xml
│ │ ├── cqui_text_settings_pt.xml
│ │ ├── cqui_text_settings_ru.xml
│ │ └── cqui_text_settings_zh.xml
│ ├── Texture/
│ │ ├── CQUI_GreatPeople_Background_Bottom.dds
│ │ ├── CQUI_GreatPeople_Background_Repeat_Bottom.dds
│ │ ├── CQUI_GreatPeople_Background_Repeat_Top.dds
│ │ ├── CQUI_GreatPeople_Background_Top.dds
│ │ ├── CQUI_Heroes_Background_Bottom.dds
│ │ ├── CQUI_Heroes_Background_Repeat_Bottom.dds
│ │ ├── CQUI_Heroes_Background_Repeat_Top.dds
│ │ └── CQUI_Heroes_Background_Top.dds
│ ├── UI/
│ │ ├── CQUICommon.lua
│ │ ├── Choosers/
│ │ │ ├── CivicsChooser_CQUI.lua
│ │ │ └── ResearchChooser_CQUI.lua
│ │ ├── Civilopedia/
│ │ │ ├── civilopediascreen.lua
│ │ │ └── civilopediasupport_CQUI.lua
│ │ ├── DiplomacyDealView_CQUI.lua
│ │ ├── Icons/
│ │ │ └── FontIcons_CQUI.xml
│ │ ├── MapPinManager_CQUI.lua
│ │ ├── Menus/
│ │ │ └── InGameTopOptionsMenu_CQUI.lua
│ │ ├── Options_CQUI.lua
│ │ ├── Panels/
│ │ │ ├── NotificationPanel_CQUI.lua
│ │ │ ├── StatusMessagePanel_CQUI.lua
│ │ │ ├── citypanel.lua
│ │ │ ├── citypanel.xml
│ │ │ ├── citypaneloverview.lua
│ │ │ ├── citypaneloverview.xml
│ │ │ ├── productionpanel_CQUI.lua
│ │ │ ├── statusmessagepanel.xml
│ │ │ ├── unitpanel_CQUI.lua
│ │ │ └── unitpanel_CQUI_basegame.lua
│ │ ├── PartialScreens/
│ │ │ ├── citystates.xml
│ │ │ ├── citystates_CQUI.lua
│ │ │ └── citystates_CQUI_basegame.lua
│ │ ├── Popups/
│ │ │ ├── greatpeoplepopup.lua
│ │ │ ├── greatpeoplepopup.xml
│ │ │ ├── policyreminderpopup.lua
│ │ │ ├── policyreminderpopup.xml
│ │ │ ├── techciviccompletedpopup.lua
│ │ │ └── wonderbuiltpopup_CQUI.lua
│ │ ├── Screens/
│ │ │ ├── CivicsTree_CQUI.lua
│ │ │ ├── TechTree_CQUI.lua
│ │ │ ├── governmentscreen_CQUI.lua
│ │ │ └── governmentscreen_CQUI_basegame.lua
│ │ ├── ToolTips/
│ │ │ ├── plottooltip_CQUI.lua
│ │ │ └── plottooltip_CQUI_basegame.lua
│ │ ├── Utilities/
│ │ │ └── extendedrelationship.lua
│ │ ├── WorldTracker_CQUI.lua
│ │ ├── WorldView/
│ │ │ ├── CityBannerManager_CQUI.lua
│ │ │ ├── citybannerinstances.xml
│ │ │ ├── citybannermanager.xml
│ │ │ ├── cityreligioninstances.xml
│ │ │ ├── districtploticonmanager_CQUI.lua
│ │ │ ├── plotinfo.xml
│ │ │ └── plotinfo_CQUI.lua
│ │ ├── WorldViewIconsManager_CQUI.lua
│ │ ├── actionpanel.lua
│ │ ├── diplomacyactionview.xml
│ │ ├── diplomacyactionview_CQUI.lua
│ │ ├── diplomacyactionview_CQUI_basegame.lua
│ │ ├── diplomacydealview.xml
│ │ ├── diplomacyribbon_CQUI.lua
│ │ ├── diplomacyribbon_CQUI_basegame.lua
│ │ ├── ingame.lua
│ │ ├── launchbar.xml
│ │ ├── launchbar_CQUI.lua
│ │ ├── launchbar_CQUI_basegame.lua
│ │ ├── options.xml
│ │ ├── partialscreenhooks.xml
│ │ ├── partialscreenhooks_CQUI.lua
│ │ ├── partialscreenhooks_CQUI_basegame.lua
│ │ ├── productionpanel.xml
│ │ ├── toppanel_CQUI.lua
│ │ ├── toppanel_CQUI_basegame.lua
│ │ ├── unitflagmanager.xml
│ │ ├── unitflagmanager_CQUI.lua
│ │ ├── worldinput_CQUI.lua
│ │ └── worldinput_CQUI_basegame.lua
│ ├── cqui_data.sql
│ ├── cqui_databaseschema.sql
│ ├── cqui_main.lua
│ ├── cqui_settings.sql
│ ├── cqui_settingselement.lua
│ ├── cqui_settingselement.xml
│ ├── cqui_settingselement_lenscolors.lua
│ ├── cqui_settingselement_lenscolors.xml
│ ├── cqui_toplayer.lua
│ └── cqui_toplayer.xml
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── CQUI.dep
├── CQUI.modinfo
├── Integrations/
│ ├── BES/
│ │ ├── Text/
│ │ │ ├── bes_text.xml
│ │ │ ├── bes_text_de.xml
│ │ │ ├── bes_text_es.xml
│ │ │ ├── bes_text_fr.xml
│ │ │ ├── bes_text_it.xml
│ │ │ ├── bes_text_ja.xml
│ │ │ ├── bes_text_ko.xml
│ │ │ ├── bes_text_pt.xml
│ │ │ └── bes_text_ru.xml
│ │ └── UI/
│ │ ├── Choosers/
│ │ │ ├── espionagechooser.lua
│ │ │ └── espionagechooser.xml
│ │ ├── PartialScreens/
│ │ │ ├── espionageoverview.lua
│ │ │ └── espionageoverview.xml
│ │ └── espionagesupport.lua
│ ├── BTS/
│ │ ├── Text/
│ │ │ ├── bts_text.xml
│ │ │ ├── bts_text_de.xml
│ │ │ ├── bts_text_es.xml
│ │ │ ├── bts_text_fr.xml
│ │ │ ├── bts_text_it.xml
│ │ │ ├── bts_text_ja.xml
│ │ │ ├── bts_text_ko.xml
│ │ │ ├── bts_text_pl.xml
│ │ │ ├── bts_text_pt.xml
│ │ │ ├── bts_text_ru.xml
│ │ │ └── bts_text_zh.xml
│ │ ├── UI/
│ │ │ ├── Choosers/
│ │ │ │ ├── tradeoriginchooser.lua
│ │ │ │ ├── tradeoriginchooser.xml
│ │ │ │ ├── traderoutechooser.lua
│ │ │ │ └── traderoutechooser.xml
│ │ │ ├── tradeoverview.lua
│ │ │ ├── tradeoverview.xml
│ │ │ └── tradesupport.lua
│ │ └── license.md
│ ├── ML/
│ │ ├── DLC/
│ │ │ ├── Expansion1/
│ │ │ │ └── UI/
│ │ │ │ └── Replacements/
│ │ │ │ └── minimappanel.xml
│ │ │ └── Expansion2/
│ │ │ └── UI/
│ │ │ └── Replacements/
│ │ │ └── minimappanel.xml
│ │ ├── Lenses/
│ │ │ ├── Archaeologist/
│ │ │ │ └── ModLens_Archaeologist.lua
│ │ │ ├── Barbarian/
│ │ │ │ └── ModLens_Barbarian.lua
│ │ │ ├── Builder/
│ │ │ │ ├── BuilderLens_Config_Default.lua
│ │ │ │ ├── BuilderLens_Support.lua
│ │ │ │ └── ModLens_Builder.lua
│ │ │ ├── CQUI_CitizenManagement/
│ │ │ │ └── ModLens_CQUI_CitizenManagement.lua
│ │ │ ├── CityOverlap/
│ │ │ │ ├── ModLens_CityOverlap.lua
│ │ │ │ └── ModLens_CityOverlap.xml
│ │ │ ├── LensSupport.lua
│ │ │ ├── Naturalist/
│ │ │ │ └── ModLens_Naturalist.lua
│ │ │ ├── Resource/
│ │ │ │ ├── ModLens_Resource.lua
│ │ │ │ └── ModLens_Resource.xml
│ │ │ ├── Routes/
│ │ │ │ └── ModLens_Routes.lua
│ │ │ ├── Scout/
│ │ │ │ └── ModLens_Scout.lua
│ │ │ ├── UnitAction/
│ │ │ │ └── ModLens_UnitAction.lua
│ │ │ └── Wonder/
│ │ │ └── ModLens_Wonder.lua
│ │ ├── Text/
│ │ │ ├── morelenses_text.xml
│ │ │ ├── morelenses_text_de.xml
│ │ │ ├── morelenses_text_es.xml
│ │ │ ├── morelenses_text_fr.xml
│ │ │ ├── morelenses_text_it.xml
│ │ │ ├── morelenses_text_ja.xml
│ │ │ ├── morelenses_text_ko.xml
│ │ │ ├── morelenses_text_pl.xml
│ │ │ ├── morelenses_text_pt.xml
│ │ │ ├── morelenses_text_ru.xml
│ │ │ └── morelenses_text_zh.xml
│ │ ├── UI/
│ │ │ ├── Panels/
│ │ │ │ ├── modallenspanel.lua
│ │ │ │ └── modallenspanel.xml
│ │ │ ├── hotkey_config.xml
│ │ │ ├── minimappanel.lua
│ │ │ └── minimappanel.xml
│ │ ├── futuremodders.txt
│ │ ├── license.md
│ │ └── morelenses_colors.sql
│ └── PQ/
│ └── license
├── LICENSE
├── README.md
└── WorkshopArtifacts/
├── DescriptionFormattedText.txt
└── PictureNotes.txt
Condensed preview — 263 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3,128K chars).
[
{
"path": ".editorconfig",
"chars": 244,
"preview": "; top-most EditorConfig file\n; http://editorconfig.org/\nroot = true\n\n[*]\nindent_style = space\nindent_size = 2\nend_of_lin..."
},
{
"path": ".github/ISSUE_TEMPLATE/bug_report.md",
"chars": 889,
"preview": "---\nname: Bug report\nabout: Create a report to help us improve\n\n---\n\n**Describe the bug**\nA clear and concise descriptio..."
},
{
"path": ".github/ISSUE_TEMPLATE/feature_request.md",
"chars": 560,
"preview": "---\nname: Feature request\nabout: Suggest an idea for this project\n\n---\n\n**Is your feature request related to a problem?..."
},
{
"path": ".gitignore",
"chars": 135,
"preview": ".idea/\n/.project\ncqui.sln\ncqui.luaproj\n.vs/cqui/v14/.suo\ncqui_settings_local.sql\n.bak\n*.bak\n.DS_Store\n/BaseUI/\n/.setting..."
},
{
"path": "Assets/Babylon/Additions/GreatPeopleHeroPanel.lua",
"chars": 16831,
"preview": "-- ===========================================================================\n-- CQUI GreatPeopleHeroPanel replacement..."
},
{
"path": "Assets/Babylon/Additions/GreatPeopleHeroPanel.xml",
"chars": 12368,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<Context xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSc..."
},
{
"path": "Assets/Expansion1/CityBanners/citybannerinstances.xml",
"chars": 22016,
"preview": "<Include File=\"CityBannerInstances\">\n <!-- CQUI CityBannerInstances Replacement File -->\n <!-- Note: This file onl..."
},
{
"path": "Assets/Expansion1/CityBanners/citybannermanager.xml",
"chars": 4435,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<Context>\n <!-- ====== CQUI CityBannerManager Replacement File ====== -->..."
},
{
"path": "Assets/Expansion1/CityBanners/cityreligioninstances.xml",
"chars": 6444,
"preview": "<Include File=\"CityReligionInstances\">\n <!-- CQUI CityReligionInstances Replacement File -->\n <!-- Note: This file..."
},
{
"path": "Assets/Expansion1/Replacements/CityPanel_Expansion1.lua",
"chars": 2076,
"preview": "-- Copyright 2017-2019, Firaxis Games\n\ninclude(\"CityPanel\");\nBASE_CQUI_ViewMain = ViewMain;\n\n-- ========================..."
},
{
"path": "Assets/Expansion1/Replacements/citypanelculture_CQUI.lua",
"chars": 2384,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion1/Replacements/citypaneloverview_expansion1_CQUI.lua",
"chars": 1887,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion1/Replacements/citystates.xml",
"chars": 27404,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSch..."
},
{
"path": "Assets/Expansion1/Replacements/citystates_CQUI_expansion1.lua",
"chars": 237,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion1/Replacements/diplomacyactionview_CQUI_expansion1.lua",
"chars": 259,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion1/Replacements/diplomacyribbon_CQUI_expansion1.lua",
"chars": 251,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion1/Replacements/governmentscreen_CQUI_expansion1.lua",
"chars": 249,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion1/Replacements/launchbar_CQUI_expansion1.lua",
"chars": 239,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion1/Replacements/partialscreenhooks_CQUI_expansion1.lua",
"chars": 253,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion1/Replacements/toppanel_CQUI_expansion1.lua",
"chars": 237,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion1/Replacements/unitpanel_CQUI_expansion1.lua",
"chars": 239,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion1/Replacements/worldinput_CQUI_expansion1.lua",
"chars": 241,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion1/Text/Gossip_Text.xml",
"chars": 1030,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion1/Text/Gossip_Text_de.xml",
"chars": 1060,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion1/Text/Gossip_Text_es.xml",
"chars": 1748,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion1/Text/Gossip_Text_fr.xml",
"chars": 1077,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion1/Text/Gossip_Text_ja.xml",
"chars": 952,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion1/Text/Gossip_Text_ko.xml",
"chars": 954,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion1/Text/Gossip_Text_pl.xml",
"chars": 1202,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion1/Text/Gossip_Text_pt.xml",
"chars": 1057,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion1/Text/Gossip_Text_zh.xml",
"chars": 947,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion2/CityBanners/citybannerinstances.xml",
"chars": 23235,
"preview": "<Include File=\"CityBannerInstances\">\n <!-- CQUI CityBannerInstances Replacement File -->\n <!-- Note: This file onl..."
},
{
"path": "Assets/Expansion2/CityBanners/citybannermanager.xml",
"chars": 4394,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<Context>\n <!-- ====== CQUI CityBannerManager Replacement File ====== -->..."
},
{
"path": "Assets/Expansion2/CityBanners/cityreligioninstances.xml",
"chars": 7361,
"preview": "<Include File=\"CityReligionInstances\">\n <!-- CQUI CityReligionInstances Replacement File -->\n <!-- Note: This file..."
},
{
"path": "Assets/Expansion2/Data/Expansion2_Icons_FontIcons_CQUI.xml",
"chars": 748,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!--\n CQUI - fixes for districts' font icons\n Author: Infixo\n 2020-08-02..."
},
{
"path": "Assets/Expansion2/Replacements/CityPanel_Expansion1.lua",
"chars": 2226,
"preview": "-- NOTE: This is the correct file name. Firaxis has a CityPanel_Expansion1.lua located in the Expansion2 folder.\n--..."
},
{
"path": "Assets/Expansion2/Replacements/citypaneloverview_expansion2_CQUI.lua",
"chars": 2398,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion2/Replacements/citypanelpower_CQUI.lua",
"chars": 2347,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion2/Replacements/citystates.xml",
"chars": 27450,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSch..."
},
{
"path": "Assets/Expansion2/Replacements/citystates_CQUI_expansion2.lua",
"chars": 237,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion2/Replacements/diplomacyactionview.xml",
"chars": 33283,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSch..."
},
{
"path": "Assets/Expansion2/Replacements/diplomacyactionview_CQUI_expansion2.lua",
"chars": 259,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion2/Replacements/diplomacyribbon_CQUI_expansion2.lua",
"chars": 251,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion2/Replacements/governmentscreen_CQUI_expansion2.lua",
"chars": 249,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion2/Replacements/ingame.lua",
"chars": 17511,
"preview": "-- Copyright 2015-2018, Firaxis Games\n-- XP2 root context for ingame (aka: All-the-things)\n-- MODs / Expansions cannot u..."
},
{
"path": "Assets/Expansion2/Replacements/launchbar_CQUI_expansion2.lua",
"chars": 239,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion2/Replacements/partialscreenhooks_CQUI_expansion2.lua",
"chars": 253,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion2/Replacements/plottooltip_CQUI_expansion2.lua",
"chars": 25179,
"preview": "print(\"*** CQUI: PlotToolTip_CQUI_Expansion2.lua loaded\");\n-- ==========================================================..."
},
{
"path": "Assets/Expansion2/Replacements/toppanel_CQUI_expansion2.lua",
"chars": 237,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion2/Replacements/unitpanel_CQUI_expansion2.lua",
"chars": 3740,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion2/Replacements/worldinput_CQUI_expansion2.lua",
"chars": 241,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/Expansion2/Text/Gossip_Text.xml",
"chars": 1360,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion2/Text/Gossip_Text_de.xml",
"chars": 1416,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion2/Text/Gossip_Text_es.xml",
"chars": 1733,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion2/Text/Gossip_Text_ja.xml",
"chars": 1028,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Expansion2/Text/Gossip_Text_zh.xml",
"chars": 1034,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Text/Gossip_Text.xml",
"chars": 11763,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Text/Gossip_Text_de.xml",
"chars": 12506,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Text/Gossip_Text_es.xml",
"chars": 25721,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Text/Gossip_Text_fr.xml",
"chars": 12135,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Text/Gossip_Text_it.xml",
"chars": 12526,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Text/Gossip_Text_ja.xml",
"chars": 10630,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Text/Gossip_Text_ko.xml",
"chars": 11006,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Text/Gossip_Text_pl.xml",
"chars": 17768,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Text/Gossip_Text_pt.xml",
"chars": 12287,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Text/Gossip_Text_ru.xml",
"chars": 12185,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Text/Gossip_Text_zh.xml",
"chars": 10779,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Ed Beach (Fira..."
},
{
"path": "Assets/Text/cqui_InGameText.xml",
"chars": 1225,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n\t<LocalizedText>\n <!-- oerms: This file extends the vanilla InGameT..."
},
{
"path": "Assets/Text/cqui_InGameText_de.xml",
"chars": 1133,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n\t<LocalizedText>\n <!-- oerms: This file extends the vanilla InGameT..."
},
{
"path": "Assets/Text/cqui_InGameText_it.xml",
"chars": 1232,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n\t<LocalizedText>\n <!-- oerms: This file extends the vanilla InGameT..."
},
{
"path": "Assets/Text/cqui_InGameText_ja.xml",
"chars": 1186,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- oerms: This file extends the vanilla InGame..."
},
{
"path": "Assets/Text/cqui_InGameText_ko.xml",
"chars": 1143,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n\t<LocalizedText>\n <!-- oerms: This file extends the vanilla InGameT..."
},
{
"path": "Assets/Text/cqui_InGameText_ru.xml",
"chars": 1252,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n\t<LocalizedText>\n <!-- oerms: This file extends the vanilla InGameT..."
},
{
"path": "Assets/Text/cqui_InGameText_zh.xml",
"chars": 1183,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n\t<LocalizedText>\n <!-- oerms: This file extends the vanilla InGameT..."
},
{
"path": "Assets/Text/cqui_diplomacy_text.xml",
"chars": 699,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Row Tag=\"LOC_IDS_DEAL_TERMS\" Language=\"en..."
},
{
"path": "Assets/Text/cqui_diplomacy_text_de.xml",
"chars": 750,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_IDS_DEAL_TERMS\" Language..."
},
{
"path": "Assets/Text/cqui_diplomacy_text_es.xml",
"chars": 758,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_IDS_DEAL_TERMS\" Language..."
},
{
"path": "Assets/Text/cqui_diplomacy_text_fr.xml",
"chars": 754,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_IDS_DEAL_TERMS\" Language..."
},
{
"path": "Assets/Text/cqui_diplomacy_text_it.xml",
"chars": 754,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_IDS_DEAL_TERMS\" Language..."
},
{
"path": "Assets/Text/cqui_diplomacy_text_ja.xml",
"chars": 703,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_IDS_DEAL_TERMS\" Language..."
},
{
"path": "Assets/Text/cqui_diplomacy_text_ko.xml",
"chars": 709,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_IDS_DEAL_TERMS\" Language..."
},
{
"path": "Assets/Text/cqui_diplomacy_text_pl.xml",
"chars": 748,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_IDS_DEAL_TERMS\" Language..."
},
{
"path": "Assets/Text/cqui_diplomacy_text_pt.xml",
"chars": 783,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- PORTUGUESE -->\n <Replace Tag=\"..."
},
{
"path": "Assets/Text/cqui_diplomacy_text_ru.xml",
"chars": 748,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_IDS_DEAL_TERMS\" Language..."
},
{
"path": "Assets/Text/cqui_diplomacy_text_zh.xml",
"chars": 764,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- SIMPLIFY-CHINESE -->\n <Replace..."
},
{
"path": "Assets/Text/cqui_text_general.xml",
"chars": 3953,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- ENGLISH -->\n <Row Tag=\"LOC_CQUI_NAME\" La..."
},
{
"path": "Assets/Text/cqui_text_general_de.xml",
"chars": 4204,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- GERMAN -->\n <Replace Tag=\"LOC_CQUI_NAME\"..."
},
{
"path": "Assets/Text/cqui_text_general_es.xml",
"chars": 1488,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- SPANISH -->\n <Replace Tag=\"LOC_CQUI_NAME..."
},
{
"path": "Assets/Text/cqui_text_general_fr.xml",
"chars": 2240,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- FRENCH -->\n <Replace Tag=\"LOC_CQUI_NAME\"..."
},
{
"path": "Assets/Text/cqui_text_general_it.xml",
"chars": 2948,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- ITALIAN -->\n <Replace Tag=\"LOC_CQUI_NAM..."
},
{
"path": "Assets/Text/cqui_text_general_ja.xml",
"chars": 2321,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- JAPANESE -->\n <Replace Tag=\"LOC_CQUI_NAM..."
},
{
"path": "Assets/Text/cqui_text_general_ko.xml",
"chars": 3565,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- KOREAN -->\n <Row Tag=\"LOC_CQUI_NAME\" Lan..."
},
{
"path": "Assets/Text/cqui_text_general_pl.xml",
"chars": 1120,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- POLISH -->\n <Replace Tag=\"LOC_CQUI_NAME\"..."
},
{
"path": "Assets/Text/cqui_text_general_pt.xml",
"chars": 2370,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- PORTUGUESE -->\n <Row Tag=\"LOC_CQUI_NAME\"..."
},
{
"path": "Assets/Text/cqui_text_general_ru.xml",
"chars": 4042,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- RUSSIAN -->\n <Row Tag=\"LOC_CQUI_NAME\" La..."
},
{
"path": "Assets/Text/cqui_text_general_zh.xml",
"chars": 3864,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- SIMPLIFY-CHINESE -->\n <Replace Tag=\"LOC_..."
},
{
"path": "Assets/Text/cqui_text_settings.xml",
"chars": 20349,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- ENGLISH -->\n\n <Row Tag=\"LOC_CQUI_BINDING..."
},
{
"path": "Assets/Text/cqui_text_settings_de.xml",
"chars": 19459,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- GERMAN -->\n\n <Row Tag=\"LOC_CQUI_BINDINGS..."
},
{
"path": "Assets/Text/cqui_text_settings_es.xml",
"chars": 11833,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- SPANISH -->\n\n <Row Tag=\"LOC_CQUI_BINDING..."
},
{
"path": "Assets/Text/cqui_text_settings_fr.xml",
"chars": 11133,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- FRENCH -->\n\n <Row Tag=\"LOC_CQUI_BINDINGS..."
},
{
"path": "Assets/Text/cqui_text_settings_it.xml",
"chars": 14905,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- ITALIAN -->\n\n <Row Tag=\"LOC_CQUI_BINDING..."
},
{
"path": "Assets/Text/cqui_text_settings_ja.xml",
"chars": 11989,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- JAPANESE -->\n\n <Row Tag=\"LOC_CQUI_BINDIN..."
},
{
"path": "Assets/Text/cqui_text_settings_ko.xml",
"chars": 15878,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- KOREAN -->\n\n <Row Tag=\"LOC_CQUI_BINDINGS..."
},
{
"path": "Assets/Text/cqui_text_settings_pl.xml",
"chars": 11499,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- POLISH -->\n\n <Row Tag=\"LOC_CQUI_BINDINGS..."
},
{
"path": "Assets/Text/cqui_text_settings_pt.xml",
"chars": 15917,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- PORTUGUESE -->\n\n <Row Tag=\"LOC_CQUI_BIND..."
},
{
"path": "Assets/Text/cqui_text_settings_ru.xml",
"chars": 19074,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- RUSSIAN -->\n\n <Row Tag=\"LOC_CQUI_BINDING..."
},
{
"path": "Assets/Text/cqui_text_settings_zh.xml",
"chars": 9184,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- SIMPLIFY-CHINESE -->\n\n <Row Tag=\"LOC_CQU..."
},
{
"path": "Assets/UI/CQUICommon.lua",
"chars": 13971,
"preview": "------------------------------------------------------------------------------\n-- Additional CQUI Common LUA support fun..."
},
{
"path": "Assets/UI/Choosers/CivicsChooser_CQUI.lua",
"chars": 4962,
"preview": "include(\"CivicsChooser\");\n\n-- ===========================================================================\n-- Cached Base..."
},
{
"path": "Assets/UI/Choosers/ResearchChooser_CQUI.lua",
"chars": 4856,
"preview": "\n-- CQUI/Infixo choose a proper base file to load\ninclude(\"CQUICommon\");\nif g_bIsGatheringStorm or g_bIsRiseAndFall then..."
},
{
"path": "Assets/UI/Civilopedia/civilopediascreen.lua",
"chars": 887,
"preview": "-- ===========================================================================\n--\tCQUI CivilopediaScreen.lua replacement..."
},
{
"path": "Assets/UI/Civilopedia/civilopediasupport_CQUI.lua",
"chars": 572,
"preview": "-- ===========================================================================\n-- Cached Base Functions\n-- =============..."
},
{
"path": "Assets/UI/DiplomacyDealView_CQUI.lua",
"chars": 44932,
"preview": "print(\"*** CQUI: DiplomacyDealView_CQUI loaded\");\n-- ===================================================================..."
},
{
"path": "Assets/UI/Icons/FontIcons_CQUI.xml",
"chars": 517,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!--\n CQUI - fixes for districts' font icons\n Author: Infixo\n 2020-08-02..."
},
{
"path": "Assets/UI/MapPinManager_CQUI.lua",
"chars": 1987,
"preview": "-- ===========================================================================\n--\tMap Pin Manager\n--\tManages all the map..."
},
{
"path": "Assets/UI/Menus/InGameTopOptionsMenu_CQUI.lua",
"chars": 480,
"preview": "include( \"InGameTopOptionsMenu\" );\n\n-- ===========================================================================\n--\tOV..."
},
{
"path": "Assets/UI/Options_CQUI.lua",
"chars": 2055,
"preview": "-- Include the original Options.lua file, which will execute its own initialize\ninclude(\"Options\");\n\n-- Fallback in case..."
},
{
"path": "Assets/UI/Panels/NotificationPanel_CQUI.lua",
"chars": 16463,
"preview": "-- Given the issues observed with including this file, print out a confirmation that has loaded to make for easier debug..."
},
{
"path": "Assets/UI/Panels/StatusMessagePanel_CQUI.lua",
"chars": 22110,
"preview": "include(\"StatusMessagePanel\");\ninclude(\"supportfunctions.lua\");\ninclude(\"CQUICommon.lua\");\n\n-- =========================..."
},
{
"path": "Assets/UI/Panels/citypanel.lua",
"chars": 98663,
"preview": "-- ===========================================================================\n-- CQUI CityPanel lua\n-- CQUI Civ5-style..."
},
{
"path": "Assets/UI/Panels/citypanel.xml",
"chars": 19269,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSch..."
},
{
"path": "Assets/UI/Panels/citypaneloverview.lua",
"chars": 69694,
"preview": "-- ===========================================================================\n-- CQUI CityPanelOverview Replacement Fil..."
},
{
"path": "Assets/UI/Panels/citypaneloverview.xml",
"chars": 43748,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context ColorSet=\"BodyTextCool\" FontStyle=\"Shadow\">\n\n <!-- PauseAnim - The am..."
},
{
"path": "Assets/UI/Panels/productionpanel_CQUI.lua",
"chars": 31783,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/Panels/statusmessagepanel.xml",
"chars": 3507,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<Context Name=\"StatusMessagePanel\">\n\n <!-- This is the Updated Firaxis messag..."
},
{
"path": "Assets/UI/Panels/unitpanel_CQUI.lua",
"chars": 7309,
"preview": "include(\"GameCapabilities\");\n\n-- ===========================================================================\n-- Cached B..."
},
{
"path": "Assets/UI/Panels/unitpanel_CQUI_basegame.lua",
"chars": 224,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/PartialScreens/citystates.xml",
"chars": 26928,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSch..."
},
{
"path": "Assets/UI/PartialScreens/citystates_CQUI.lua",
"chars": 8131,
"preview": "include(\"CQUICommon.lua\");\n-- ===========================================================================\n-- Cached Base..."
},
{
"path": "Assets/UI/PartialScreens/citystates_CQUI_basegame.lua",
"chars": 226,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/Popups/greatpeoplepopup.lua",
"chars": 62736,
"preview": "-- ===========================================================================\n-- CQUI Great People Popup replacement f..."
},
{
"path": "Assets/UI/Popups/greatpeoplepopup.xml",
"chars": 20522,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSch..."
},
{
"path": "Assets/UI/Popups/policyreminderpopup.lua",
"chars": 5338,
"preview": "-- ===========================================================================\n-- CQUI Custom File: Popups when policies..."
},
{
"path": "Assets/UI/Popups/policyreminderpopup.xml",
"chars": 2812,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context Hidden=\"0\">\n <Grid ID=\"PopupDrowShadowGrid\" Anchor=\"C,C\" Offset=\"0,0\"..."
},
{
"path": "Assets/UI/Popups/techciviccompletedpopup.lua",
"chars": 20477,
"preview": "-- CQUI Modification Summary:\n-- Allow for the disabling of the Tech/Civic popup, and control whether the audio voiceove..."
},
{
"path": "Assets/UI/Popups/wonderbuiltpopup_CQUI.lua",
"chars": 12551,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/Screens/CivicsTree_CQUI.lua",
"chars": 10010,
"preview": "\n-- CQUI/Infixo choose a proper base file to load\ninclude(\"CQUICommon\");\n\nif g_bIsGatheringStorm then\n include(\"Civic..."
},
{
"path": "Assets/UI/Screens/TechTree_CQUI.lua",
"chars": 9473,
"preview": "\n-- CQUI/Infixo choose a proper base file to load\ninclude(\"CQUICommon\");\n\nif g_bIsGatheringStorm then\n include(\"TechT..."
},
{
"path": "Assets/UI/Screens/governmentscreen_CQUI.lua",
"chars": 5579,
"preview": "-- ===========================================================================\n-- Cached Base Functions\n-- =============..."
},
{
"path": "Assets/UI/Screens/governmentscreen_CQUI_basegame.lua",
"chars": 238,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/ToolTips/plottooltip_CQUI.lua",
"chars": 20254,
"preview": "print(\"*** CQUI: PlotToolTip_CQUI.lua loaded\");\ninclude (\"CQUICommon.lua\");\n\n-- ========================================..."
},
{
"path": "Assets/UI/ToolTips/plottooltip_CQUI_basegame.lua",
"chars": 228,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/Utilities/extendedrelationship.lua",
"chars": 1821,
"preview": "-- CQUI Custom file, does not replace any Firaxis-produced file\n-- Extended Relationship Tooltip creator\n-- Aristos and..."
},
{
"path": "Assets/UI/WorldTracker_CQUI.lua",
"chars": 4601,
"preview": "include(\"ToolTipHelper\");\ninclude(\"CQUICommon.lua\");\n\n-- CQUI/Infixo Load a proper base file\n-- CivBattleRoyale file cou..."
},
{
"path": "Assets/UI/WorldView/CityBannerManager_CQUI.lua",
"chars": 112993,
"preview": "-- ===========================================================================\n-- CQUI CityBannerManager function extens..."
},
{
"path": "Assets/UI/WorldView/citybannerinstances.xml",
"chars": 255,
"preview": "<!-- TODO: Firaxis made changes to the City Banner Files for vanilla, using the file layout they use with the Expansions..."
},
{
"path": "Assets/UI/WorldView/citybannermanager.xml",
"chars": 43517,
"preview": "<!-- TODO: Firaxis made changes to the City Banner Files for vanilla, using the file layout they use with the Expansions..."
},
{
"path": "Assets/UI/WorldView/cityreligioninstances.xml",
"chars": 255,
"preview": "<!-- TODO: Firaxis made changes to the City Banner Files for vanilla, using the file layout they use with the Expansions..."
},
{
"path": "Assets/UI/WorldView/districtploticonmanager_CQUI.lua",
"chars": 3663,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/WorldView/plotinfo.xml",
"chars": 2400,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context Layer=\"WorldAnchor\">\n\n <Container ID=\"PlotInfoContainer\" />\n\n <Ins..."
},
{
"path": "Assets/UI/WorldView/plotinfo_CQUI.lua",
"chars": 14477,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/WorldViewIconsManager_CQUI.lua",
"chars": 6813,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/actionpanel.lua",
"chars": 75314,
"preview": "-- CQUI ActionPanel.lua Replacement\n-- CQUI-Specific Changes marked in-line below\n\n-- ==================================..."
},
{
"path": "Assets/UI/diplomacyactionview.xml",
"chars": 37395,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<Context xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSc..."
},
{
"path": "Assets/UI/diplomacyactionview_CQUI.lua",
"chars": 8034,
"preview": "include( \"CQUICommon.lua\" );\n\n-- ===========================================================================\n-- Cached B..."
},
{
"path": "Assets/UI/diplomacyactionview_CQUI_basegame.lua",
"chars": 244,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/diplomacydealview.xml",
"chars": 49565,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<!-- ==== CQUI DiplomacyActionView.xml Replacement =============================..."
},
{
"path": "Assets/UI/diplomacyribbon_CQUI.lua",
"chars": 9546,
"preview": "-- ===========================================================================\n-- Cached Base Functions\n-- =============..."
},
{
"path": "Assets/UI/diplomacyribbon_CQUI_basegame.lua",
"chars": 236,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/ingame.lua",
"chars": 20110,
"preview": "-- CQUI InGame.lua Replacement\n-- CQUI-Specific Changes marked in-line below\n-- NOTE: InGame.lua cannot be replaced via..."
},
{
"path": "Assets/UI/launchbar.xml",
"chars": 11898,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context FontStyle=\"Stroke\">\n\n <Container ID=\"LaunchContainer\" Offset=\"-65,-5..."
},
{
"path": "Assets/UI/launchbar_CQUI.lua",
"chars": 11682,
"preview": "include( \"GameCapabilities\" );\ninclude( \"GovernorSupport\" );\n\n-- =======================================================..."
},
{
"path": "Assets/UI/launchbar_CQUI_basegame.lua",
"chars": 225,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/options.xml",
"chars": 51776,
"preview": "<!-- Copy of the Firaxis Options.xml, with single modification for CQUI Settings button, called out below -->\n<?xml vers..."
},
{
"path": "Assets/UI/partialscreenhooks.xml",
"chars": 3612,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<Context>\n <Container ID=\"RootContainer\" Offset=\"65,-5\" Size=\"parent,parent\">..."
},
{
"path": "Assets/UI/partialscreenhooks_CQUI.lua",
"chars": 3631,
"preview": "-- ===========================================================================\n-- Cached Base Functions\n-- =============..."
},
{
"path": "Assets/UI/partialscreenhooks_CQUI_basegame.lua",
"chars": 242,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/productionpanel.xml",
"chars": 44868,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context>\n\n <!-- PauseAnim - The amount of time that the list should wait befo..."
},
{
"path": "Assets/UI/toppanel_CQUI.lua",
"chars": 4678,
"preview": "-- ===========================================================================\n-- Cached Base Functions\n-- =============..."
},
{
"path": "Assets/UI/toppanel_CQUI_basegame.lua",
"chars": 222,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/unitflagmanager.xml",
"chars": 9633,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<Context >\n\n <Container ID=\"CivilianFlags\"/>\n <Container ID=\"MilitaryFlag..."
},
{
"path": "Assets/UI/unitflagmanager_CQUI.lua",
"chars": 32328,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/UI/worldinput_CQUI.lua",
"chars": 35192,
"preview": "include(\"PopupDialog.lua\");\ninclude(\"CQUICommon.lua\");\n\n-- =============================================================..."
},
{
"path": "Assets/UI/worldinput_CQUI_basegame.lua",
"chars": 227,
"preview": "-- ===========================================================================\n-- Base File\n-- =========================..."
},
{
"path": "Assets/cqui_data.sql",
"chars": 640,
"preview": "-- CQUI\n-- Author: Infixo\n-- Created: 2020-09-11\n\n\n-- Add missing descriptions for boost-related goody huts\nUPDATE Goody..."
},
{
"path": "Assets/cqui_databaseschema.sql",
"chars": 456,
"preview": "/*\n Created by LordYanaek for CQUI mod by chaorace.\n This file contains queries used to create the mod's tables in..."
},
{
"path": "Assets/cqui_main.lua",
"chars": 282,
"preview": "-- This is the main CQUI script. There's not much here yet!\n-- TODO: Is this file required? The inclusion of such file..."
},
{
"path": "Assets/cqui_settings.sql",
"chars": 18670,
"preview": "/*\n ╔════════════════════════════════════════════════════════════════════════════════════════════╗\n ║..."
},
{
"path": "Assets/cqui_settingselement.lua",
"chars": 48683,
"preview": "-- TODO (2020-05): Custom localizations are temporarily disabled due to reloads breaking them at the moment. Localizatio..."
},
{
"path": "Assets/cqui_settingselement.xml",
"chars": 55076,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context Name=\"CQUI_SettingsElement\">\n <Container Style=\"FullScreenVignetteCon..."
},
{
"path": "Assets/cqui_settingselement_lenscolors.lua",
"chars": 13479,
"preview": "-- Make the modular lens colors configurable (the_m4a)\n-- print(\"**** File Loaded: CQUI_SettingsElement_LensColors.lua\")..."
},
{
"path": "Assets/cqui_settingselement_lenscolors.xml",
"chars": 2672,
"preview": "<Include File=\"CQUI_SettingsElement_LensColors\">\n <!-- Hidden container just to provide a mechanism to ensure this fi..."
},
{
"path": "Assets/cqui_toplayer.lua",
"chars": 213,
"preview": "--This is a layer that lives at the very top of the UI. It's an excellent place for catching inputs globally or displayi..."
},
{
"path": "Assets/cqui_toplayer.xml",
"chars": 332,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- This context is as high up on the z-axis as possible, which means it is exce..."
},
{
"path": "CODE_OF_CONDUCT.md",
"chars": 3222,
"preview": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, w..."
},
{
"path": "CONTRIBUTING.md",
"chars": 3360,
"preview": "# Contributing\n\nYou want to contribute to the mod? New contributors and their pull requests are always welcome!\nSome iss..."
},
{
"path": "CQUI.dep",
"chars": 232,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<AssetObjects::GameDependencyData>\n <ID>\n <name text=\"Community Quick User I..."
},
{
"path": "CQUI.modinfo",
"chars": 82619,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Mod id=\"1d44b5e7-753e-405b-af24-5ee634ec8a01\" version=\"3.1\">\n <!-- ==========..."
},
{
"path": "Integrations/BES/Text/bes_text.xml",
"chars": 379,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <BaseGameText>\n <Row Tag=\"LOC_ESPIONAGECHOOSER_FILTER_ALL\">..."
},
{
"path": "Integrations/BES/Text/bes_text_de.xml",
"chars": 470,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- GERMAN -->\n <Replace Tag=\"LOC_ESPIONAGEC..."
},
{
"path": "Integrations/BES/Text/bes_text_es.xml",
"chars": 356,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <!-- SPANISH -->\n <Replace Tag=\"LOC_ESPIONAGE..."
},
{
"path": "Integrations/BES/Text/bes_text_fr.xml",
"chars": 459,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_ESPIONAGECHOOSER_FILTER_ALL\" L..."
},
{
"path": "Integrations/BES/Text/bes_text_it.xml",
"chars": 332,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_ESPIONAGECHOOSER_FILTER_ALL\" L..."
},
{
"path": "Integrations/BES/Text/bes_text_ja.xml",
"chars": 322,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_ESPIONAGECHOOSER_FILTER_ALL\" L..."
},
{
"path": "Integrations/BES/Text/bes_text_ko.xml",
"chars": 322,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_ESPIONAGECHOOSER_FILTER_ALL\" L..."
},
{
"path": "Integrations/BES/Text/bes_text_pt.xml",
"chars": 335,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_ESPIONAGECHOOSER_FILTER_ALL\" L..."
},
{
"path": "Integrations/BES/Text/bes_text_ru.xml",
"chars": 328,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<GameData>\n <LocalizedText>\n <Replace Tag=\"LOC_ESPIONAGECHOOSER_FILTER_ALL\" L..."
},
{
"path": "Integrations/BES/UI/Choosers/espionagechooser.lua",
"chars": 41594,
"preview": "-- ===========================================================================\n--\n-- Slideout panel for selecting a new..."
},
{
"path": "Integrations/BES/UI/Choosers/espionagechooser.xml",
"chars": 14428,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Context xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSch..."
},
{
"path": "Integrations/BES/UI/PartialScreens/espionageoverview.lua",
"chars": 50775,
"preview": "-- ===========================================================================\n---- ESPIONAGE OVERVIEW ----\n-- =========..."
}
]
// ... and 63 more files (download for full content)
About this extraction
This page contains the full source code of the civfanatics/CQUI_Community-Edition GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 271 files (2.8 MB), approximately 757.6k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.