[Freeciv-tickets] [freeciv] #43808: Extras as local-ranged requirement targets

Back to archive index
OSDN Ticket System norep****@osdn*****
Tue Feb 15 08:44:58 JST 2022


#43808: Extras as local-ranged requirement targets

  Open Date: 2022-02-07 23:52
Last Update: 2022-02-15 00:44

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/43808
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43808

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-02-15 00:44 Updated by: alienvalkyrie
 * Resolution Update from None to Accepted

Comment:

A few notes on this patch:
The patch depends on #43809, and softly depends on #43708 to avoid potential rscompat confusion.
No place in the code passes target extras to requirement evaluation yet. This is left to other tickets like #41539 and #41540.
This also means the requirement evaluation code is not testable in practice yet
The default range for Extra, RoadFlag and ExtraFlag requirements is still Tile, not Local, to keep the current behavior


---------------------------------------------------------------------
Ticket Status:

      Reporter: alienvalkyrie
         Owner: alienvalkyrie
          Type: Patches
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: S3_2 d3f
     Component: General
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

Add support for extras as requirement targets (as already exists for e.g. improvements and unit types), with associated local-ranged requirements (RoadFlag, Extra, ExtraFlag).
This is possible now since the "exists on tile" kind of requirement has been moved to the Tile range with hrm #695469. However, to avoid potential rscompat issues, adding new things to the Local range should not be done until after #43708.

-- 
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/43808
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43808



More information about the Freeciv-tickets mailing list
Back to archive index