diff --git a/Advanced Cheat Menu b/Advanced Cheat Menu
deleted file mode 100644
index f3229c5..0000000
--- a/Advanced Cheat Menu
+++ /dev/null
@@ -1 +0,0 @@
-..
diff --git a/CheatMenuPanel.modinfo b/CheatMenuPanel.modinfo
deleted file mode 100644
index 6df84e3..0000000
--- a/CheatMenuPanel.modinfo
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
- [COLOR_LIGHTBLUE]Advanced Cheat Menu (Light)[ENDCOLOR]
- LOC_MOD_ADVANCED_CHEAT_MENU_DESCRIPTION
- LOC_MOD_ADVANCED_CHEAT_MENU_TEASER
- Sparrow
- 0
- 0
- 1
- 1.2,2.0
-
-
-
-
-
-
-
- UI/Text/Input_Config.xml
-
-
- UI/Text/Options_Text.xml
-
-
-
-
-
- 900
-
- UI/Script/Cheat_Menu_Panel_Script.lua
-
-
-
- InGame
-
-
- UI/Popups/Raze_City_Reminder_Popup.xml
- UI/Panels/Cheat_Panel_World_Tracker.xml
-
-
-
-
- 900
-
- UI/Script/Cheat_Menu_Panel_Script.lua
- UI/Popups/Raze_City_Reminder_Popup.lua
- UI/Panels/Cheat_Panel_World_Tracker.lua
- UI/Panels/Cheat_Menu_Panel_Functions.lua
-
-
- UI/Text/Options_Text.xml
- UI/Text/Localisation.sql
-
-
-
- UI/Script/Cheat_Menu_Panel_Script.lua
- UI/Popups/Raze_City_Reminder_Popup.lua
- UI/Popups/Raze_City_Reminder_Popup.xml
- UI/Panels/Cheat_Panel_World_Tracker.xml
- UI/Panels/Cheat_Panel_World_Tracker.lua
- UI/Panels/Cheat_Menu_Panel_Functions.lua
- UI/Text/Options_Text.xml
- UI/Text/Localisation.sql
- UI/Text/Input_Config.xml
-
-
\ No newline at end of file
diff --git a/README.md b/README.md
index 435f121..8207e75 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-# Advanced-Cheat-Menu
+# Cheat Menu Advanced
-This Mod Adds A Menu Panel With Selected Cheat Options For InGame.
+# Cheat Menu Light
## Key Features
diff --git a/UI/Panels/Cheat_Menu_Panel_Functions.lua b/UI/Panels/Cheat_Menu_Panel_Functions.lua
deleted file mode 100644
index c8454b2..0000000
--- a/UI/Panels/Cheat_Menu_Panel_Functions.lua
+++ /dev/null
@@ -1,281 +0,0 @@
--- // ----------------------------------------------------------------------------------------------
--- // Author: Sparrow
--- // DateCreated: 01/24/2019 2:27:04 PM
--- // ----------------------------------------------------------------------------------------------
-include("Civ6Common");
-include("InstanceManager");
-include("SupportFunctions");
-include("PopupDialog");
-include("AnimSidePanelSupport");
-
-local playerID = Game.GetLocalPlayer();
-local pPlayer = Players[playerID];
-local pTreasury = pPlayer:GetTreasury();
-local pReligion = pPlayer:GetReligion();
-local pEnvoy = pPlayer:GetInfluence();
-local pVis = PlayersVisibility[playerID];
-local pNewGP = 1;
-local pNewEnvoy = 5;
-local pNewReligion = 1000;
-local pNewFavor = 100;
-local m_hideCheatPanel = false;
-local m_IsLoading:boolean = false;
-local m_IsAttached:boolean = false;
-
--- // ----------------------------------------------------------------------------------------------
--- // MENU BUTTON FUNCTIONS
--- // ----------------------------------------------------------------------------------------------
-function ChangeEraScore()
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.ChangeEraScore(playerID);
- end
- RefreshActionPanel();
-end
-function ChangeEraScoreBack()
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.ChangeEraScoreBack(playerID);
- end
- RefreshActionPanel();
-end
-function ChangeGold()
- local pNewGold = 1000
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.ChangeGold(playerID, pNewGold);
- end
-end
-function ChangeGoldMore()
- local pNewGold = 100000;
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.ChangeGold(playerID, pNewGold);
- end
-end
-function CompleteProduction()
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.CompleteProduction(playerID);
- end
-end
-function CompleteAllResearch()
- local pTechs = pPlayer:GetTechs()
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.CompleteAllResearch(playerID);
- end
-end
-function CompleteAllCivic()
- local pTechs = pPlayer:GetCulture()
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.CompleteAllCivic(playerID);
- end
-end
-function CompleteResearch()
- local pTechs = pPlayer:GetTechs()
- local pRTech = pTechs:GetResearchingTech()
- if pRTech >= 0 then
- local pCost = pTechs:GetResearchCost(pRTech)
- local pProgress = pTechs:GetResearchProgress(pRTech)
- local pResearchComplete = (pCost - pProgress)
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.CompleteResearch(playerID, pResearchComplete);
- end
- end
-end
-function CompleteCivic()
- local pCivics = pPlayer:GetCulture()
- local pRCivic = pCivics:GetProgressingCivic()
- if pRCivic >= 0 then
- local pCost = pCivics:GetCultureCost(pRCivic)
- local pProgress = pCivics:GetCulturalProgress(pRCivic)
- local pCivicComplete = (pCost - pProgress)
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.CompleteCivic(playerID, pCivicComplete);
- end
- end
-end
-function ChangeFaith()
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.ChangeFaith(playerID, pNewReligion);
- end
-end
-function ChangePopulation()
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.ChangePopulation(playerID);
- end
-end
-function RestoreCityHealth()
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.RestoreCityHealth(playerID);
- end
-end
-function ChangeCityLoyalty()
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.ChangeCityLoyalty(playerID);
- end
-end
-function DestroyCity()
- local pCity = UI.GetHeadSelectedCity();
- if pCity ~= nil and pPlayer:IsHuman() then
- local pCityName:string = Locale.Lookup(pCity:GetName());
- local pCityPop:string = Locale.Lookup(pCity:GetPopulation());
- ExposedMembers.MOD_CheatMenu.DestroyCity(playerID);
- end
-end
---function FreeCity()
--- if pCity ~= nil and pPlayer:IsHuman() then
--- ExposedMembers.MOD_CheatMenu.FreeCity(playerID);
--- end
---end
-function UnitPromote()
- local pUnit = UI.GetHeadSelectedUnit();
- if pUnit ~= nil and pPlayer:IsHuman() then
- local unitID = pUnit:GetID();
- ExposedMembers.MOD_CheatMenu.UnitPromote(playerID, unitID);
- UI:DeselectUnitID(unitID);
- UI:SelectUnitID(unitID);
- end
-end
-function UnitMovementChange()
- local pUnit = UI.GetHeadSelectedUnit();
- if pUnit ~= nil and pPlayer:IsHuman() then
- local unitID = pUnit:GetID();
- ExposedMembers.MOD_CheatMenu.UnitMovementChange(playerID, unitID);
- UI:DeselectUnitID(unitID);
- UI:SelectUnitID(unitID);
- end
-end
-function UnitAddMovement()
- local pUnit = UI.GetHeadSelectedUnit();
- if pUnit ~= nil and pPlayer:IsHuman() then
- local unitID = pUnit:GetID();
- ExposedMembers.MOD_CheatMenu.UnitAddMovement(playerID, unitID);
- UI:DeselectUnitID(unitID);
- UI:SelectUnitID(unitID);
- end
-end
-function OnDuplicate()
- local pUnit = UI.GetHeadSelectedUnit();
- if pUnit ~= nil and pPlayer:IsHuman() then
- local unitID = pUnit:GetID();
- local unitType:string = GameInfo.Units[pUnit:GetUnitType()].UnitType;
- ExposedMembers.MOD_CheatMenu.OnDuplicate(playerID, unitID, unitType);
- end
-end
-function UnitHealChange()
- local pUnit = UI.GetHeadSelectedUnit();
- if pUnit ~= nil and pPlayer:IsHuman() then
- local unitID = pUnit:GetID();
- ExposedMembers.MOD_CheatMenu.UnitHealChange(playerID, unitID);
- UI:DeselectUnitID(unitID);
- UI:SelectUnitID(unitID);
- end
-end
-function UnitFormCorps()
- local pUnit = UI.GetHeadSelectedUnit();
- if pUnit ~= nil and pPlayer:IsHuman() then
- local unitID = pUnit:GetID();
- ExposedMembers.MOD_CheatMenu.UnitFormCorps(playerID, unitID);
- UI:DeselectUnitID(unitID);
- UI:SelectUnitID(unitID);
- end
-end
-function UnitFormArmy()
- local pUnit = UI.GetHeadSelectedUnit();
- if pUnit ~= nil and pPlayer:IsHuman() then
- local unitID = pUnit:GetID();
- ExposedMembers.MOD_CheatMenu.UnitFormArmy(playerID, unitID);
- UI:DeselectUnitID(unitID);
- UI:SelectUnitID(unitID);
- end
-end
-function ChangeEnvoy()
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.ChangeEnvoy(playerID, pNewEnvoy);
- end
-end
-function ChangeDiplomaticFavor()
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.ChangeDiplomaticFavor(playerID, pNewFavor);
- end
-end
-function ChangeGovPoints()
- if pPlayer:IsHuman() then
- ExposedMembers.MOD_CheatMenu.ChangeGovPoints(playerID, pNewGP);
- end
-end
-function RevealAll()
- if pPlayer:IsHuman() then
- LuaEvents.ChangeFOW(playerID)
- ExposedMembers.MOD_CheatMenu.RevealAll(playerID);
- end
-end
-
-function RefreshActionPanel()
- if pPlayer:IsHuman() then
- local UPContextPtr :table = ContextPtr:LookUpControl("/InGame/ActionPanel");
- if UPContextPtr ~= nil then
- UPContextPtr:RequestRefresh();
- end
- end
- ContextPtr:RequestRefresh();
-end
-
--- // ----------------------------------------------------------------------------------------------
--- // HOTKEYS
--- // ----------------------------------------------------------------------------------------------
-function OnInputActionTriggered( actionId )
- if ( actionId == Input.GetActionId("ToggleGold") ) then
- ChangeGold();
- end
- if ( actionId == Input.GetActionId("ToggleGoldMore") ) then
- ChangeGoldMore();
- end
- if ( actionId == Input.GetActionId("ToggleFaith") ) then
- ChangeFaith();
- end
- if ( actionId == Input.GetActionId("ToggleCProduction") ) then
- CompleteProduction();
- end
- if ( actionId == Input.GetActionId("ToggleCCivic") ) then
- CompleteCivic();
- end
- if ( actionId == Input.GetActionId("ToggleCResearch") ) then
- CompleteResearch();
- end
- if ( actionId == Input.GetActionId("ToggleEnvoy") ) then
- ChangeEnvoy();
- end
- if ( actionId == Input.GetActionId("ToggleEra") ) then
- ChangeEraScore();
- end
- if ( actionId == Input.GetActionId("ToggleObs") ) then
- RevealAll();
- end
- if ( actionId == Input.GetActionId("ToggleUnitMovementChange") ) then
- UnitMovementChange();
- end
- if ( actionId == Input.GetActionId("ToggleUnitHealChange") ) then
- UnitHealChange();
- end
- if ( actionId == Input.GetActionId("ToggleUnitPromote") ) then
- UnitPromote();
- end
- if ( actionId == Input.GetActionId("ToggleDuplicate") ) then
- OnDuplicateUnit();
- end
- if ( actionId == Input.GetActionId("ToggleChangePopulation") ) then
- ChangePopulation();
- end
- if ( actionId == Input.GetActionId("ToggleChangeCityLoyalty") ) then
- ChangeCityLoyalty();
- end
- if ( actionId == Input.GetActionId("ToggleCompleteAllResearch") ) then
- CompleteAllResearch();
- end
- if ( actionId == Input.GetActionId("ToggleCompleteAllCivic") ) then
- CompleteAllCivic();
- end
- if ( actionId == Input.GetActionId("ToggleMenu") ) then
- OnMenuButtonToggle();
- end
- if ( actionId == Input.GetActionId("ToggleDiplomaticFavor") ) then
- ChangeDiplomaticFavor();
- end
-end
\ No newline at end of file
diff --git a/UI/Panels/Cheat_Panel_World_Tracker.lua b/UI/Panels/Cheat_Panel_World_Tracker.lua
deleted file mode 100644
index 681dbad..0000000
--- a/UI/Panels/Cheat_Panel_World_Tracker.lua
+++ /dev/null
@@ -1,150 +0,0 @@
--- // ----------------------------------------------------------------------------------------------
--- // Author: Sparrow
--- // DateCreated: 01/24/2019 2:27:04 PM
--- // ----------------------------------------------------------------------------------------------
-include("Cheat_Menu_Panel_Functions");
-
-local m_CheatPanelState:number = 0;
-
-function AttachPanelToWorldTracker()
- if (m_IsLoading) then
- return;
- end
- if (not m_IsAttached) then
- local worldTrackerPanel:table = ContextPtr:LookUpControl("/InGame/WorldTracker/PanelStack");
- if (worldTrackerPanel ~= nil) then
- Controls.CheatPanel:ChangeParent(worldTrackerPanel);
- worldTrackerPanel:AddChildAtIndex(Controls.CheatPanel, 1);
- worldTrackerPanel:CalculateSize();
- worldTrackerPanel:ReprocessAnchoring();
- m_IsAttached = true;
- end
- end
-end
-
--- // ----------------------------------------------------------------------------------------------
--- // Attach Panel To WorldTracker
--- // ----------------------------------------------------------------------------------------------
-function OnLoadGameViewStateDone()
- AttachPanelToWorldTracker();
-end
-
--- // ----------------------------------------------------------------------------------------------
--- // Panel Control and Checkbox Attach
--- // ----------------------------------------------------------------------------------------------
-function UpdateCheatPanel(hideCheatPanel:boolean)
- m_hideCheatPanel = hideCheatPanel;
- Controls.CheatPanel:SetHide(m_hideCheatPanel);
- Controls.ToggleCheatPanel:SetCheck(not m_hideCheatPanel);
-end
-function InitDropdown()
- local parent = ContextPtr:LookUpControl("/InGame/WorldTracker/CivicsCheckButton", Controls.PanelStack );
- if parent == nil then return end;
- Controls.CheatPanelStack:ChangeParent(parent);
- parent.ReprocessAnchoring();
- Events.LoadGameViewStateDone.Remove(InitDropdown);
-end
-function OnPanelTitleClicked()
- if(m_CheatPanelState == 0) then
- UI.PlaySound("Tech_Tray_Slide_Open");
- Controls.CheatPanel:SetSizeY(225);
- Controls.ButtonStackMIN:SetHide(false);
- Controls.ButtonSep:SetHide(false);
- m_CheatPanelState = 1;
-
- else
- UI.PlaySound("Tech_Tray_Slide_Closed");
- Controls.CheatPanel:SetSizeY(25);
- Controls.ButtonStackMIN:SetHide(true);
- Controls.ButtonSep:SetHide(true);
- m_CheatPanelState = 0;
- end
-end
-function KeyHandler( key:number )
- if key == Keys.VK_ESCAPE then
- Hide();
- return true;
- end
- return false;
-end
-function OnInputHandler( pInputStruct:table )
- local uiMsg = pInputStruct:GetMessageType();
- if uiMsg == KeyEvents.KeyUp then
- return KeyHandler( pInputStruct:GetKey() );
- end
- return false;
-end
-
-local function InitializeControls()
- Controls.HeaderTitle:RegisterCallback(Mouse.eLClick, OnPanelTitleClicked);
- --Controls.CheatButtonFreeCity:RegisterCallback(Mouse.eLClick, FreeCity);
- Controls.CheatButtonCityHeal:RegisterCallback(Mouse.eLClick, RestoreCityHealth);
- Controls.CheatButtonEra2:RegisterCallback(Mouse.eLClick, ChangeEraScoreBack);
- Controls.CheatButtonGov:RegisterCallback(Mouse.eLClick, ChangeGovPoints);
- Controls.CheatButtonEra:RegisterCallback(Mouse.eLClick, ChangeEraScore);
- Controls.CheatButtonGold:RegisterCallback(Mouse.eLClick, ChangeGold);
- Controls.CheatButtonProduction:RegisterCallback(Mouse.eLClick, CompleteProduction);
- Controls.CheatButtonAllTech:RegisterCallback(Mouse.eLClick, CompleteAllResearch);
- Controls.CheatButtonAllCivic:RegisterCallback(Mouse.eLClick, CompleteAllCivic);
- Controls.CheatButtonScience:RegisterCallback(Mouse.eLClick, CompleteResearch);
- Controls.CheatButtonCulture:RegisterCallback(Mouse.eLClick, CompleteCivic);
- Controls.CheatButtonDuplicate:RegisterCallback(Mouse.eLClick, OnDuplicate);
- Controls.CheatButtonFaith:RegisterCallback(Mouse.eLClick, ChangeFaith);
- Controls.CheatButtonPopulation:RegisterCallback(Mouse.eLClick, ChangePopulation);
- Controls.CheatButtonLoyalty:RegisterCallback(Mouse.eLClick, ChangeCityLoyalty);
- Controls.CheatButtonDestroy:RegisterCallback(Mouse.eLClick, DestroyCity);
- Controls.CheatButtonPromote:RegisterCallback(Mouse.eLClick, UnitPromote);
- Controls.CheatButtonUnitMV:RegisterCallback(Mouse.eLClick, UnitMovementChange);
- Controls.CheatButtonAddMovement:RegisterCallback(Mouse.eLClick, UnitAddMovement);
- Controls.CheatButtonHeal:RegisterCallback(Mouse.eLClick, UnitHealChange);
- Controls.CheatButtonEnvoy:RegisterCallback(Mouse.eLClick, ChangeEnvoy);
- Controls.CheatButtonObs:RegisterCallback(Mouse.eLClick, RevealAll);
- Controls.CheatButtonCorps:RegisterCallback(Mouse.eLClick, UnitFormCorps);
- Controls.CheatButtonArmy:RegisterCallback(Mouse.eLClick, UnitFormArmy);
- Controls.CheatButtonDiplo:RegisterCallback(Mouse.eLClick, ChangeDiplomaticFavor);
- Controls.CheatButtonCityHeal:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonEra2:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonDuplicate:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonEra:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonGold:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonProduction:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonAllTech:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonAllCivic:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonScience:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonCulture:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonFaith:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonPopulation:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonLoyalty:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonDestroy:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonPromote:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonUnitMV:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonAddMovement:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonHeal:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonEnvoy:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonObs:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over") end);
- Controls.CheatButtonGov:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over"); end);
- Controls.CheatButtonDiplo:RegisterCallback( Mouse.eMouseEnter, function() UI.PlaySound("Main_Menu_Mouse_Over"); end);
- Controls.ToggleCheatPanel:RegisterCheckHandler(function() UpdateCheatPanel(not m_hideCheatPanel); end);
- Controls.ToggleCheatPanel:SetCheck(true);
- UpdateCheatPanel(true);
-end
-
--- // ----------------------------------------------------------------------------------------------
--- // Init
--- // ----------------------------------------------------------------------------------------------
-function Initialize()
- m_IsLoading = true;
- Events.LoadGameViewStateDone.Add(OnLoadGameViewStateDone);
- Events.LoadGameViewStateDone.Add(InitDropdown);
- Events.InputActionTriggered.Add( OnInputActionTriggered );
- ContextPtr:SetInputHandler( OnInputHandler, true );
- InitializeControls();
- if GameConfiguration.IsNetworkMultiplayer() then
- UpdateCheatPanel(true);
- Controls.ToggleCheatPanel:SetHide(true);
- else
- UpdateCheatPanel(false);
- end
- m_IsLoading = false;
-end
-Initialize();
\ No newline at end of file
diff --git a/UI/Panels/Cheat_Panel_World_Tracker.xml b/UI/Panels/Cheat_Panel_World_Tracker.xml
deleted file mode 100644
index 4e35952..0000000
--- a/UI/Panels/Cheat_Panel_World_Tracker.xml
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/UI/Popups/Raze_City_Reminder_Popup.lua b/UI/Popups/Raze_City_Reminder_Popup.lua
deleted file mode 100644
index 538b7b1..0000000
--- a/UI/Popups/Raze_City_Reminder_Popup.lua
+++ /dev/null
@@ -1,123 +0,0 @@
-local g_pSelectedCity;
-
-function OnButton1()
- local tParameters = {};
- tParameters[UnitOperationTypes.PARAM_FLAGS] = 0;
- if (CityManager.CanStartCommand( g_pSelectedCity, CityCommandTypes.DESTROY, tParameters)) then
- UI.DeselectAllCities();
- CityManager.RequestCommand( g_pSelectedCity, CityCommandTypes.DESTROY, tParameters);
- end
- OnClose();
-end
-function OnButton2()
- local tParameters = {};
- tParameters[UnitOperationTypes.PARAM_FLAGS] = 1;
- if (CityManager.CanStartCommand( g_pSelectedCity, CityCommandTypes.DESTROY, tParameters)) then
- UI.DeselectAllCities();
- CityManager.RequestCommand( g_pSelectedCity, CityCommandTypes.DESTROY, tParameters);
- end
- OnClose();
-end
-function OnButton3()
- local tParameters = {};
- tParameters[UnitOperationTypes.PARAM_FLAGS] = 2;
- if (CityManager.CanStartCommand( g_pSelectedCity, CityCommandTypes.DESTROY, tParameters)) then
- CityManager.RequestCommand( g_pSelectedCity, CityCommandTypes.DESTROY, tParameters);
- end
- OnClose();
-end
-function OnButton4()
- local tParameters = {};
- tParameters[UnitOperationTypes.PARAM_FLAGS] = 3;
- if (CityManager.CanStartCommand( g_pSelectedCity, CityCommandTypes.DESTROY, tParameters)) then
- UI.DeselectAllCities();
- CityManager.RequestCommand( g_pSelectedCity, CityCommandTypes.DESTROY, tParameters);
- UI.PlaySound("RAZE_CITY");
- end
- OnClose();
-end
-function OnClose()
- UIManager:DequeuePopup( ContextPtr );
- ContextPtr:SetHide(true);
-end
-
-function ShowRazeCityReminderPopup(player:number)
- local localPlayerID = Game.GetLocalPlayer();
- local localPlayer = Players[localPlayerID];
- if (localPlayer == nil) then
- return;
- end
- g_pSelectedCity = UI.GetHeadSelectedCity();
- Controls.PanelHeader:LocalizeAndSetText("LOC_DESTROY_CITY_HEADER");
- Controls.CityHeader:LocalizeAndSetText("LOC_RAZE_CITY_NAME_LABEL");
- Controls.CityName:LocalizeAndSetText(g_pSelectedCity:GetName());
- Controls.CityPopulation:LocalizeAndSetText("LOC_RAZE_CITY_POPULATION_LABEL");
- Controls.NumPeople:SetText(tostring(g_pSelectedCity:GetPopulation()));
- Controls.CityDistricts:LocalizeAndSetText("LOC_DESTROY_CITY_DISTRICTS_LABEL");
- local iNumDistricts = g_pSelectedCity:GetDistricts():GetNumZonedDistrictsRequiringPopulation();
- Controls.NumDistricts:SetText(tostring(iNumDistricts));
- local szWarmongerString;
- local eOriginalOwner = g_pSelectedCity:GetOriginalOwner();
- local originalOwnerPlayer = Players[eOriginalOwner];
- local eOwnerBeforeOccupation = g_pSelectedCity:GetOwnerBeforeOccupation();
- local bWipedOut = (originalOwnerPlayer:GetCities():GetCount() < 1);
- local eLastTransferType = g_pSelectedCity:GetLastTransferType();
- if (localPlayer:GetDiplomacy():CanLiberateCityTo(eOwnerBeforeOccupation)) then
- Controls.Button2:LocalizeAndSetText("LOC_RAZE_CITY_LIBERATE_FOUNDER_BUTTON_LABEL", PlayerConfigurations[eOwnerBeforeOccupation]:GetCivilizationShortDescription());
- Controls.Button2:LocalizeAndSetToolTip("LOC_DESTROY_CITY_LIBERATE_EXPLANATION");
- Controls.Button2:SetHide(false);
- else
- Controls.Button2:SetHide(true);
- end
- Controls.Button3:LocalizeAndSetText("LOC_RAZE_CITY_KEEP_BUTTON_LABEL");
- if (eLastTransferType == CityTransferTypes.BY_GIFT) then
- Controls.Button3:LocalizeAndSetToolTip("LOC_KEEP_CITY_EXPLANATION");
- elseif (bWipedOut ~= true) then
- Controls.Button3:LocalizeAndSetToolTip("LOC_KEEP_CITY_EXPLANATION");
- else
- Controls.Button3:LocalizeAndSetToolTip("LOC_KEEP_CITY_EXPLANATION");
- end
- Controls.Button4:LocalizeAndSetText("LOC_RAZE_CITY_RAZE_BUTTON_LABEL");
- if g_pSelectedCity:IsCapital() then
- Controls.Button4:LocalizeAndSetToolTip("LOC_RAZE_CITY_RAZE_DISABLED_EXPLANATION");
- Controls.Button4:SetDisabled(true);
- else
- Controls.Button4:LocalizeAndSetToolTip("LOC_RAZE_CITY_EXPLANATION");
- Controls.Button4:SetDisabled(false);
- end
- Controls.PopupStack:CalculateSize();
- Controls.PopupStack:ReprocessAnchoring();
- Controls.RazeCityPanel:ReprocessAnchoring();
- ContextPtr:SetHide(false);
- ContextPtr:SetInputHandler(OnInputHandler);
-end
-function OnInputHandler( uiMsg, wParam, lParam )
- if uiMsg == KeyEvents.KeyUp then
- if wParam == Keys.VK_ESCAPE then
- OnClose();
- end
- end
- return true;
-end
-function OnShowRazeCityReminderPopup( player:number, civic:number)
- if player == Game.GetLocalPlayer() then
- ShowRazeCityReminderPopup(player);
- UIManager:QueuePopup( ContextPtr, PopupPriority.Current);
- end
-end
-
-function Initialize()
- ContextPtr:SetHide(true)
- ContextPtr:SetInputHandler( OnInputHandler, true );
- Controls.Button1:RegisterCallback(Mouse.eLClick, OnButton1);
- Controls.Button2:RegisterCallback(Mouse.eLClick, OnButton2);
- Controls.Button3:RegisterCallback(Mouse.eLClick, OnButton3);
- Controls.Button4:RegisterCallback(Mouse.eLClick, OnButton4);
- LuaEvents.NotificationPanel_OpenRazeCityChooser.Add(OnShowRazeCityReminderPopup);
- Controls.ModalScreenClose:RegisterCallback(Mouse.eLClick, OnClose);
- LuaEvents.ShowRazeCityReminderPopup.Add(OnShowRazeCityReminderPopup);
- if ( not ExposedMembers.MOD_CheatMenu) then ExposedMembers.MOD_CheatMenu = {}; end
- ExposedMembers.MOD_CheatMenu.DestroyCity = OnShowRazeCityReminderPopup;
- ExposedMembers.MOD_CheatMenu_Initialized = true;
-end
-Initialize();
diff --git a/UI/Popups/Raze_City_Reminder_Popup.xml b/UI/Popups/Raze_City_Reminder_Popup.xml
deleted file mode 100644
index 3d2ecef..0000000
--- a/UI/Popups/Raze_City_Reminder_Popup.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/UI/Script/Cheat_Menu_Panel_Script.lua b/UI/Script/Cheat_Menu_Panel_Script.lua
deleted file mode 100644
index 8c0d4d4..0000000
--- a/UI/Script/Cheat_Menu_Panel_Script.lua
+++ /dev/null
@@ -1,220 +0,0 @@
--- // ----------------------------------------------------------------------------------------------
--- // Author: Sparrow
--- // DateCreated: 01/24/2019 2:27:04 PM
--- // ----------------------------------------------------------------------------------------------
-
-local iPlayer;
-local iCity;
-
--- // ----------------------------------------------------------------------------------------------
--- // Event Handlers
--- // ----------------------------------------------------------------------------------------------
-
-function ChangeEraScore(playerID)
- local playerID = Game.GetLocalPlayer()
- local pPlayer = Players[playerID]
- if (Game.ChangePlayerEraScore ~= nil) then
- Game.ChangePlayerEraScore(playerID, 10);
- end
-end
-function ChangeEraScoreBack(playerID)
- local playerID = Game.GetLocalPlayer()
- local pPlayer = Players[playerID]
- if (Game.ChangePlayerEraScore ~= nil) then
- Game.ChangePlayerEraScore(playerID, -10);
- end
-end
-function ChangeGold(playerID, pNewGold)
- local pPlayer = Players[playerID]
- local pTreasury = pPlayer:GetTreasury()
- pTreasury:ChangeGoldBalance(pNewGold)
-end
-function CompleteProduction(playerID)
- local pPlayer = Players[playerID]
- local pCity = pPlayer:GetCities():FindID(iCity)
- local pCityBuildQueue = pCity:GetBuildQueue();
- if iPlayer == playerID then
- pCityBuildQueue:FinishProgress()
- end
-end
-function CompleteAllResearch(playerID)
- local playerID = Game.GetLocalPlayer()
- local pPlayer = Players[playerID]
- local pTechs = pPlayer:GetTechs()
- for kTech in GameInfo.Technologies() do
- pTechs:SetResearchProgress(kTech.Index, pTechs:GetResearchCost(kTech.Index))
- end
-end
-function CompleteAllCivic(playerID)
- local playerID = Game.GetLocalPlayer()
- local pPlayer = Players[playerID]
- local pTechs = pPlayer:GetCulture()
- for kTech in GameInfo.Civics() do
- pTechs:SetCulturalProgress(kTech.Index, pTechs:GetCultureCost(kTech.Index))
- end
-end
-function CompleteResearch(playerID, pResearchComplete)
- local pPlayer = Players[playerID]
- local pResearch = pPlayer:GetTechs()
- pResearch:ChangeCurrentResearchProgress(pResearchComplete)
-end
-function CompleteCivic(playerID, pCivicComplete)
- local pPlayer = Players[playerID]
- local pCivics = pPlayer:GetCulture()
- pCivics:ChangeCurrentCulturalProgress(pCivicComplete)
-end
-function ChangeFaith(playerID, pNewReligion)
- local pPlayer = Players[playerID]
- local pReligion = pPlayer:GetReligion()
- pReligion:ChangeFaithBalance(pNewReligion)
-end
-function ChangePopulation(playerID)
- local pPlayer = Players[playerID]
- if iPlayer == playerID then
- local pCity = pPlayer:GetCities():FindID(iCity)
- pCity:ChangePopulation(1)
- end
-end
-function RestoreCityHealth(playerID)
- local pPlayer = Players[playerID]
- if iPlayer == playerID then
- local pCity = pPlayer:GetCities():FindID(iCity)
- if (pCity ~= nil) then
- local pCityDistricts = pCity:GetDistricts();
- if (pCityDistricts ~= nil) then
- local pCityCenter = pCityDistricts:GetDistrictAtLocation(pCity:GetX(), pCity:GetY());
- if (pCityCenter ~= nil) then
- pCityCenter:SetDamage(DefenseTypes.DISTRICT_GARRISON, 0);
- pCityCenter:SetDamage(DefenseTypes.DISTRICT_OUTER, 0);
- end
- end
- end
- end
-end
-function ChangeCityLoyalty(playerID)
- local pPlayer = Players[playerID]
- if iPlayer == playerID then
- local pCity = pPlayer:GetCities():FindID(iCity)
- pCity:ChangeLoyalty(100)
- end
-end
---function FreeCity(playerID)
--- local pPlayer = Players[playerID]
--- local pCity = pPlayer:GetCities():FindID(iCity)
--- if iPlayer == playerID then
--- if pCity ~= nil then
--- CityManager.TransferCityToFreeCities(pCity);
--- end
--- end
---end
-function UnitPromote(playerID, unitID)
- local pUnit = UnitManager.GetUnit(playerID, unitID)
- local pUnitExp = pUnit:GetExperience():GetExperienceForNextLevel();
- if pUnitExp > 0 then
- pUnit:GetExperience():ChangeExperience(pUnitExp);
- UnitManager.ChangeMovesRemaining(pUnit, 1);
- end
-end
-function UnitMovementChange(playerID, unitID)
- local pUnit = UnitManager.GetUnit(playerID, unitID)
- if (pUnit ~= nil) then
- UnitManager.RestoreMovement(pUnit);
- UnitManager.RestoreUnitAttacks(pUnit);
- end
-end
-function UnitAddMovement(playerID, unitID)
- local pUnit = UnitManager.GetUnit(playerID, unitID)
- if (pUnit ~= nil) then
- UnitManager.ChangeMovesRemaining(pUnit, 5);
- UnitManager.RestoreUnitAttacks(pUnit);
- end
-end
-function OnDuplicate(playerID, unitId, unitType)
- local DupeUnit = nil;
- local pUnit = UnitManager.GetUnit( playerID, unitId );
- local pPlot = Map.GetPlot(pUnit:GetX(), pUnit:GetY());
- if pUnit ~= nil and Players[playerID]:IsHuman() then
- DupeUnit = UnitManager.InitUnitValidAdjacentHex(playerID, unitType, pPlot:GetX(), pPlot:GetY(), 1);
- end
-end
-function UnitHealChange(playerID, unitID)
- local pUnit = UnitManager.GetUnit(playerID, unitID)
- if (pUnit ~= nil) then
- pUnit:SetDamage(0);
- end
-end
-function UnitFormCorps(playerID, unitID)
- local pUnit = UnitManager.GetUnit(playerID, unitID)
- if (pUnit ~= nil) then
- pUnit:SetMilitaryFormation(MilitaryFormationTypes.CORPS_FORMATION);
- end
-end
-function UnitFormArmy(playerID, unitID)
- local pUnit = UnitManager.GetUnit(playerID, unitID)
- if (pUnit ~= nil) then
- pUnit:SetMilitaryFormation(MilitaryFormationTypes.ARMY_FORMATION);
- end
-end
-function ChangeEnvoy(playerID, pNewEnvoy)
- local pPlayer = Players[playerID]
- local pEnvoy = pPlayer:GetInfluence()
- pEnvoy:ChangeTokensToGive(pNewEnvoy)
-end
-function ChangeDiplomaticFavor(playerID, pNewFavor)
- local pPlayer = Players[playerID]
- pPlayer:ChangeDiplomaticFavor(pNewFavor)
-end
-function ChangeGovPoints(playerID, pNewGP)
- local pPlayer = Players[playerID];
- pPlayer:GetGovernors():ChangeGovernorPoints(pNewGP);
-end
-function RevealAll(playerID)
- local eObserverID = Game.GetLocalObserver();
- if (eObserverID == PlayerTypes.OBSERVER) then
- PlayerManager.SetLocalObserverTo(playerID);
- else
- PlayerManager.SetLocalObserverTo(PlayerTypes.OBSERVER);
- end
-end
-function SetValues(playerID, cityID)
- iPlayer = playerID
- iCity = cityID
-end
-
--- // ----------------------------------------------------------------------------------------------
--- // Lua Events
--- // ----------------------------------------------------------------------------------------------
-function Initialize()
-
- Events.CitySelectionChanged.Add(SetValues)
-
- if ( not ExposedMembers.MOD_CheatMenu) then ExposedMembers.MOD_CheatMenu = {}; end
- ExposedMembers.MOD_CheatMenu.ChangeDiplomaticFavor = ChangeDiplomaticFavor;
- ExposedMembers.MOD_CheatMenu.ChangeGold = ChangeGold;
- ExposedMembers.MOD_CheatMenu.FreeCity = FreeCity;
- ExposedMembers.MOD_CheatMenu.ChangeGovPoints = ChangeGovPoints;
- ExposedMembers.MOD_CheatMenu.ChangeEraScore = ChangeEraScore;
- ExposedMembers.MOD_CheatMenu.ChangeEraScoreBack = ChangeEraScoreBack;
- ExposedMembers.MOD_CheatMenu.RevealAll = RevealAll;
- ExposedMembers.MOD_CheatMenu.OnDuplicate = OnDuplicate;
- ExposedMembers.MOD_CheatMenu.UnitFormCorps = UnitFormCorps;
- ExposedMembers.MOD_CheatMenu.UnitFormArmy = UnitFormArmy;
- ExposedMembers.MOD_CheatMenu.ChangeEnvoy = ChangeEnvoy;
- ExposedMembers.MOD_CheatMenu.ChangeCityLoyalty = ChangeCityLoyalty;
- ExposedMembers.MOD_CheatMenu.CompleteProduction = CompleteProduction;
- ExposedMembers.MOD_CheatMenu.CompleteAllResearch = CompleteAllResearch;
- ExposedMembers.MOD_CheatMenu.CompleteResearch = CompleteResearch;
- ExposedMembers.MOD_CheatMenu.CompleteAllCivic = CompleteAllCivic;
- ExposedMembers.MOD_CheatMenu.CompleteCivic = CompleteCivic;
- ExposedMembers.MOD_CheatMenu.ChangeFaith = ChangeFaith;
- ExposedMembers.MOD_CheatMenu.ChangePopulation = ChangePopulation;
- ExposedMembers.MOD_CheatMenu.UnitPromote = UnitPromote;
- ExposedMembers.MOD_CheatMenu.UnitMovementChange = UnitMovementChange;
- ExposedMembers.MOD_CheatMenu.UnitHealChange = UnitHealChange;
- ExposedMembers.MOD_CheatMenu.UnitAddMovement = UnitAddMovement;
- ExposedMembers.MOD_CheatMenu.RestoreCityHealth = RestoreCityHealth;
- ExposedMembers.MOD_CheatMenu_Initialized = true;
- print( "Cheat Menu Initialization Started" );
-end
-
-Initialize();
diff --git a/UI/Text/Input_Config.xml b/UI/Text/Input_Config.xml
deleted file mode 100644
index 9587bbe..0000000
--- a/UI/Text/Input_Config.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/UI/Text/Localisation.sql b/UI/Text/Localisation.sql
deleted file mode 100644
index 7f37e9e..0000000
--- a/UI/Text/Localisation.sql
+++ /dev/null
@@ -1,192 +0,0 @@
---------------------------------------------------------------------------------------------------------------------------
--- LocalisedText
---------------------------------------------------------------------------------------------------------------------------
-INSERT OR REPLACE INTO LocalizedText
- (Tag, Language, Text)
-VALUES
--- English US ------------------------------------------------------------------------------------------------------------
- ("LOC_CHEAT_MENU_ABOUT", "en_US", "Cheat Panel By [Sparrow]"),
- ("LOC_CHEAT_EXPAND_MAX", "en_US", "Hide Advanced Panel"),
- ("LOC_CHEAT_COLLAPSE_MAX", "en_US", "Show Advanced Panel"),
- ("LOC_FORM_ARMY", "en_US", "Form an Army/Armada From Selected Unit"),
- ("LOC_FORM_CORPS", "en_US", "Form an Corps/Fleet From Selected Unit"),
- ("LOC_CHEAT_MENU_DIPLOMATIC_FAVOR", "en_US", "Adds +100 Diplomatic Favor"),
- ("LOC_CHEAT_MENU_HEADER", "en_US", "CHEAT PANEL"),
- ("LOC_CHEAT_TOGGLE_MENU", "en_US", "Toggle Cheat Panel"),
- ("LOC_CHEAT_ICON", "en_US", "Cheat Menu By Sparrow"),
- ("LOC_CHEAT_MENU_GOVPOINTS", "en_US", "Adds +1 Governor Title Point"),
- ("LOC_CHEAT_MENU_GOLD", "en_US", "Adds +1000 [ICON_Gold]"),
- ("LOC_CHEAT_MENU_PRODUCTION", "en_US", "Completes Current [ICON_Production] in Selected City"),
- ("LOC_CHEAT_MENU_SCIENCE", "en_US", "Completes Current Research [ICON_Science]"),
- ("LOC_CHEAT_MENU_CULTURE", "en_US", "Completes Current Civic [ICON_Culture]"),
- ("LOC_CHEAT_MENU_FAITH", "en_US", "Adds +1000 [ICON_Faith]"),
- ("LOC_CHEAT_MENU_ENVOY", "en_US", "Adds +5 [ICON_Envoy] Envoy"),
- ("LOC_CHEAT_MENU_ERA", "en_US", "Increase Era Points +10"),
- ("LOC_CHEAT_MENU_ERAMINUS", "en_US", "Decrease Era Points -10"),
- ("LOC_CHEAT_MENU_MOVE", "en_US", "Add +5 Movement to Selected Unit"),
- ("LOC_CHEAT_MENU_XP", "en_US", "Give Promotion to Selected Unit"),
- ("LOC_CHEAT_MENU_HEAL", "en_US", "Heals Selected Unit"),
- ("LOC_CHEAT_MENU_MOVES", "en_US", "Restores Unit Movement [ICON_Movement]"),
- ("LOC_CHEAT_MENU_DUPLICATE", "en_US", "Duplicate Selected Unit"),
- ("LOC_CHEAT_MENU_POP", "en_US", "Adds +1 [ICON_Citizen] to Selected City"),
- ("LOC_CHEAT_MENU_LOYALTY", "en_US", "Adds +100 Loyalty to Selected City"),
- ("LOC_CHEAT_MENU_DESTROY", "en_US", "Destroy City"),
- ("LOC_CHEAT_MENU_CITYHEAL", "en_US", "Repair City GARRISON & OUTTER WALLS"),
- ("LOC_CHEAT_MENU_AllTECH", "en_US", "All [ICON_Science]"),
- ("LOC_CHEAT_MENU_AllCIVIC", "en_US", "All [ICON_Culture]"),
- ("LOC_CHEAT_MENU_AllTECH_TOOLTIP", "en_US", "Complete All [ICON_Science]"),
- ("LOC_CHEAT_MENU_AllCIVIC_TOOLTIP", "en_US", "Complete All [ICON_Culture]"),
- ("LOC_CHEAT_MENU_OBVS", "en_US", "Toggle Map Observer"),
- ("LOC_DESTROY_CITY_HEADER", "en_US", "Raze Selected City"),
- ("LOC_DESTROY_CITY_DISTRICTS_LABEL", "en_US", "Districts:"),
- ("LOC_RAZE_CITY_EXPLANATION", "en_US", "Raze city clearing it and all its districts and buildings from the map."),
- ("LOC_KEEP_CITY_EXPLANATION", "en_US", "Keep this city in your empire for now."),
- ("LOC_DESTROY_CITY_LIBERATE_EXPLANATION", "en_US", "Liberating a city will return it to one of their previous owners, possibly bringing that civilization back into the game."),
-
--- Italian --------------------------------------------------------------------------------------------------
- ("LOC_CHEAT_MENU_ABOUT", "it_IT", "Cheat Panel By [Sparrow]"),
- ("LOC_CHEAT_EXPAND_MAX", "it_IT", "Hide Advanced Panel"),
- ("LOC_CHEAT_COLLAPSE_MAX", "it_IT", "Show Advanced Panel"),
- ("LOC_FORM_ARMY", "it_IT", "Form an Army/Armada From Selected Unit"),
- ("LOC_FORM_CORPS", "it_IT", "Form an Corps/Fleet From Selected Unit"),
- ("LOC_CHEAT_MENU_DIPLOMATIC_FAVOR", "it_IT", "Adds +100 Diplomatic Favor"),
- ("LOC_CHEAT_TOGGLE_MENU", "it_IT", "Attiva cheat Panel"),
- ("LOC_CHEAT_ICON", "it_IT", "Cheat Menu By Sparrow"),
- ("LOC_CHEAT_MENU_GOVPOINTS", "it_IT", "Aggiunge un +1 al punto di titolo del governatore"),
- ("LOC_CHEAT_MENU_GOLD", "it_IT", "Aggiunge +1000 [ICON_Gold]"),
- ("LOC_CHEAT_MENU_PRODUCTION", "it_IT", "Completa la corrente [ICON_Production] nella città selezionata"),
- ("LOC_CHEAT_MENU_SCIENCE", "it_IT", "Completa la ricerca corrente [ICON_Science]"),
- ("LOC_CHEAT_MENU_CULTURE", "it_IT", "Completes Current Civic [ICON_Culture]"),
- ("LOC_CHEAT_MENU_FAITH", "it_IT", "Aggiunge +1000 [ICON_Faith]"),
- ("LOC_CHEAT_MENU_ENVOY", "it_IT", "Aggiunge +5 [ICON_Envoy] Envoy"),
- ("LOC_CHEAT_MENU_ERA", "it_IT", "Aggiunge +10 punti epoca"),
- ("LOC_CHEAT_MENU_MOVE", "it_IT", "Aggiungi +5 movimento all'unità selezionata"),
- ("LOC_CHEAT_MENU_XP", "it_IT", "Invia la promozione all'unità selezionata"),
- ("LOC_CHEAT_MENU_HEAL", "it_IT", "Cura l'unità selezionata"),
- ("LOC_CHEAT_MENU_MOVES", "it_IT", "Ripristina movimento unità [ICON_Movement]"),
- ("LOC_CHEAT_MENU_DUPLICATE", "it_IT", "Duplica unità selezionata"),
- ("LOC_CHEAT_MENU_POP", "it_IT", "Aggiunge +1 [ICON_Citizen] alla città selezionata"),
- ("LOC_CHEAT_MENU_LOYALTY", "it_IT", "Aggiunge +100 fedeltà alla città selezionata"),
- ("LOC_CHEAT_MENU_DESTROY", "it_IT", "Distrugge la città selezionata"),
- ("LOC_CHEAT_MENU_AllTECH", "it_IT", "Completa tutto [ICON_Science]"),
- ("LOC_CHEAT_MENU_AllCIVIC", "it_IT", "Completa tutto [ICON_Culture]"),
- ("LOC_CHEAT_MENU_OBVS", "it_IT", "Attiva / disattiva mappa osservatore"),
- ("LOC_DESTROY_CITY_HEADER", "it_IT", "Raze Selected City"),
- ("LOC_DESTROY_CITY_DISTRICTS_LABEL", "it_IT", "Distretti:"),
- ("LOC_RAZE_CITY_EXPLANATION", "it_IT", "Raze City che cancella la mappa e tutti i suoi distretti e edifici dalla mappa."),
- ("LOC_KEEP_CITY_EXPLANATION", "it_IT", "Tieni questa città nel tuo impero per ora."),
- ("LOC_DESTROY_CITY_LIBERATE_EXPLANATION", "it_IT", "Liberare una città lo restituirà a uno dei loro precedenti proprietari, probabilmente riportando la civiltà in gioco."),
-
--- Russian RU ------------------------------------------------------------------------------------------------------------
- ("LOC_CHEAT_MENU_ABOUT", "ru_RU", "Чит Панель от [Sparrow]"),
- ("LOC_CHEAT_EXPAND_MAX", "ru_RU", "Спрятать Расширенную Панель"),
- ("LOC_CHEAT_COLLAPSE_MAX", "ru_RU", "Показать Расширенную Панель"),
- ("LOC_FORM_ARMY", "ru_RU", "Образовать Армию/Армаду из выбранного юнита"),
- ("LOC_FORM_CORPS", "ru_RU", "Образовать Корпус/Флот из выбранного юнита"),
- ("LOC_CHEAT_MENU_DIPLOMATIC_FAVOR", "ru_RU", "Добавить +100 Дип. одолжения"),
- ("LOC_CHEAT_MENU_HEADER", "ru_RU", "ЧИТ ПАНЕЛЬ"),
- ("LOC_CHEAT_TOGGLE_MENU", "ru_RU", "Вкл/выкл Чит Панель"),
- ("LOC_CHEAT_ICON", "ru_RU", "Чит меню от Sparrow"),
- ("LOC_CHEAT_MENU_GOVPOINTS", "ru_RU", "Добавить +1 титул Губернатора"),
- ("LOC_CHEAT_MENU_GOLD", "ru_RU", "Добавить +1000 [ICON_Gold]"),
- ("LOC_CHEAT_MENU_PRODUCTION", "ru_RU", "Завершить текущую [ICON_Production] в выбранном городе"),
- ("LOC_CHEAT_MENU_SCIENCE", "ru_RU", "Завершить текущую Технологию [ICON_Science]"),
- ("LOC_CHEAT_MENU_CULTURE", "ru_RU", "Завершить текущий Социальный институт [ICON_Culture]"),
- ("LOC_CHEAT_MENU_FAITH", "ru_RU", "Добавить +1000 [ICON_Faith]"),
- ("LOC_CHEAT_MENU_ENVOY", "ru_RU", "Добавить +5 [ICON_Envoy] эмиссаров"),
- ("LOC_CHEAT_MENU_ERA", "ru_RU", "Увеличить очки Эры на +10"),
- ("LOC_CHEAT_MENU_ERAMINUS", "ru_RU", "Уменьшить очки Эры на -10"),
- ("LOC_CHEAT_MENU_MOVE", "ru_RU", "Добавить +5 ед. движения выбранному юниту"),
- ("LOC_CHEAT_MENU_XP", "ru_RU", "Повысить в звании выбранный юнит"),
- ("LOC_CHEAT_MENU_HEAL", "ru_RU", "Восстановить выбранный юнит"),
- ("LOC_CHEAT_MENU_MOVES", "ru_RU", "Восстановить очки движения [ICON_Movement]"),
- ("LOC_CHEAT_MENU_DUPLICATE", "ru_RU", "Скопировать выбранный юнит"),
- ("LOC_CHEAT_MENU_POP", "ru_RU", "Добавить +1 [ICON_Citizen] в выбранном городе"),
- ("LOC_CHEAT_MENU_LOYALTY", "ru_RU", "Добавить +100 Лояльности в выбранном городе"),
- ("LOC_CHEAT_MENU_DESTROY", "ru_RU", "Уничтожить город"),
- ("LOC_CHEAT_MENU_CITYHEAL", "ru_RU", "Восстановить Гарризон и Стены выбранного города"),
- ("LOC_CHEAT_MENU_AllTECH", "ru_RU", "Все [ICON_Science]"),
- ("LOC_CHEAT_MENU_AllCIVIC", "ru_RU", "Все [ICON_Culture]"),
- ("LOC_CHEAT_MENU_AllTECH_TOOLTIP", "ru_RU", "Завершить все [ICON_Science]"),
- ("LOC_CHEAT_MENU_AllCIVIC_TOOLTIP", "ru_RU", "Завершить все [ICON_Culture]"),
- ("LOC_CHEAT_MENU_OBVS", "ru_RU", "Вкл/выкл Режим Наблюдателя"),
- ("LOC_DESTROY_CITY_HEADER", "ru_RU", "Снести выбранный город"),
- ("LOC_DESTROY_CITY_DISTRICTS_LABEL", "ru_RU", "Районы:"),
- ("LOC_RAZE_CITY_EXPLANATION", "ru_RU", "Снести город вмести со всеми районами и строениями."),
- ("LOC_KEEP_CITY_EXPLANATION", "ru_RU", "Присоединить город к вашей империи"),
- ("LOC_DESTROY_CITY_LIBERATE_EXPLANATION", "ru_RU", "Освобождение города вернет его предыдущему владельцу, возможно, восстанавливая эту цивилизацию в игре."),
-
--- Chinese (simplified)---------------------------------------------------------------------------------------------------------------
- ("LOC_CHEAT_MENU_ABOUT", "zh_Hans_CN", "作弊面板,作者:[Sparrow]"),
- ("LOC_CHEAT_EXPAND_MAX", "zh_Hans_CN", "隐藏主面板"),
- ("LOC_CHEAT_COLLAPSE_MAX", "zh_Hans_CN", "显示主面板"),
- ("LOC_FORM_ARMY", "zh_Hans_CN", "把选定的单位升级成一支军队/无敌舰队"),
- ("LOC_FORM_CORPS", "zh_Hans_CN", "把选定的单位升级成一支军团/舰队"),
- ("LOC_CHEAT_MENU_DIPLOMATIC_FAVOR", "zh_Hans_CN", "+100外交点数"),
- ("LOC_CHEAT_TOGGLE_MENU", "zh_Hans_CN", "切换作弊面板"),
- ("LOC_CHEAT_ICON", "zh_Hans_CN", "作弊面板,作者:Sparrow"),
- ("LOC_CHEAT_MENU_GOVPOINTS", "zh_Hans_CN", "+1总督头衔"),
- ("LOC_CHEAT_MENU_GOLD", "zh_Hans_CN", "+100金币"),
- ("LOC_CHEAT_MENU_PRODUCTION", "zh_Hans_CN", "完成所选城市当前的生产"),
- ("LOC_CHEAT_MENU_SCIENCE", "zh_Hans_CN", "完成当前科技研究"),
- ("LOC_CHEAT_MENU_CULTURE", "zh_Hans_CN", "完成当前市政研究"),
- ("LOC_CHEAT_MENU_FAITH", "zh_Hans_CN", "+100信仰"),
- ("LOC_CHEAT_MENU_ENVOY", "zh_Hans_CN", "+5使者"),
- ("LOC_CHEAT_MENU_ERA", "zh_Hans_CN", "+10时代得分"),
- ("LOC_CHEAT_MENU_MOVE", "zh_Hans_CN", "所选单位加+5移动力"),
- ("LOC_CHEAT_MENU_XP", "zh_Hans_CN", "升级所选单位"),
- ("LOC_CHEAT_MENU_HEAL", "zh_Hans_CN", "治疗所选单位"),
- ("LOC_CHEAT_MENU_MOVES", "zh_Hans_CN", "恢复所选单位的移动力"),
- ("LOC_CHEAT_MENU_DUPLICATE", "zh_Hans_CN", "复制所选单位(不适用于伟人和宗教单位)"),
- ("LOC_CHEAT_MENU_POP", "zh_Hans_CN", "所选城市+1人口"),
- ("LOC_CHEAT_MENU_LOYALTY", "zh_Hans_CN", "所选城市加满忠诚度"),
- ("LOC_CHEAT_MENU_DESTROY", "zh_Hans_CN", "摧毁城市"),
- ("LOC_CHEAT_MENU_AllTECH", "zh_Hans_CN", "全[ICON_Science]"),
- ("LOC_CHEAT_MENU_AllCIVIC", "zh_Hans_CN", "全[ICON_Culture]"),
- ("LOC_CHEAT_MENU_OBVS", "zh_Hans_CN", "切换到地图观察模式"),
- ("LOC_DESTROY_CITY_HEADER", "zh_Hans_CN", "摧毁所选城市"),
- ("LOC_DESTROY_CITY_DISTRICTS_LABEL", "zh_Hans_CN", "区域:"),
- ("LOC_RAZE_CITY_EXPLANATION", "zh_Hans_CN", "摧毁所选城市以及所有它的区域建筑"),
- ("LOC_KEEP_CITY_EXPLANATION", "zh_Hans_CN", "保留这座城市"),
- ("LOC_DESTROY_CITY_LIBERATE_EXPLANATION", "zh_Hans_CN", "解放一个城市将把它归还给他们之前的一个所有者,可能会把这个文明带回游戏中。");
-
--- Japanese ------------------------------------------------------------------------------------------------------------
- ("LOC_CHEAT_MENU_ABOUT", "ja_JP", "Cheat Panel By [Sparrow]"),
- ("LOC_CHEAT_EXPAND_MAX", "ja_JP", "Hide Advanced Panel"),
- ("LOC_CHEAT_COLLAPSE_MAX", "ja_JP", "Show Advanced Panel"),
- ("LOC_FORM_ARMY", "ja_JP", "所选单位升级为军队"),
- ("LOC_FORM_CORPS", "ja_JP", "所选单位升级为军团"),
- ("LOC_CHEAT_MENU_DIPLOMATIC_FAVOR", "ja_JP", "加+100外交支持"),
- ("LOC_CHEAT_EXPAND_MAX", "ja_JP", "詳細パネルを隠す"),
- ("LOC_CHEAT_COLLAPSE_MAX", "ja_JP", "詳細パネルの表示"),
- ("LOC_FORM_ARMY", "ja_JP", "選択中のユニットを大軍団/大艦隊にする"),
- ("LOC_FORM_CORPS", "ja_JP", "選択中のユニットを軍団/艦隊にする"),
- ("LOC_CHEAT_MENU_DIPLOMATIC_FAVOR", "ja_JP", "影響力ポイントを追加 +100"),
- ("LOC_CHEAT_MENU_HEADER", "ja_JP", "チートパネル"),
- ("LOC_CHEAT_TOGGLE_MENU", "ja_JP", "チートパネルの表示切り替え"),
- ("LOC_CHEAT_MENU_GOVPOINTS", "ja_JP", "総督の称号を追加 +1"),
- ("LOC_CHEAT_MENU_GOLD", "ja_JP", "ゴールドを追加 +1000 [ICON_Gold]"),
- ("LOC_CHEAT_MENU_PRODUCTION", "ja_JP", "選択中の都市の生産完了 [ICON_Production]"),
- ("LOC_CHEAT_MENU_SCIENCE", "ja_JP", "研究完了 [ICON_Science]"),
- ("LOC_CHEAT_MENU_CULTURE", "ja_JP", "社会制度完了 [ICON_Culture]"),
- ("LOC_CHEAT_MENU_FAITH", "ja_JP", "信仰を追加 +1000 [ICON_Faith]"),
- ("LOC_CHEAT_MENU_ENVOY", "ja_JP", "代表団を追加 +5 [ICON_Envoy] Envoy"),
- ("LOC_CHEAT_MENU_ERA", "ja_JP", "時代スコアを加算 +10"),
- ("LOC_CHEAT_MENU_ERAMINUS", "ja_JP", "時代スコアを減算 -10"),
- ("LOC_CHEAT_MENU_MOVE", "ja_JP", "ユニットの移動力を追加 +5"),
- ("LOC_CHEAT_MENU_XP", "ja_JP", "選択中のユニットをレベルアップ"),
- ("LOC_CHEAT_MENU_HEAL", "ja_JP", "選択中のユニットの体力を回復"),
- ("LOC_CHEAT_MENU_MOVES", "ja_JP", "ユニットを行動可能にする [ICON_Movement]"),
- ("LOC_CHEAT_MENU_DUPLICATE", "ja_JP", "選択中のユニットを複製"),
- ("LOC_CHEAT_MENU_POP", "ja_JP", "選択中の都市の人口を追加 +1 [ICON_Citizen]"),
- ("LOC_CHEAT_MENU_LOYALTY", "ja_JP", "選択中の都市の忠誠心を追加 +100"),
- ("LOC_CHEAT_MENU_DESTROY", "ja_JP", "選択中の都市を完全破壊"),
- ("LOC_CHEAT_MENU_CITYHEAL", "ja_JP", "選択中の都市の守備隊と防御施設の体力を回復"),
- ("LOC_CHEAT_MENU_AllTECH_TOOLTIP", "ja_JP", "全ての研究完了 [ICON_Science]"),
- ("LOC_CHEAT_MENU_AllCIVIC_TOOLTIP", "ja_JP", "全ての社会制度完了 [ICON_Culture]"),
- ("LOC_CHEAT_MENU_OBVS", "ja_JP", "「戦場の霧」の表示切り替え"),
- ("LOC_DESTROY_CITY_HEADER", "ja_JP", "都市を占領"),
- ("LOC_DESTROY_CITY_DISTRICTS_LABEL", "ja_JP", "区域:"),
- ("LOC_RAZE_CITY_EXPLANATION", "ja_JP", "都市を完全に破壊し、すべての区域と建造物をマップから消滅させます。"),
- ("LOC_KEEP_CITY_EXPLANATION", "ja_JP", "都市を破壊せず、占領状態を維持します。"),
- ("LOC_DESTROY_CITY_LIBERATE_EXPLANATION", "ja_JP", "都市を解放し、以前の所有者に返還します。これにより、ゲームから脱落していた文明が復帰する可能性もあります。");
\ No newline at end of file
diff --git a/UI/Text/Options_Text.xml b/UI/Text/Options_Text.xml
deleted file mode 100644
index dde7961..0000000
--- a/UI/Text/Options_Text.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
-
-
-
- Add +1000 Faith
-
-
- Add +1000 Gold
-
-
- Add +100,000 Gold
-
-
- Complete Production
-
-
- Complete Civic
-
-
- Complete Research
-
-
- Add Envoy
-
-
- Adds +10 Era Points
-
-
- Toggle Map Observer
-
-
- Toggle Cheat Panel
-
-
- Restore Unit Movement
-
-
- Restore Unit Health
-
-
- Promote Unit
-
-
- Duplicate Unit
-
-
- Add Population
-
-
- Change Loyalty
-
-
- Complete All Research
-
-
- Complete All Civic
-
-
- Adds +1 Governor Title Point
-
-
- Add +100 Diplomatic Favor
-
-
-
\ No newline at end of file