Ticket #43278

Disallow buying an obsolete building

Open Date: 2021-11-25 22:57 Last Update: 2023-09-06 23:40

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
(None)
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

From https://www.hostedredmine.com/issues/921933 by Ilkka Virta: Prevent buying an obsolete building.

As part of #43200, this has also been posted to http://forum.freeciv.org/f/viewtopic.php?f=14&t=92066

Ticket History (3/5 Histories)

2021-11-25 22:57 Updated by: cazfi
  • New Ticket "Disallow buying an obsolete building" created
2021-11-25 23:47 Updated by: cazfi
Comment

The code change there in hrm ticket prevents buying when an building is already obsolete during the turn. It can't do anything for the typical case that building has been bought, gets obsolete during the turn change, and then bought shields count toward new target. So the rule would not be really consistent.

2021-11-25 23:54 Updated by: cazfi
  • Details Updated
2022-10-21 04:32 Updated by: cazfi
Comment

#45938 is about more general bug of being able to buy "unavailable production" (not only when the reason of unavailability is obsolescence).

Likely we just fix that "superset" and this specific case gets the behavior that follows from it.

2023-09-06 23:40 Updated by: cazfi
  • Milestone Update from (None) to S3_3 d3f

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login