freeciv-ruleup trouble with saving embedded_nations
Please report one issue per ticket in the future. Status of the ticket cannot reflect multiple issues with different statuses.
Splitting this one up.
generated=FALSE -> #42847
buildable=FALSE (or rather the underlying issue it reveals) -> #42848
That leaves nations.ruleset issue to be handled in this ticket.
Have you listed that nation in ruledit section embedded_nations entry?
No. The line in my nations.ruleset was the original -
embedded_nations = "barbarian", "pirate"
As an experiment, I just tried using the line -
embedded_nations = "barbarian", "pirate", "animals"
and freeciv-ruleup then gives an error - "1: There's nation animals listed in embedded nations, but there's no such nation."
BUT this is with the placement of the "*include xxx" lines at the end of the file, like all the distributed nations.ruleset files. When I move those includes to the top of the file, then freeciv-ruleup works OK, regardless of whether the embedded_nations has "animals" or not.
Reply To ddeanbrown
As an experiment, I just tried using the line - embedded_nations = "barbarian", "pirate", "animals"
1 mistakenly adds line
generated=FALSE
to all extra resources in terrain.ruleset. This causes all resource extras to not be displayed.
2 also adds line
buildable=FALSE
to all extra resources in terrain.ruleset. This seems to be redundant.
3 if nations.ruleset has a line
*include "nation/X.ruleset"
and the X is not barbarian or pirate, the line gets lost, and is not in-lined like what happens to "nation/pirate.ruleset" and "nation/barbarian.ruleset".
Note - there is no Component called Ruleup, so I chose Rulesets.