Scripted Effect

select_or_create_braganca_ruler

If
JohanIs Alive
Then
    Else if
    Johan does not exist
    ThenCreate character: First name: name_john · Dynasty: Braganza · Estate: Nobility · Administrative Ability: 44 · Diplomatic Ability: 60 · Military Ability: 25 · Birth date: 1604.3.19 · Birth location: Vila Viçosa · Script: Johan
    Otherwise
    • Random characterwhere
      • If
        Target character does not exist
        ThenCreate character: Culture: Portuguese · Religion: RootReligion · Age: 40 · Estate: Nobility
      Exact script

      Requires 2

      Cultures
      Characters

      Grants 1

      References 4

      Estates
      Cultures
      Characters
      Dynasties

      Used by 2

      if = {
      limit = {
      is_alive = yes
      }
      }
      save_scope_as = target_character
      }
      }

      © 2026 Soft Santa Cruz, S.L.U. All rights reserved. Unofficial fan project, not affiliated with Paradox Interactive. Game content © Paradox Interactive. · About · Privacy · Legal notice