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

Superkayko

Recruit
4 Badges
Aug 24, 2019
7
2
  • Crusader Kings II
  • Europa Universalis IV
  • Hearts of Iron IV Sign-up
  • Imperator: Rome
I need help using the "destroy_bloodline" command for a mod I don't really understand how it works it says on the wiki "Removed the scoped bloodline from the game" the only possible scopes are:

any_bloodline - Scopes to any created bloodline
any_owned_bloodline - Scopes to any bloodline owned by the character
new_bloodline - Scopes to the newly created bloodline
random_bloodline - Scopes to a random created bloodline
random_owned_bloodline - Scopes to any bloodline owned by the character

how do I scope to a specific bloodline or better yet for what i'm doing a created bloodline type like "pure_architect_bloodline_01"

I just want it to remove a created bloodline

any help would be appreciated.
 
Code:
any_bloodline = {
    limit = {
        has_bloodline_flag = bloodline_architect
        NOT = { has_bloodline_flag = bloodline_peace_prosperity }
    }
    destroy_bloodline = yes
}
 
Code:
any_bloodline = {
    limit = {
        has_bloodline_flag = bloodline_architect
        NOT = { has_bloodline_flag = bloodline_peace_prosperity }
    }
    destroy_bloodline = yes
}

Oh so a character with a created bloodline is given a flag of that type?
Why is the NOT = { has_bloodline_flag = bloodline_peace_prosperity } line needed?

Also thanks for the reply
 
The pure architect bloodline has two flags: created_bloodline and bloodline_architect.
The peace-architect hybrid bloodline has three flags: created_bloodline, bloodline_architect, and bloodline_peace_prosperity

The code makes sure that the pure architect bloodline is selected and not the hybrid bloodline.
 
The pure architect bloodline has two flags: created_bloodline and bloodline_architect.
The peace-architect hybrid bloodline has three flags: created_bloodline, bloodline_architect, and bloodline_peace_prosperity

The code makes sure that the pure architect bloodline is selected and not the hybrid bloodline.

and how do i know which flags are created for each individual bloodline? like if i wanted to see the flags for the heir to alexander bloodline

edit - stupid question i found out, i see it now in the bloodlines files