Comment 10 for bug 536437

Revision history for this message
GunChleoc (gunchleoc) wrote :

The information for 2) and 3) is displayed on the buldings themselves, but not the information for 1) (except for the fact that a worker is missing)

For 1): How about a mouseover for everything like we have in the production program? I finally managed to fix the phrasings for those, so we could add a simliar tooltip for missing workers. Maybe we could add a hover text with a reason:

- Can't start mining because we have no master miner yet
- Can't start mining because there is no master miner available
- Can't start mining because the worker needs the following tool: 'pickaxe'

For a global display, we would need very short messages. It should also be clickable, so the user will be able to find the building that is complaining. Maybe we could also delay these as we recently did for the "Out of resources" messages, otherwise it could get very busy.

I'm thinking we could format the messages like this:

"<building icon> needs <ware icon/worker icon/soldier icon>"

If the worker is missing because of experience, show a worker icon. If the tool to recruit the worker is missing, show the tool icon. If a militarysite can't get occupied, show a soldier icon.

The building icon should be the clickable element, or the whole message.