Opened 6 years ago
Last modified 3 years ago
#5197 new defect
Blinking training panel should indicate corresponding production queue
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Backlog |
Component: | UI – In-game | Keywords: | simple |
Cc: | Patch: |
Description
If the footprint of a production queue entity is obstructed, the unit cannot be spawned (for instance a dock sometimes can't spawn ships if the dock is surrounded by ships). Then the population counter is blinking (cmpPlayer.BlockTraining
in ProductionQueue.js
, IsTrainingBlocked
in GUIInterface.js
).
But the player only sees that the training panel is blinking, not what the cause of that is.
If the player clicks or doubleclicks on that panel, it should select the entity that has a production queue spawning issue.
The mentioned function could return all entityIDs that make this thing blink (rather than a boolean).
(Perhaps, eventually it should be decoupled from the population counter even, because this case doesn't really have anything to do with the population limit. Instead a new icn could be shown somewhere).
Change History (3)
comment:1 by , 5 years ago
Component: | UI & Simulation → In-game UI |
---|
comment:2 by , 3 years ago
Keywords: | simple removed |
---|---|
severity: | → simple |
comment:3 by , 3 years ago
Keywords: | simple added |
---|
Move tickets to
In-game UI
asUI & Simulation
got some sub components.