#41121: Load counter from ruleset Open Date: 2021-01-07 23:39 Last Update: 2022-04-07 21:06 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/41121 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=41121 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-04-07 21:06 Updated by: cazfi Comment: Reply To lachu Hi. Counter type have had default value field currently. Remove fields not mentioned here? I mean, ticked contained fields name in description. Default is not mentioned. Should I remove this field? Yeah, 'default value' is something that needs to come from the ruleset, if it's to be kept. It just wasn't part of the plan when I originally opened this ticket. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: 3.2.0 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Replace internal City Owned counter definition by loading zero or one counter definitions from the ruleset. Fields to have in the ruleset are 'rule_name', 'type', and 'checkpoint'. Make counter_type a specenum to ease support of human readable names for its values. There's no need to send the info to client yet. -- 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/41121 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=41121