Re: Modding questions
Posted: Sat Dec 09, 2017 7:23 pm
If the unit itself has an upkeep set to 0, it will always be 0, since no matter what you multiply it by...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.)