#47828: Counters: "User City Counter" Open Date: 2023-04-10 10:30 Last Update: 2023-06-23 01:37 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/47828 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47828 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-06-23 01:37 Updated by: lachu Comment: Reply To cazfi New city counter behavior: "User City Counter". Depends on #47827 This counter type gets adjusted by new lua methods. E.g. (there might be better API): - Counter:increase(City) - Counter:zero(City) 0001-OSDN-47828-Implementation.patch(2KB) Implementation part 0002-OSDN-47828-TEST.patch(1KB) Test patch Test patch add love king effect depending on building ruler have built in city. When city was conquered, effect was zeroed. Mooders can enhance this behavior by limiting improvements type, which will increase counter. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: S3_2 d3f Component: Scripting API Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: New city counter behavior: "User City Counter". Depends on #47827 This counter type gets adjusted by new lua methods. E.g. (there might be better API): - Counter:increase(City) - Counter:zero(City) -- 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/47828 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47828