#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