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?
Q: Unit upkeep and free units
Q: Unit upkeep and free units
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Re: Q: Unit upkeep and free units
Nobody knows? The troubles I've seen?
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
- Alien Valkyrie
- Elite
- Posts: 513
- Joined: Sun Feb 10, 2013 10:21 pm
- Location: Stuttgart, Germany
Re: Q: Unit upkeep and free units
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).
~ AVL
Re: Q: Unit upkeep and free units
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
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?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.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Re: Q: Unit upkeep and free units
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.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?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.
Re: Q: Unit upkeep and free units
Is there some part of the documentation that does still imply that units are free?cazfi wrote: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.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?
The autogenerated government help on 2.4 currently says things like
which is correct (although needs reading carefully).* Each of your cities will avoid paying 3 Shield upkeep for your units.
-
- Veteran
- Posts: 53
- Joined: Wed Nov 19, 2014 5:47 pm
Re: Q: Unit upkeep and free units
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
Oh! You are absolutely right! Yes, this clears things up completely! Thank you!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 likewhich is correct (although needs reading carefully).* Each of your cities will avoid paying 3 Shield upkeep for your units.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...