[Freeciv-tickets] [freeciv] #43294: LUA should be able to access Gov type of a Player

Back to archive index
OSDN Ticket System norep****@osdn*****
Wed Dec 1 07:26:15 JST 2021


#43294: LUA should be able to access Gov type of a Player

  Open Date: 2021-11-30 01:42
Last Update: 2021-12-01 00:26

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

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

Last Changes/Comment on this Ticket:
2021-12-01 00:26 Updated by: cazfi
 * Resolution Update from None to Accepted


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

      Reporter: lexxie9952
         Owner: (None)
          Type: Feature Requests
        Status: Open
      Priority: 5 - Medium
     MileStone: S3_1 d3f
     Component: Scripting API
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

Lots of special effects in a ruleset might be dependent on the type of government.
LUA has types for Gov, but those currently seem useless. Why? There is no way to access the only element for which a government is relevant:  a Player.
Adding a function to access Gov type for a Player would be useful for ruleset creators who generate special effects based on Gov types.
Thanks!

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



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