#41120: Counter requirement type Open Date: 2021-01-07 23:24 Last Update: 2022-04-01 18:48 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/41120 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=41120 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-04-01 18:48 Updated by: cazfi * Owner Update from (None) to cazfi * Resolution Update from None to Accepted Comment: Reply To cazfi For !present requirement it says "at maximum %d value", but if the counter value is exactly the checkpoint it's going to meet 'present' (like text for 'present' correctly indicates), not '!present' requirement. So should be "less than %d" Is there a new patch version coming? (I know it's been only ten days - just confirming that you noticed this) --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Patches Status: Open [Owner assigned] Priority: 5 - Medium MileStone: S3_2 d3f Component: General Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Add a new requirement type 'Counter'. Name of the requirement is name of the counter. Requirement works only at City range for now. Add new 'checkpoint' int field to struct counter, and set it e.g. 5 for the City Owned counter. Requirement is fulfilled if the value of the requirement is at least checkpoint. Test for example by introducing a ruleset rule that when city has been owned less than those 5 turns, it suffers extra unhappiness. -- 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/41120 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=41120