I begin to work a little the religions files. Interesting, but seems a little hard to understand the fonctionnement. Espiecially if we add more religions than in the vanilla.
So, scripting become very long and boring cause we must to rewrite each relations between each religions. There is no way to simplificate this ?
For example, the tolerance
It permits to represente the tolerance slider for some religions. Are we obliged to describe each religion with a display = no (as they don't appear in the window information) ?
is it possible to simplificate the code and use group religion instead of subgroup religion ?
For exemple :
So, scripting become very long and boring cause we must to rewrite each relations between each religions. There is no way to simplificate this ?
For example, the tolerance
Code:
catholic = {
catholic = { display = yes name = catholic default = 10 }
oriental_orthodox = { display = no value = orthodox }
orthodox = { display = yes name = orthodox default = -3 }
sunni = { display = yes name = muslim default = -5 }
shiite = { display = no value = sunni }
ibadi = { display = no value = sunni }
vajrayana = { display = no }
theravada = { display = no }
mahayana = { display = no }
taoism = { display = no }
confucianism = { display = no }
hinduism = { display = no }
shinto = { display = no }
pagan = { display = no }
}
It permits to represente the tolerance slider for some religions. Are we obliged to describe each religion with a display = no (as they don't appear in the window information) ?
is it possible to simplificate the code and use group religion instead of subgroup religion ?
For exemple :
will becomesunni = { display = yes name = muslim default = -5 }
shiite = { display = no value = sunni }
ibadi = { display = no value = sunni }
with the same effects ?muslim = { display = yes default = -5 }