├── LICENSE ├── ProductionQueue.modinfo ├── README.md └── UI ├── Panels └── productionpanel.lua ├── productionpanel.xml ├── strategicview_mapplacement.lua └── supportfunctions.lua /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Kevin Blease 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /ProductionQueue.modinfo: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Production Queue 5 | Adds production queues to cities. 6 | Add production queues to cities. 7 | Lozenged 8 | 2.0 9 | 10 | 11 | 12 | 13 | UI/Panels/productionpanel.lua 14 | UI/productionpanel.xml 15 | UI/strategicview_mapplacement.lua 16 | UI/supportfunctions.lua 17 | 18 | 19 | 20 | 21 | UI/Panels/productionpanel.lua 22 | UI/productionpanel.xml 23 | UI/strategicview_mapplacement.lua 24 | UI/supportfunctions.lua 25 | 26 | 27 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ProductionQueue 2 | ### Add production queuing to Civ VI! 3 | 4 | ![Civ VI Production Queue Screenshot](http://i.imgur.com/ieaQ0iY.jpg) 5 | 6 | Installation 7 | ============ 8 | * Download the mod and extract the contents to the Civilization VI Mods folder. 9 | * Windows - C:\Users\USERNAME\Documents\My Games\Sid Meier's Civilization VI\Mods 10 | * OSX - /Users/USERNAME/Library/Application Support/Sid Meier's Civilization VI/Mods 11 | * Linux - /home/USERNAME/.local/share/aspyr-media/Sid Meier's Civilization VI/Mods 12 | * Enable the mod in the Additional Content section of the main menu. 13 | 14 | Controls 15 | ======== 16 | Actions when clicking an item in the "Choose Production" panel: 17 | * Left-Click: Add the item to the bottom of the queue. 18 | * Control+Left-Click or Middle-Click: Add the item to the top of the queue. 19 | 20 | Actions when click an item in the "Production Queue" panel: 21 | * Left-Click and drag to new position: Move the item to the position when the mouse button is released. i.e. Drag and drop. 22 | * Double Left-Click or Middle-Click: Move the item to the top of the queue. 23 | * Left-Click and drag off queue: Remove the item from the queue. 24 | * Hover: Reveal reserved plot of placed item (district or wonder) on the map. 25 | 26 | Instructions 27 | ============ 28 | When you first load a new game with the mod enabled, the production queue panel will be visible by default to the left of a city's production menu. The panel can be collapsed by clicking the small tab on the upper-left. Using the controls listed in the section below, you can add/remove and manipulate production items in a per-city queue. 29 | 30 | All types of production items are eligible to be added to the queue. This includes districts and wonders! When adding a district or wonder to the queue, you will choose a plot for it like normal. However, the actual placing of the plot will not occur until the item is in the top position of the queue. At that time, it will automatically place the item on the plot that was selected upon adding it to the queue. Anytime before it reaches the top of the queue, you are free to remove it from the queue and re-place it. But remember, as soon as it reaches the top of the queue, it will be placed and be permanent (as occurs when placing a district or wonder in the base game). 31 | 32 | Districts and buildings that are prerequisites for other production items that are already researched (techs and civics) will unlock the next one. For example, you can queue a Commercial Hub and then immediately queue a Market if the required techs are researched. Continuing with this same example, the Market added below the Commercial Hub would be incapable of being moved ahead of it. In other words, the required order of the queue will be maintained. If you attempt to reorder an item in a way that would be impossible, it will move as far as it can before stopping. If you attempt to remove an item which is depended upon by other items below it, the removal will cascade and remove all items within the same dependency chain. In our previous example, this would mean that removing the Commercial Hub would also result in the Market being removed. 33 | 34 | Units in a city's queue which become obsolete will be automatically switched to the unit that is replacing it. In the event the unit that replaces the now obsolete unit is ineligible for production, the units will be removed from your queue. For example: Your queued Warriors are forced to become obsolete upon learning the Gunpowder tech, but the unit which replaces them is the Swordsman which requires Iron. If you do not have Iron, the Warriors will be removed from the queue rather than being upgraded to Swordsmen. 35 | 36 | Altered Game Assets 37 | ------------------- 38 | In case you are curious up front which game assets have been modified, here is a list: 39 | * UI\Panels\ProductionPanel.lua 40 | * UI\ProductionPanel.xml 41 | * UI\StrategicView_MapPlacement.lua 42 | * UI\SupportFunctions.lua 43 | 44 | Copyright 2019 Kevin Blease. This item is not authorized for posting on Steam, except under the Steam account named kevin@thefixed.com. 45 | -------------------------------------------------------------------------------- /UI/productionpanel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 56 | 57 | 58 | 138 | 147 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 168 | 173 | 178 |