#44696: Lua: allow edit.create_building() to move a great wonder Open Date: 2022-05-28 13:30 Last Update: 2022-06-01 21:27 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44696 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44696 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-01 21:27 Updated by: ihnatus Comment: Reply To cazfi Some random considerations: - That it's already possible by removing the wonder first means also that it's a workaround that people could use even if we didn't reopen semi-frozen S3_1 d3f Well, behaviour with wonders was never documented behind "creates a building to a city". - What's the status of other methods related to this? Would it still be easy to grant the Wonder only if it's not already built? function wonder_owner(wonder) for p in players_iterate() do if p:has_building(wonder) then return p end end return nil end - Patch submitted in time for me to handle before my summer break (-> to be in testing over the summer) would increase the chances that this gets accepted to S3_1 Ok, I'll try to make the patch soon. --------------------------------------------------------------------- Ticket Status: Reporter: ihnatus Owner: (None) Type: Feature Requests Status: Open Priority: 5 - Medium MileStone: S3_1 d3f Component: Scripting API Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: This effect is already achievable with edit.remove_building() called first, it's not natural to hide the opportunity. Also, editing from client can do it. -- 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/44696 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44696