• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

IrishZoroastrian

Private
3 Badges
Jul 9, 2019
24
2
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
It seems that the "Effect" block doesn't work in action events like :

on_become_imprisoned_any_reason = {
effect = {
add_trait = wounded
}
events = {
# List of events that must always fire.
<someevent1 >
}
}

Validator returns an error, and nothing happens in-game. Am I using the wrong syntax, or is effect block intended for something else?