Opened 7 years ago

Closed 7 years ago

#4572 closed defect (fixed)

Athen civic center can't research town / city phase of other civs

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

Description

When capturing a building, the player can research all technologies there which can be researched in the buildings of that civ too.

Hence players of every civ can research the town / city phase at captured civic center too - unless that civic center is from Athens.

The reason for this must be the civ specific phase tech only Athens have.

(This must be true vice versa for Athen capturing other CCs, but seems slightly less unexpected as one can then research only at Athen CCs).

(Not sure how easy it is to address this, might be a won't fix. Mostly written the ticket for future reference)

Attachments (2)

patch1.diff (759 bytes ) - added by fatherbushido 7 years ago.
patch2.diff (2.3 KB ) - added by fatherbushido 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by fatherbushido, 7 years ago

Well I looked at it. Trying to use "replaces" thing in all that part of the code would be a mess and out of scope. Moreover all is already handle with the (civ) requirements thing. So it's mainly a desgin choice now. Depending on what you want, I suggested three diffs:

  • diff1: athen can search their tech in athen cc. !athen civs can search their tech in athen and !athen cc.
  • diff2: athen can search their tech in athen and !athen cc. !athen civs can search their tech in athen and !athen cc.
  • diff3: (leaving as it is now) then can search their tech in athen cc. !athen civs can search their tech in !athen cc.

by fatherbushido, 7 years ago

Attachment: patch1.diff added

by fatherbushido, 7 years ago

Attachment: patch2.diff added

comment:2 by elexis, 7 years ago

Milestone: BacklogAlpha 22

If it's easy addressable, we shouldn't leave it as is. It might be somewhat expected if Athens can't research the phase at any other CC, but it is unexpected if non-Athens can research the phase at any other CC except the one of Athens.

patch2.diff is what I had in mind, but wasn't sure in advance whether that icon would be shown but only disabled. But that isn't the case, it's hidden when I tested it.

The icon is removed because ProductionQueue.prototype.GetTechnologiesList removes the tech (// Remove any technologies that can't be researched by this civ) which someone has implemented in r18027 / #3899.

The patch is complete because those are all buildings where we can research phase techs.

So consider it accepted and reviewed. Thanks for the patch!

comment:3 by fatherbushido, 7 years ago

Owner: set to fatherbushido
Resolution: fixed
Status: newclosed

In 19569:

Make phase technology researchable in all captured civic center. Reviewed by elexis. Fix #4572.

Note: See TracTickets for help on using tickets.