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?
Ruleset mystery. Solvers welcome.
Ruleset mystery. Solvers welcome.
--
* 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: Ruleset mystery. Solvers welcome.
[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 sentences in nreqs.
// off-topic thing
[effect_hoover_dam_1]
It seems duplicated effects.
[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"
// off-topic thing
[effect_hoover_dam_1]
It seems duplicated effects.
Re: Ruleset mystery. Solvers welcome.
Thank you.
* jumps out the window
* jumps out the window
--
* 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: Ruleset mystery. Solvers welcome.
Maybe not necessary to open a new thread every time so I'll use this one.
Problem. This:
creates the error:
In entry_str_get() [../../freeciv-2.5.7/utility/registry_ini.c:3136]: secfile 'data/LT48/effects.ruleset' in section 'effect_migration_size_1_granary': Assertion 'ENTRY_STR == pentry->type' failed.
However, when I remove the last line:
"Building", "Granary", FALSE
the effect work fine.
Problem. This:
Code: Select all
[effect_migration_size_1_granary]
type = "Migration_Pct"
value = 1000
reqs =
{ "type", "name", "range", "negated"
"Minsize", "1", "City", FALSE
"Minsize", "2", "City", TRUE
"Building", "Granary", FALSE
}
In entry_str_get() [../../freeciv-2.5.7/utility/registry_ini.c:3136]: secfile 'data/LT48/effects.ruleset' in section 'effect_migration_size_1_granary': Assertion 'ENTRY_STR == pentry->type' failed.
However, when I remove the last line:
"Building", "Granary", FALSE
the effect work fine.
--
* 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: Ruleset mystery. Solvers welcome.
Now I feel embarrassed.
--
* 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...