Page 1 of 1

Q: Unit upkeep and free units

Posted: Sun Dec 28, 2014 4:37 pm
by Corbeau
Hello. I'm working on a ruleset that includes different upkeep for different units and I have a question. In some governments a number of units is free of upkeep (for example, in Monarchy usually the first three units, in Republic the first one and so on).

Does anyone know how *exactly* the game determines which units are free and which should be paid every turn? Does it depend on the cost itself, is it random, is it first-come-first-served or something else?

Re: Q: Unit upkeep and free units

Posted: Fri Jan 02, 2015 8:42 am
by Corbeau
Nobody knows? The troubles I've seen?

Re: Q: Unit upkeep and free units

Posted: Fri Jan 02, 2015 1:29 pm
by Alien Valkyrie
From all I've seen in the games I've played, the first units the city supports are picked out and granted free upkeep, i.e. the units that were first built by the city or that were first given the city as home city. Though I'm not sure about this, I haven't checked in quite some time (too busy with other games).

Re: Q: Unit upkeep and free units

Posted: Fri Jan 02, 2015 1:47 pm
by cazfi
Though client shows some units as having upkeep and others not, it really doesn't apply to specific units. Free upkeep is subtracted from the total upkeep.

Re: Q: Unit upkeep and free units

Posted: Sat Jan 03, 2015 8:37 am
by Corbeau
cazfi wrote:Though client shows some units as having upkeep and others not, it really doesn't apply to specific units. Free upkeep is subtracted from the total upkeep.
Yes, but *which* free upkeep? If government allows one unit to be free, upkeep for one unit is 1 and for the other is 2, how much does a town spend for the upkeep?

Re: Q: Unit upkeep and free units

Posted: Sat Jan 03, 2015 8:59 am
by cazfi
Corbeau wrote:
cazfi wrote:Though client shows some units as having upkeep and others not, it really doesn't apply to specific units. Free upkeep is subtracted from the total upkeep.
Yes, but *which* free upkeep? If government allows one unit to be free, upkeep for one unit is 1 and for the other is 2, how much does a town spend for the upkeep?
Ok, that's a documentation klitch I thought we had fixed years ago. It really should say "government forgives upkeep worth one shield". I guess the mention of "unit" was added long long time ago when all units had upkeep of 1.

Re: Q: Unit upkeep and free units

Posted: Sat Jan 03, 2015 12:18 pm
by JTN
cazfi wrote:
Corbeau wrote:Yes, but *which* free upkeep? If government allows one unit to be free, upkeep for one unit is 1 and for the other is 2, how much does a town spend for the upkeep?
Ok, that's a documentation klitch I thought we had fixed years ago. It really should say "government forgives upkeep worth one shield". I guess the mention of "unit" was added long long time ago when all units had upkeep of 1.
Is there some part of the documentation that does still imply that units are free?

The autogenerated government help on 2.4 currently says things like
* Each of your cities will avoid paying 3 Shield upkeep for your units.
which is correct (although needs reading carefully).

Re: Q: Unit upkeep and free units

Posted: Sun Jan 04, 2015 5:14 am
by The Square Cow
In the wiki page about editing rulesets, in the section about effects, at the line about Unit_Upkeep_Free_Per_City, it says:
In each city amount of units are free from upkeep. As usual, you can use with OutputType requirement to specify which kind of upkeep this should be.

Re: Q: Unit upkeep and free units

Posted: Sun Jan 04, 2015 8:31 am
by Corbeau
JTN wrote:Is there some part of the documentation that does still imply that units are free?

The autogenerated government help on 2.4 currently says things like
* Each of your cities will avoid paying 3 Shield upkeep for your units.
which is correct (although needs reading carefully).
Oh! You are absolutely right! Yes, this clears things up completely! Thank you!