Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3816 closed enhancement (fixed)

Structure tree - show garrisson limit

Reported by: elexis Owned by: elexis
Priority: Nice to Have Milestone: Alpha 21
Component: UI & Simulation Keywords:
Cc: Patch:

Description

Many buildings and units (ships, siege) can garrison units. Some of them (iberian) have civ-specific changes. So it would be nice to add this information to the tooltip. As the tooltip is reused in the construction panel, it will appear there too.

To waste less space, an icon could be used insted of text.

Change History (3)

comment:1 by elexis, 8 years ago

Owner: set to elexis
Resolution: fixed
Status: newclosed

In 18455:

Garrison tooltips by fatherbushido.

Show how many units can be garrisoned, the number of arrows shot by default, per unit and limit, fixes #3816.
Thus remove a lot of hardcoded numbers in the translated strings and
correct a wrong number for the mauryan ship, fixes #3904.

comment:2 by elexis, 8 years ago

Keywords: simple removed
Milestone: BacklogAlpha 21

Those tooltips are great, the player won't have to compute equations anymore to figure out the projectile limit!

comment:3 by elexis, 8 years ago

In 18817:

Fix missing maxArrowCount in the GUIInterface causing a wrong projectile tooltip in the session. Reviewed by fatherbushido, refs #3816.

Also unify the garrison limit property names in GUIInterface and Template parsing (thereby also distinguishing a garrison limit of 0 and undefined in that equation).

Note: See TracTickets for help on using tickets.