namespace = sang-pape-catholique
######################################
####### Vatican				   #######
######################################
character_event = {
    id = sang-pape-catholique.1
	hide_window = yes
	is_triggered_only = yes	
	only_rulers = yes
    trigger = {
		is_alive = yes
        trait = Pape-Catholic
		NOT = {
			trait = trait_Sede_Vacante
		}
        NOT = {
			any_owned_bloodline = {
				has_bloodline_flag = Pape-Catholic_bloodline
				founder = {
					character = ROOT
				}
			}
		}
    }
    immediate = {
		if = {
			limit = {
				not = {
					any_owned_bloodline = {
						has_bloodline_flag = Pape-Catholic_bloodline
						founder = {
							character = ROOT
						}
					}
				}
			}
			create_bloodline = {
				type = Pape-Catholic_bloodline
				inheritance = all_descendants
			}
		}
    }
}

character_event = {
    id = sang-pape-catholique.2
    hide_window = yes
    is_triggered_only = yes
    only_rulers = yes
    trigger = {
        FROM = {
			title = k_papal_state 
		}
		FROMFROM = {
            is_alive = yes
			is_dying = no
            NOT = {
                has_landed_title = k_papal_state
            }
            any_owned_bloodline = {
                has_bloodline_flag = Pape-Catholic_bloodline
                founder = {
                    character = ROOT_FROMFROM
                }
            }
        }
    }
    immediate = {
        FROMFROM = {
            any_bloodline = {
                limit = {
                    has_bloodline_flag = Pape-Catholic_bloodline
                    founder = {
                        character = ROOT_FROMFROM
                    }
                }
                destroy_bloodline = yes
            }
        }
    }
}

character_event = {
    id = sang-pape-catholique.3
	hide_window = yes
	is_triggered_only = yes	
	only_rulers = yes
    trigger = {
        has_landed_title = k_papal_state
		is_save_game = no
    } 
    immediate = {
		c_145292= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_145291= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7615= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7614= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7613= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7612= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7611= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7610= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7609= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7608= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7607= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7606= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7605= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7604= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7603= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7602= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7601= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7600= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7799= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7798= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7797= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7796= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7795= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7794= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7793= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7792= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7791= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7790= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7789= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7787= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7786= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7785= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7784= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7783= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7782= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7781= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7780= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7779= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7778= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7777= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7776= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7775= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7774= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7773= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7772= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7771= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7770= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7769= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7768= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7767= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7766= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7765= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7763= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7762= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7761= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7760= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7759= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7764= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7900= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7899= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7898= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7897= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7896= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7893= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7892= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7891= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7890= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7889= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7888= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7887= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7886= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7885= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7884= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7883= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7882= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7881= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7880= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7879= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7878= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7877= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7876= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7875= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7874= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7873= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7872= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7871= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7870= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7869= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7868= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7867= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7866= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7895= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7865= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7864= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7863= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7862= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7861= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7860= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7859= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7858= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7857= {
			if = {
				limit = { has_landed_title = k_papal_state }
			
				add_trait = Pape-Catholic
				add_trait = crowned_by_pope
			}
		}
		c_7856= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7855= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7854= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7853= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7852= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7851= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7850= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7849= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7848= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7847= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7846= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7845= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7844= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7843= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7842= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7841= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7840= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7916= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7839= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7838= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7837= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7836= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7835= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7917= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7834= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7833= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7832= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7831= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7931= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7830= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7829= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7828= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7827= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7930= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7826= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7825= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_1318= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7824= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7823= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7822= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7821= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7933= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7934= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7937= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7820= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7937= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7819= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7818= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7937= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7817= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_1338= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7894= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_11034= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7939= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_7940= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_2008= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_2010= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_2012= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_2013= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_2014= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_2017= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_294= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_2021= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71800= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71805= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71806= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71807= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71808= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71809= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71810= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71811= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_223754= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71812= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71813= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_70841= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71814= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71820= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71821= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71822= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71823= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71824= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71825= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71826= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_70785= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71827= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71829= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71830= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_70851= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71831= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71832= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71833= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71834= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71835= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71836= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71837= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_71838= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
		c_478501= {
			if = {
				limit = {
					has_landed_title = k_papal_state
					NOT = {
						any_owned_bloodline = {
							has_bloodline_flag = Pape-Catholic_bloodline
							founder = {
								character = ROOT
							}
						}
					}
				}
				create_bloodline = {
					type = Pape-Catholic_bloodline
					inheritance = all_descendants
				}
			}
		}
    }
}