Opened 8 years ago

Last modified 5 years ago

#3689 new defect

[PATCH] Extension of the pair tech mechanism to allow both of them to be researched, but at different moment

Reported by: mimo Owned by:
Priority: Should Have Milestone: Backlog
Component: Simulation Keywords: patch
Cc: Patch:

Description

One of the main criticism of the present tech pair implementation is that choices are definitive and can no more be changed afterwards, even if the player's strategy may change. This patch contains an extension of this pair mechanism allowing both techs of a pair to be researched, but with additional requirements (for example it could require the next phase, or any additional other tech).

The needed changes in the templates are:

in the pair template, "researchBoth": true in the tech templates, "pairRequirements": { the requirements if not selected first} and "pairRequirementsTooltip": "the corresponding tooltip"

In the patch, I've put two examples of such pairs to show how we can give additional choices to the player, instead of fixing the moment at which each tech is available.

In the gui, when hovering over any of the two techs, there is a red cross overlay on the other tech. When both techs can be researched, the cross will be orange.

Attachments (2)

techno.patch (19.9 KB ) - added by mimo 8 years ago.
tech_pair_would_be_delayed.png (3.9 KB ) - added by mimo 8 years ago.
to be put in art/textures/ui/session/icons

Download all attachments as: .zip

Change History (6)

by mimo, 8 years ago

Attachment: techno.patch added

by mimo, 8 years ago

to be put in art/textures/ui/session/icons

comment:1 by mimo, 8 years ago

Keywords: patch review added
Summary: Extension of the pair tech mechanism to allow both of them to be researched, but at different moment[PATCH] Extension of the pair tech mechanism to allow both of them to be researched, but at different moment

comment:2 by elexis, 8 years ago

Milestone: BacklogAlpha 20

comment:3 by mimo, 8 years ago

Keywords: review removed
Milestone: Alpha 20Backlog

comment:4 by Imarok, 5 years ago

Component: UI & SimulationSimulation

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

Note: See TracTickets for help on using tickets.