Opened 4 years ago

Last modified 4 years ago

#5789 new defect

Locked upgrades sometimes show incorrect requirement

Reported by: Andy Alt Owned by:
Priority: Must Have Milestone: Backlog
Component: UI & Simulation Keywords:
Cc: Patch:

Description

When in City Phase, and doing the first melee upgrade, "Side Arms", the second melee upgrade, "Iron Weapons", is disabled (until "Side Arms" is completed), but displays the text "Unlocked in City Phase.". The text should state something like "Side Arms Required".

Screenshot attached.

This happens with other upgrades as well, and the storehouse upgrades. You could be in City Phase, getting the first wood upgrade, and you'll see that the second wood upgrade "requires town phase"

Attachments (1)

melee_upgrade.png (204.0 KB ) - added by Andy Alt 4 years ago.

Download all attachments as: .zip

Change History (4)

by Andy Alt, 4 years ago

Attachment: melee_upgrade.png added

comment:1 by Andy Alt, 4 years ago

Summary: Disabled blacksmith upgrade shows incorrect requirementLocked upgrades sometimes show incorrect requirement

comment:2 by Freagarach, 4 years ago

One should construct the tooltip based on the requirements and the "supersedes"-entry.

(See also #1521, #3670.)

Last edited 4 years ago by Freagarach (previous) (diff)

comment:3 by Silier, 4 years ago

There is "requirementsTooltip" in each technology json, they should be updated for superseded technologies.

Note: See TracTickets for help on using tickets.