Correct the rulesets civ1 and civ2

Do you want to help out with Freeciv development? Then check out this forum.
nef
Veteran
Posts: 107
Joined: Mon Jun 25, 2018 5:01 pm

Re: Correct the rulesets civ1 and civ2

Postby nef » Sun Feb 10, 2019 11:33 am

As I recall free shield upkeep should be MIN (city size, 3) under despotism (and anarchy?).

If so then replace sections [effect_upkeep_free_units_anarchy] and
[effect_upkeep_free_units_despotism] with the following:

Code: Select all

[effect_upkeep_free_units_1]
type    = "Unit_Upkeep_Free_Per_City"
value   = 1
reqs    =
    { "type",       "name",      "range", "present"
      "MinSize",      1,         "city",   TRUE
      "Gov",        "Monarchy",  "Player", FALSE
      "Gov",        "Republic",  "Player", FALSE
      "Gov",        "Democracy", "Player", FALSE
      "Gov",        "Communism", "Player", FALSE
      "OutputType", "Shield",    "Local",  TRUE
    }

[effect_upkeep_free_units_2]
type    = "Unit_Upkeep_Free_Per_City"
value   = 1
reqs    =
    { "type",       "name",      "range", "present"
      "MinSize",      2,         "city",   TRUE
      "Gov",        "Monarchy",  "Player", FALSE
      "Gov",        "Republic",  "Player", FALSE
      "Gov",        "Democracy", "Player", FALSE
      "Gov",        "Communism", "Player", FALSE
      "OutputType", "Shield",    "Local",  TRUE
    }

[effect_upkeep_free_units_3]
type    = "Unit_Upkeep_Free_Per_City"
value   = 1
reqs    =
    { "type",       "name",      "range", "present"
      "MinSize",      3,         "city",   TRUE
      "Gov",        "Monarchy",  "Player", FALSE
      "Gov",        "Republic",  "Player", FALSE
      "Gov",        "Democracy", "Player", FALSE
      "Gov",        "Communism", "Player", FALSE
      "OutputType", "Shield",    "Local",  TRUE
    }


Can someone confirm/deny?

User avatar
meynaf
Veteran
Posts: 85
Joined: Sun Jan 21, 2018 10:27 am
Location: Lyon / France
Contact:

Re: Correct the rulesets civ1 and civ2

Postby meynaf » Mon Feb 11, 2019 8:24 am

nef wrote:In Civ I a fairly simple test to check (b) is to use republic or democracy, for (c) celebration under monarchy or communism. The criterion in both cases is: does a normal railroad tile produce 2 or 3 trade? (Normal = grassland|plains|desert.)

From an old save game i can see it's 2 trade under democracy.


nef wrote:As I recall free shield upkeep should be MIN (city size, 3) under despotism (and anarchy?).

Civilopedia says "Home city units numbering less than or equal to city size do not require maintenance" for despotism and something similar for anarchy. In addition, a simple test has shown that number of free units for despotism is always city size, nothing to do with 3 (city of size 1 has only 1 free unit, not 3 ; city of size 4 has 4 free units, not 3).

Note : this is for Civ 1 version 855.04.

cazfi
Elite
Posts: 1586
Joined: Tue Jan 29, 2013 6:54 pm

Re: Correct the rulesets civ1 and civ2

Postby cazfi » Sun Feb 17, 2019 8:56 pm

Preventing Railroads on city centers -> Feature #803249