I am now working on the new civics roster of my modmod, and will thus rename (not only the ingame description but also what they are called in the files, so e.g. CIVIC_AGRARIANISM is renamed to CIVIC_SERFDOM) the following civics:
Agrarianism
Environmentalism
Fanaticism
Industrialism
Public Welfare
Scholasticism
Secularism
Theocracy
I know that I will have to edit at least these files (in addition to CivicInfos and the scenarios themselves of course):
CIV4LeaderHeadInfos.xml
Consts.py
Stability.py
Are there any other files I have overlooked?
Stability.py handles pretty much everything stability related, yes? So when I completely revamp Theocracy and turn it into Oligarchy, which shouldn't affect religion in any way and should indeed be pretty much neutral to stability, just deleting all pieces of code that include iCivicTheocracy in Stability.py would be enough?
Edit: Central Planning! Communism! Russian UHV! Dynamic names! I knew I was forgetting something! DynamicCivs.py for the names, I got that, but I think I might have discovered an inconsistency: In that file it makes it seem as if any civ is considered communist if it runs Central Planning while not also running Vassalage, Absolutism or Theocracy, but in Victory.py the code for the Russian third UHV says:
Code:
if isPossible(iRussia, 2):
if countPlayersWithAttitudeAndCivic(iPlayer, AttitudeTypes.ATTITUDE_FRIENDLY, (3, iCivicCentralPlanning)) >= 5:
win(iRussia, 2)
Which makes it seem as if the only condition that is checked here is Central Planning, disregarding other civic categories. Am I overlooking something or did you?