Help has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #857904


Make Req(s) for ruleset effects to not have forced ignorance about original city founder, presence of foreign citizens

Added by Lexxie L almost 4 years ago. Updated over 3 years ago.

Start date:
Due date:
% Done:


Estimated time:


Ruleset abilities are coming along well for more programmatic balance and features such as found in modern versions of Civ and similar games.

This feature request perhaps an easy one to program and will unlock lots of future rich abilities by inter-combining with things.

The ability to know if a city was originally founded can be used for all kinds of programmatic effects that are realistic, make sense, and are used in similar games.

1."Player_is_Founder" / "City" / TRUE/FALSE
2."Has_Foreign_Citizens" / "City" / TRUE/FALSE

Use cases:
1.Could eliminate "Great Wall" exploit of instant wall in conquered city.
2.Fine tune control over any possible programmable effect in a city, in ways to complement and enhance current abilities
3.increase action_odds for diplomatic actions, etc., etc. etc.

Admittedly, TRUE/FALSE is kinda too boolean for "Has_Foreign_Citizens". It should most definitely have shades of grey. I only introduced it that way only to first get the simple point across.
It would be far better in the form of "MinForeignPercent", "50", City" implemented the same way like the req: "MinYear", "1000", "World". This would allow the ruleset designer to set thresholds for different effects triggered by different foreign population percentages. Combining with knowing original founder and other reqs, rich worlds of possibilities await!


Related issues

Blocks Freeciv - Task #673656: S3_1 datafile format freeze (d3f)ClosedMarko Lindqvist

Actions #1

Updated by Lexxie L almost 4 years ago

It's worth brainstorming how it could really be done powerfully. This is likely too much to do for one ticket and shouldn't be considered as part of this feature request. But if someone feels ambitious to do a masterpiece, they can also consider these ideas:

I could see the above things in action_enablers and/or effects tied to actions. Not just for triggered effects inside a player's own domestic cities.

1. Certain actions could be allowed/disallowed based on foreign citizen % (should be able to check also domestic citizen % for doing actions on foreign citizens that have a large population of your own citizens inside.)
2. Certain effects could be triggered (or not triggered) by actions based on foreign % / your own ethnicity % presence in the target city.

Actions #2

Updated by Marko Lindqvist almost 4 years ago

  • Blocks Task #673656: S3_1 datafile format freeze (d3f) added
Actions #3

Updated by Marko Lindqvist almost 4 years ago

  • Category set to General
  • Sprint/Milestone set to 3.1.0
Actions #4

Updated by Marko Lindqvist almost 4 years ago

Original Owner part split to -> Feature #858238

Let's reserve this ticket for citizens' nationality part.

We should probably go with "ForeignCitizensPct" or the reverse "NativeCitizensPct" requirement type first (in this ticket). That's not getting obsolete even if we later decide to have also finer grained requirement types based on what kind of relations we have with the other nation, bit like trade route income currently is controlled; "EnemyCitizensPct", "AlliedCitizensPct", etc.

Actions #5

Updated by Marko Lindqvist over 3 years ago

Attached patch implements MinForeignPct requirement type.

Actions #6

Updated by Marko Lindqvist over 3 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF