待辦事項 #43278

Disallow buying an obsolete building

啟用日期: 2021-11-25 22:57 最後更新: 2023-09-06 23:40

回報者:
負責人:
(無)
類型:
狀態:
開啟
元件:
(無)
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:

細節

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
評語

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
評語

#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
  • 里程碑 Update from (無) to S3_3 d3f

Attachment File List

No attachments

編輯

Please login to add comment to this ticket » 登入