Thunderbrd
C2C War Dog
bBansNonStateReligions
I believe it keeps non-state religions from spreading inside the nation. There could be other effects. Should just be <bBansNonStateReligions>1</bBansNonStateReligions> to turn it on as it is a boolean (you can tell because it starts with 'b' in the name.)
Basically the above schema declares the syntax to be as such:
or if you are wanting to include multiple disallowed types:
See if you can figure out how that works and why. It's sometimes harder to explain than to let someone figure it out for themselves.
What this should do is make it so that if you've selected the specified trait(s), you cannot thereafter select this trait.
If they aren't working for some reason let me know. Was a while ago I programmed these and I was still learning from a lot of mistakes when I did.
I believe it keeps non-state religions from spreading inside the nation. There could be other effects. Should just be <bBansNonStateReligions>1</bBansNonStateReligions> to turn it on as it is a boolean (you can tell because it starts with 'b' in the name.)
Code:
<ElementType name="bDisallowed" content="textOnly" dt:type="boolean"/>
<ElementType name="DisallowedTraitType" content="eltOnly">
<element type="TraitType"/>
<element type="bDisallowed"/>
</ElementType>
<ElementType name="DisallowedTraitTypes" content="eltOnly">
<element type="DisallowedTraitType" minOccurs="0" maxOccurs="*"/>
</ElementType>
Code:
<DisallowedTraitTypes>
<DisallowedTraitType>
<TraitType>TRAIT_WHATEVER</TraitType>
<bDisallowed>1</bDisallowed>
</DisallowedTraitType>
</DisallowedTraitTypes>
Code:
<DisallowedTraitTypes>
<DisallowedTraitType>
<TraitType>TRAIT_WHATEVER</TraitType>
<bDisallowed>1</bDisallowed>
</DisallowedTraitType>
<DisallowedTraitType>
<TraitType>TRAIT_WHATEVER2</TraitType>
<bDisallowed>1</bDisallowed>
</DisallowedTraitType>
</DisallowedTraitTypes>
What this should do is make it so that if you've selected the specified trait(s), you cannot thereafter select this trait.
If they aren't working for some reason let me know. Was a while ago I programmed these and I was still learning from a lot of mistakes when I did.