Add a hotkey to select the current production facility

This commit is contained in:
Ivaylo Draganov
2019-12-21 23:11:36 +02:00
committed by Paul Chote
parent 7ffc689037
commit 1bcad55c1f
6 changed files with 34 additions and 0 deletions

View File

@@ -1838,6 +1838,7 @@ Container@PLAYER_WIDGETS:
HoldText: On Hold
HotkeyPrefix: Production
HotkeyCount: 24
SelectProductionBuildingHotkey: SelectProductionBuilding
ProductionTabs@PRODUCTION_TABS:
Logic: AddFactionSuffixLogic, ProductionTabsLogic
PaletteWidget: PRODUCTION_PALETTE

View File

@@ -2,6 +2,10 @@ CycleProductionBuildings: TAB
Description: Next facility
Types: Production, Player, Spectator
SelectProductionBuilding:
Description: Current facility
Types: Production, Player
Production01: F1
Description: Slot 01
Types: ProductionSlot, Player

View File

@@ -492,6 +492,7 @@ Container@PLAYER_WIDGETS:
MaximumRows: 6
HotkeyPrefix: Production
HotkeyCount: 24
SelectProductionBuildingHotkey: SelectProductionBuilding
ClickSound: TabClick
Container@PRODUCTION_TYPES:
X: 6

View File

@@ -448,6 +448,7 @@ Container@PLAYER_WIDGETS:
IconSpriteOffset: -1, -1
HotkeyPrefix: Production
HotkeyCount: 24
SelectProductionBuildingHotkey: SelectProductionBuilding
Container@PALETTE_FOREGROUND:
Children:
Image@ROW_TEMPLATE:

View File

@@ -491,6 +491,7 @@ Container@PLAYER_WIDGETS:
MaximumRows: 6
HotkeyPrefix: Production
HotkeyCount: 24
SelectProductionBuildingHotkey: SelectProductionBuilding
Container@PRODUCTION_TYPES:
X: 0
Y: 0 - 32