Control other civs feature 4239120734495028161#19
Open
JP3402 wants to merge 3 commits intosparrow8332:masterfrom
Open
Control other civs feature 4239120734495028161#19JP3402 wants to merge 3 commits intosparrow8332:masterfrom
JP3402 wants to merge 3 commits intosparrow8332:masterfrom
Conversation
This update significantly expands the Advanced Cheat Menu to allow direct control over other civilizations and added several forced actions. Key additions: - Control Other Civs Mode: A toggle that redirects almost all cheats (Gold, Faith, Production, Science, etc.) to the owner of the currently selected unit or city. - Kill Selected Unit: Instantly delete any selected unit from the map. - Restore Movement: Give any unit full movement points (+100). - Make Free City: Force any city to immediately become a Free City. - Force Diplomacy: Instantly add +100 Diplomatic Favor to the target. Technical improvements: - Implemented robust cross-context state sharing for selected player/city. - Expanded UI panel to accommodate new features with clean separators. - Added full English localization for all new functionalities. - Ensured all existing cheats now respect the "Control Other Civs" toggle. - Fixed UI visibility issues for the new expanded panel sections. Co-authored-by: JP3402 <220734450+JP3402@users.noreply.github.com>
This major update empowers the player to fully control and manipulate other civilizations during the game. New Features: - Force War: Force any player (including AI) to declare war on another. - Force Peace: Force any two players to immediately make peace. - Target Player ID: Added a new input field to specify the target of diplomatic actions. - Cede City: Instantly transfer any selected city to your civilization. - Kill Unit: Instantly delete any selected unit. - Restore Movement: Give any unit 100 movement points. - Make Free City: Force any city to become a Free City. Improvements: - Full "Control Other Civs Mode": When active, general cheats (Gold, Faith, Production, Science, etc.) apply to the owner of the selected unit or city. - UI Expansion: Added two new rows of buttons and optimized the panel resizing logic for a perfect fit. - Localization: Complete English text for all new features and tooltips. - Bug Fixes: Corrected an issue where certain new features were not properly exposed to the UI context. - cross-context state: Shared selection data across UI and Gameplay contexts to ensure accurate targeting. Co-authored-by: JP3402 <220734450+JP3402@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.