[Freeciv-tickets] [freeciv] #44831: Lua: add support for unit class and class flags

Back to archive index
OSDN Ticket System norep****@osdn*****
Mon Aug 26 07:22:12 JST 2024


#44831: Lua: add support for unit class and class flags

  Open Date: 2022-06-14 17:29
Last Update: 2024-08-26 01:22

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

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

Last Changes/Comment on this Ticket:
2024-08-26 01:22 Updated by: cazfi
 * Milestone Update from S3_2 d3f to S3_3 d3f


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

      Reporter: ihnatus
         Owner: (None)
          Type: Feature Requests
        Status: Open
      Priority: 5 - Medium
     MileStone: S3_3 d3f
     Component: General
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Don't remember if I requested this API in some bigger bunch, but let it be here.
bool (Unit_Type):has_class_flag(string)
string (Unit_Type).class (or uclass?)
bool (Unit):has_class_flag(string)
Some other missing uclass-related API (maybe also some iterator for getting native extras) that does not mention classes directly:
bool (Unit):can_exist_at(Tile)
bool (Terrain_Type):is_native_for(Unit_Type)
bool (Unit_Type):can_transport(Unit_Type)


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



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