Maybe it checks just once for the primary colour of CSes and uses that one throughout the game and regardless of CS.
Code driven to differentiate all CS' territories from Majors - indeed.
Maybe it checks just once for the primary colour of CSes and uses that one throughout the game and regardless of CS.
I will use the list of leaders mihaifx did for his City State Leaders mod as the starting point and see from there. If you have leaders you'd want included, just name them and I'll take a look.
Depending on how lazy I am, I'll do Leopold II, or stick with the current Albert II avatar (seen above). For Korea, I planned to go with an emperor from the Joseon dynasty (which had Seoul as capital), but I have not yet decided.
Suggestion for city state.
Ulm
Militaristic
Irrational
FOR elements OF Civilizations
local Name = TRIM("Civilizations.Type" - "CIVILIZATION_")
FOR elements OF MinorCivilizations
IF element == MERGE("MINOR_CIV_" + Name)
DELETE that minor civ;
END
[*]Currently my mod is more than 80 files big. Would it increase the mod's loading time a lot if I merged all the individual CS xml files into one?
The trade-off would be strongly diminished user-friendliness of deleting CSes, so I won't do it if the impact is minimal.[/list]
In good tradition, I first looked ahead at the release after the upcoming one (so v.9) and will tease it, instead of just working on v.8
Unless things go horribly wrong, you can expect the new city-state traits! I'm probably getting myself into a lot of trouble with this, but I think it will be worth it.
So any suggestions for how you want the new traits to work or how they should be named are welcome. Also welcome are words of advice, warning and somehow relevant working code snippets.
Now I'm off to making v.8