[Freeciv-tickets] [freeciv] #44508: edit.create_city() puts a city on top of existing one

Back to archive index
OSDN Ticket System norep****@osdn*****
Sat May 14 17:12:09 JST 2022


#44508: edit.create_city() puts a city on top of existing one

  Open Date: 2022-05-04 01:41
Last Update: 2022-05-14 11:12

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

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

Last Changes/Comment on this Ticket:
2022-05-14 11:12 Updated by: cazfi
 * Owner Update from (None) to cazfi
 * Resolution Update from None to Accepted

Comment:

Untested patches attached.
master/S3_1 version changes the lua API by changing create_city() return value to boolean indicating if it succeeded or not. This should not be an issue even with semi-d3f of S3_1 as nobody testing existing API certainly relies on the return value that is 'void'.

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

      Reporter: ihnatus
         Owner: cazfi
          Type: Bugs
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.0.2
     Component: Scripting API
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

Yup. You can play with three cities in one tile, it's funny but it's clearly a bug.
Suggestion: make create_city() on a built tile adding new citizens to the existing city. Our settlers work like this and this functionality (script creating a city with size > 1) is most clearly missing.

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



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