#45991: Unit type to "Upkeep Factor" context Open Date: 2022-10-27 14:12 Last Update: 2022-11-02 17:36 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45991 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45991 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-11-02 17:36 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Patches Status: Closed Priority: 5 - Medium MileStone: S3_2 npf Component: General Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: EFT_UPKEEP_FACTOR is checked in utype_upkeep_cost(), which has knowledge of the unit type. So it should be trivial to support unit type requirements for the effect by adding it to the context. I were actually looking for support for requirements of individual units, but this is a first step, already enabling some other improvements. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/45991 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45991