Nation Set Modifiability
Posted: Fri Dec 22, 2017 9:22 pm
So, I'm looking at the Nation Set implementation, and it's very...tedious. It works perfectly for existing nation sets, of course, but modification and creation are not so. Instead of being able to easily modify or create nation sets (and groups) to personal taste, instead, each and every nation ruleset file is a dependency that has to be modified. Worse, these files aren't ruleset specific, but a common set of dependent files used by most rulesets.
For example, if you want to make a new nation set of 100 of the existing nations, you need to not only edit nationlist.ruleset, but every single one of the 100 nations you want to add to the list.
It feels like instead of declaring a nation set in each nation's ruleset file, it would do better if each nation set had a ruleset file that listed nations in it. This would make adding more nation sets similar to adding more individual nations, easily added and modified in individual files needing only adding references in their master file.
So, in addition to the default 'all' nation set, "Core" nation set file would be *included, along with an override file for easily adding new nation lists, same as nations, as such:
*include "nationset/core.ruleset"
*include "override/nationset.ruleset"
As an aside, it would also allow an "initial_government" to be declared for each nation if declared like things in nation ruleset files.
For example, if you want to make a new nation set of 100 of the existing nations, you need to not only edit nationlist.ruleset, but every single one of the 100 nations you want to add to the list.
It feels like instead of declaring a nation set in each nation's ruleset file, it would do better if each nation set had a ruleset file that listed nations in it. This would make adding more nation sets similar to adding more individual nations, easily added and modified in individual files needing only adding references in their master file.
So, in addition to the default 'all' nation set, "Core" nation set file would be *included, along with an override file for easily adding new nation lists, same as nations, as such:
*include "nationset/core.ruleset"
*include "override/nationset.ruleset"
As an aside, it would also allow an "initial_government" to be declared for each nation if declared like things in nation ruleset files.