Ticket #48847

Store unit's transformation turn

Date d'ouverture: 2023-10-16 00:50 Dernière mise à jour: 2023-10-20 14:12

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
1

Détails

Maintain information when the unit was last transformed (upgradet or converted)

Inspired by danau in https://forum.freeciv.org/f/viewtopic.php?t=94545

Ticket History (3/6 Histories)

2023-10-16 00:50 Updated by: cazfi
  • New Ticket "Store unit's transformation turn" created
2023-10-16 03:58 Updated by: ihnatus
Commentaire

Hm, just a thought passing by, isn't it an overcomplication? Too ambiguous what is "unit age" then. Maybe just a flag wether we reset age of a unit on conversion would be enough.

2023-10-16 04:18 Updated by: cazfi
Commentaire

Reply To ihnatus

Hm, just a thought passing by, isn't it an overcomplication? Too ambiguous what is "unit age" then. Maybe just a flag wether we reset age of a unit on conversion would be enough.

I assumed that such a flag would be more complicated to implement (and maintain!) than straightforward storing both overall age and current form age, and latter gives also more functionality. Server has only one copy of the unit, not one FoW version per player, so increasing size of the unit structure by one integer shouldn't be a problem.

2023-10-16 07:52 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
2023-10-20 14:12 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion