decisions = {
	expel_flaming_rose = {
		only_rulers = yes
		only_independent = yes
		
		potential = {
			NOT = { culture = wilderness }
			ai = no
			OR = {
				religion = eternal_fire
				religion = kreve
				religion = melitele
				religion = lebioda
			}
			higher_tier_than = DUKE
			independent = yes
			is_title_active = d_flaming_rose
			NOT = { has_character_modifier = expelled_d_flaming_rose }
			any_realm_province = {
				any_province_lord = {
					d_flaming_rose = {
						holder_scope = {
							OR = {
								character = PREVPREV
								is_vassal_or_below = PREVPREV
							}
						}
					}
				}
			}
			has_dlc = "Sons of Abraham"
		}
		
		allow = {
			piety = 1000
		}
		
		effect = {
			piety = -1000
			religion_authority = {
				modifier = holy_order_expelled
				years = 20
			}
			hidden_tooltip = {
				d_flaming_rose = {
					holder_scope = {
						character_event = {
							id = flaming_rose.50
						}
					}
				}
				add_character_modifier = {
					name = expelled_d_flaming_rose
					duration = -1
					inherit = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}
	donate_money_to_flaming_rose = {
		only_rulers = yes

		potential = {
			NOT = { culture = wilderness }
			OR = {
				religion = eternal_fire
				religion = kreve
				religion = melitele
				religion = lebioda
			}
			is_title_active = d_flaming_rose
			
			NOT = { has_character_modifier = expelled_d_flaming_rose }
			
			has_dlc = "Sons of Abraham"
			
			NOT = { primary_title = { title = d_flaming_rose } }
			
			d_flaming_rose = {
				holder_scope = {
					liege = {
						NOT = { character = ROOT }
					}
				}
			}
		}
		
		allow = {
			wealth = 300
		}
		
		effect = {
			if = {
				limit = { 
					NOT = { has_character_modifier = donated_to_holy_order }
				}
				add_character_modifier = {
					name = donated_to_holy_order
					duration = -1
				}
			}
			hidden_tooltip = {
				d_flaming_rose = {
					holder_scope = {
						character_event = {
							id = flaming_rose.35
						}
					}
				}
			}
			wealth = -300
			piety = 300
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					piety = 1000
					NOT = { wealth = 1000 }
					NOT = { controls_religion = eternal_fire }
				}
			}
			modifier = {
				factor = 0.002 # Slow it down
			}
			modifier = {
				factor = 0.5
				OR = {
					religion = kreve
					religion = melitele
					religion = lebioda
				}
			}
		}
	}
	vassalize_flaming_rose = {
		is_high_prio = yes
		
		only_rulers = yes
		
		potential = {
			NOT = { culture = wilderness }
			OR = {
				religion = eternal_fire
				religion = kreve
				religion = melitele
				religion = lebioda
			}
			
			NOT = { has_character_modifier = expelled_d_flaming_rose }
			
			is_title_active = d_flaming_rose
			
			NOT = { primary_title = { title = d_flaming_rose } }
			
			has_dlc = "Sons of Abraham"
			
			d_flaming_rose = {
				holder_scope = {
					liege = {
						NOT = { character = ROOT }
					}
					independent = yes
				}
			}
			any_demesne_province = {
				any_province_lord = {
					OR = {
						has_landed_title = d_flaming_rose
						any_liege = { has_landed_title = d_flaming_rose }
					}
				}
			}
		}
		
		allow = {
			wealth = 500
		}
		
		effect = {
			wealth = -500
			hidden_tooltip = {
				d_flaming_rose = {
					holder_scope = {
						wealth = 500
						character_event = {
							id = flaming_rose.10
						}
					}
				}
			}
		}
		
		ai_will_do = {
			factor = 1
		}
	}
}
