• 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.

enderaoe

Recruit
16 Badges
Mar 21, 2023
3
2
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
The two different types of triggers seem to work differently. In the Stellaris Dev Diary #222 I found some description:

  • We deleted has_non_swapped_tradition and has_tradition_swap, and consolidated them into has_active_tradition. Modders: do a search-replace!

I can hardly find any other information about the difference between those 2 types of triggers.
What's the core difference?
 
has_tradition can only check for non-swaps and will return true regardless of whether you have the base tradition or a swap.

has_active_tradition takes either a base tradition or a swap (unless the swap only changes the texts), and will return true only if you have the exact version of the tradition that you're entering.