Ruleset mystery. Solvers welcome.

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
User avatar
Corbeau
Elite
Posts: 907
Joined: Mon Jan 13, 2014 11:13 pm

Ruleset mystery. Solvers welcome.

Postby Corbeau » Tue Dec 18, 2018 12:40 pm

LT42 ruleset has the following effects regarding unit gold upkeep:

1) Upkeep_Factor = 1
2) Unit_Upkeep_Free_Per_City = 1

All other instances of those effects with "OutputType", "Gold", "Local" are negated for Monarchy. However, this is not what the outcome is. In some instances, it looks like Unit_Upkeep_Free_Per_City is actually 2, and in larger cities 4, but there is no effect reducing upkeep deoending on city size.

Any ideas? Are there other effects that may affect this? Something in the code?

Akechi
Posts: 31
Joined: Thu Dec 07, 2017 12:17 pm

Re: Ruleset mystery. Solvers welcome.

Postby Akechi » Tue Dec 18, 2018 5:16 pm

[effect_upkeep_free_units_gold_base_despotism_funda]
[effect_upkeep_free_units_gold_base_communism_monarchy]
[effect_upkeep_free_units_shield_base_monarchy_communism_funda]
[effect_upkeep_free_units_shield_base_anarchy_despotism]
[effect_upkeep_free_units_food_base_despotism_funda]
[effect_upkeep_free_units_food_base_republic_communism_democracy]
All of above effect lacks

Code: Select all

"type", "name", "range"
sentences in nreqs.

// off-topic thing
[effect_hoover_dam_1]
It seems duplicated effects.

User avatar
Corbeau
Elite
Posts: 907
Joined: Mon Jan 13, 2014 11:13 pm

Re: Ruleset mystery. Solvers welcome.

Postby Corbeau » Tue Dec 18, 2018 6:33 pm

Thank you.

* jumps out the window