With the release of the text files I had a chance to experiment with giving traits, and it doesn't seem like you can use AgentType and FactionIsLocal at the same time in the trigger. Maybe this is one of the things to be fixed in the patch?
For example:
Code:
Trigger test_assassin_turn
WhenToTest CharacterTurnEnd
Condition FactionIsLocal
and AgentType = assassin
Affects GoodConspirator 8 100
The trace log says the event is fired, yet none of my assassins have the GoodConspirator trait after I hit end turn. I've tried this only with assassins and spies so far.
Docudemon files show that you should be able to use both. AgentType requires character_record which is exported by the CharacterTurnEnd event, and FactionIsLocal requires faction which is also exported by CharacterTurnEnd.
This is in contrast to:
Code:
Trigger test_general_turn
WhenToTest CharacterTurnEnd
Condition FactionIsLocal
and IsGeneral
Affects Energetic 8 Chance 100
which correctly gives my generals the Energetic trait once I hit end turn.
Bookmarks