Opened 9 years ago

Last modified 15 months ago

#3390 new defect

Summary screen - idle worker time

Reported by: elexis Owned by: Toonijn
Priority: Nice to Have Milestone: Backlog
Component: UI – Miscellaneous Keywords:
Cc: Patch: Phab:D4224

Description (last modified by Langbart)

We should sum up the idle time of all citizen units the player had and display it in the summary screen (since it is an objective measure of how efficient the player has used his/her units).

We should also include the time that units are garrissoned in buildings.

Change History (6)

comment:1 by Stan, 9 years ago

Wouldn't that be heavy to compute ?

in reply to:  1 comment:2 by elexis, 9 years ago

Replying to stanislas69:

Wouldn't that be heavy to compute ?

Not really - the moment when the unit becomes idle, you save the current timestamp to that unit. Then if the unit goes back to work you compute the difference and add it to the total duration.

Might be a bit tricky to handle the garrisoning correctly, as units in towers can shoot arrows and that could be interpreted as not being idle (if they actually shoot). But it should be feasible.

comment:3 by Imarok, 5 years ago

Component: UI & SimulationMisc. UI

Move tickets to Misc. UI as "UI & Simulation" got some sub components.

comment:4 by Langbart, 3 years ago

Description: modified (diff)
Milestone: BacklogAlpha 26
Owner: set to Toonijn
Patch: Phab:D4224
severity: hard

Added patch number, not sure if the Severity is correct, but it seems to be mandatory now.

Last edited 3 years ago by Langbart (previous) (diff)

comment:5 by Stan, 2 years ago

Milestone: Alpha 26Alpha 27

Unlikely to get done for A26

comment:6 by Freagarach, 15 months ago

Milestone: Alpha 27Backlog

Pushing back.

Note: See TracTickets for help on using tickets.