I posted this over at the .com, but no one there can answer it. Maybe someone over here knows what the problem is...

I am trying to make it so that characters start out with more piety. I found this trait called ReligionStarter, which is a hidden trait that is supposed to give +3 piety. I raised that to +5. Here is the trait:

;------------------------------------------
Trait ReligionStarter
Characters general
Hidden

Level General_Religion
Description General_Religion_desc
EffectsDescription General_Religion_effects_desc
Threshold 1

Effect Piety 5

I just cannot get this trait to work properly. It works just fine when I type in the cheat code:

give_trait this ReligionStarter 1

When I put in the cheat code it gives +5 piety - as it should.

Can someone explain what is wrong with the trigger? Here are the triggers:

;------------------------------------------
Trigger Worth_of_Adoption_loyalty_1
WhenToTest OfferedForAdoption


Affects LoyaltyStarter 1 Chance 100
Affects Loyal 1 Chance 50
Affects ReligionStarter 1 Chance 100
Affects BattleChivalry 1 Chance 50

;------------------------------------------
Trigger Worthy_Of_Marriage_loyalty_1
WhenToTest OfferedForMarriage


Affects LoyaltyStarter 1 Chance 100
Affects Loyal 1 Chance 50
Affects ReligionStarter 1 Chance 100
Affects BattleChivalry 1 Chance 50

;------------------------------------------
Trigger fixed_birth1
WhenToTest CharacterComesOfAge


Affects LoyaltyStarter 1 Chance 100
Affects ReligionStarter 1 Chance 100

;------------------------------------------
Trigger Lesser_General_Adoption_4_VnV_Trigger
WhenToTest LesserGeneralOfferedForAdoption


Affects LoyaltyStarter 1 Chance 100
Affects Loyal 1 Chance 50
Affects ReligionStarter 1 Chance 100
Affects BattleChivalry 1 Chance 50

Edit - This trait seems to work fine in the descr_strat.txt file.

Come to think of it, I don't think the LoyaltyStarter trait is working properly either.