[Freeciv-tickets] [freeciv] #42666: Lua: API to unhardcode autoupgrade

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Thu Feb 10 07:55:30 JST 2022


#42666: Lua: API to unhardcode autoupgrade

  Open Date: 2021-07-24 17:41
Last Update: 2022-02-10 00:55

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

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

Last Changes/Comment on this Ticket:
2022-02-10 00:55 Updated by: cazfi
 * Status Update from Open to Closed
 * Resolution Update from Accepted to Fixed


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

      Reporter: ihnatus
         Owner: cazfi
          Type: Feature Requests
        Status: Closed
      Priority: 5 - Medium
     MileStone: S3_1 d3f
     Component: General
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

Ticket details:

This is a sub-task of #42659. Needed functions (test ones are probably common, edit ones are server scripting):
test if a unit may be converted (upgraded) to a given type regarding its current position, transporter and cargo;
get a unit type a player may upgrade a unit type to;
convert (upgrade) a unit to a given type (if it is possible; a double testing will likely occur in the loop but it's not fatal);
promote a unit given number of veteranship ranks (may be negative) clipped by its veteran system, no notifications sent; naturally accompanied by general veteranship getting functions;
an algorithm (in Lua or C) to get a random selection from a list.

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



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index