Incidencia #42992

Inconsistent code about "Local" range "Good" reqs

Abrir Fecha: 2021-10-07 17:30 Última actualización: 2024-02-09 15:42

Informador:
Propietario:
(Ninguno)
Tipo:
Estado:
Open
Componente:
Hito:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno

Details

When looking #42944

Additional inconsistency is that is_goods_type_in_range() would accept "Local" range, if the ruleset loading would ever let it through. As currently implemented, it's identical to "City" range, but I guess the idea might have been that it should check if the local tile has a city with the good imported, i.e., there would be slight semantic difference between "Local" and "City" causing evaluation to be against different city in some cases.

As the ruleset loading time checks guard against ever getting Good requirement with "Local" range, resolving this issue is not urgent, end especially a solution where the functionality gets extended can only occur in later branches that are not yet d3f.

Ticket History (3/10 Histories)

2021-10-07 17:30 Updated by: cazfi
  • New Ticket "Inconsistent code about "Local" range "Good" reqs" created
2022-08-22 04:17 Updated by: cazfi
2022-08-22 16:24 Updated by: alienvalkyrie
Comentario

Note that all non-d3f branches (i.e. currently only master) have had any functionality such as what is described above moved out of the "Local" range into the new "Tile" range.

2022-10-07 09:18 Updated by: cazfi
2022-12-08 16:18 Updated by: cazfi
2023-01-31 11:17 Updated by: cazfi
2023-04-01 14:37 Updated by: cazfi
2023-06-29 00:36 Updated by: cazfi
2023-11-10 15:17 Updated by: cazfi
2024-02-09 15:42 Updated by: cazfi

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Entrar