Modding questions

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
User avatar
Posts: 558
Joined: Mon Apr 29, 2013 4:41 pm

Re: Modding questions

Postby GriffonSpade » Sat Dec 09, 2017 7:23 pm

Corbeau wrote:Ok, I thought I got it, but now I'm lost again. So, this effectively sets all upkeep_factors for all resources (food, shields, gold, unhappy) to 1 (one). Then how come that Monarchy doesn't pay upkeep in gold (which it should, if upkeep_factor for gold is *not* zero)? Or it does and I simply haven't checked that ruleset properly? (The code you copied exists in Multiplayer ruleset, but not in civ2civ3.)

If the unit itself has an upkeep set to 0, it will always be 0, since no matter what you multiply it by...