decisions = {

	embezzle_money = {
		is_high_prio = yes
		
		potential = {
			ai = no
			has_minor_title = title_regent
			independent = no
		}
		
		allow = {
			liege = { wealth = 50 }
			NOT = {
				trait = charitable
				trait = kind
				trait = just
				trait = honest
			}
			custom_tooltip = {
				text = has_ezcd
				hidden_tooltip = {
					NOT = {has_character_modifier = ezcd}
				}
			}
		}
		
		effect = {
			hidden_tooltip = {
				add_character_modifier = {
					name = ezcd
					duration = 365
					hidden = yes
				}
				
			}
			character_event = {
				id = RGT.200
				tooltip = get_ezmoney
			}
		}
		ai_will_do = {
			factor = 0
		}
		
	}
	
	
	steal_holding = {
		is_high_prio = yes
		
		potential = {
			ai = no
			is_feudal = yes
			has_minor_title = title_regent
			independent = no
			liege = {
				OR = {
					NOT = {age = 16}
					AND = {
						age = 16
						trait = incapable
					}
				}
			}
		}
		
		allow = {
			liege = {demesne_size = 3}
			NOT = {
				trait = kind
				trait = just
				trait = honest
			}
			custom_tooltip = {
				text = has_shcd
				hidden_tooltip = {
					NOT = {has_character_modifier = shcd}
				}
			}
		}
		
		effect = {
			hidden_tooltip = {
				add_character_modifier = {
					name = shcd
					duration = 730
					hidden = yes
				}
				
			}
			character_event = {
				id = RGT.300
				tooltip = get_free_holding
			}
		}
		ai_will_do = {
			factor = 0
		}
		
	}
	
	give_money_charity = {
		is_high_prio = yes
		
		potential = {
			ai = no
			has_minor_title = title_regent
			independent = no
			liege = {
				OR = {
					NOT = {age = 16}
					AND = {
						age = 16
						trait = incapable
					}
				}
			}
		}
		
		allow = {
			liege = {wealth = 50}
			NOT = {
				trait = greedy
				trait = cruel
			}
			custom_tooltip = {
				text = has_gccd
				hidden_tooltip = {
					NOT = {has_character_modifier = gccd}
				}
			}
		}
		
		effect = {
			hidden_tooltip = {
				add_character_modifier = {
					name = gccd
					duration = 730
					hidden = yes
				}
				
			}
			character_event = {
				id = RGT.400
				tooltip = charity_regent
			}
		}
		ai_will_do = {
			factor = 0
		}
		
	}
	
	d_lower_crown_authority = {
		is_high_prio = yes
		
		potential = {
			ai = no
			has_minor_title = title_regent
			independent = no
			liege = {
				OR = {
					NOT = {age = 16}
					AND = {
						age = 16
						trait = incapable
					}
				}
			}
			liege = {
				higher_tier_than = DUKE
				NOT = { has_character_flag = rlca }
				any_demesne_title = {
					tier = KING
					OR = {
						has_law = crown_authority_1
						has_law = crown_authority_2
						has_law = crown_authority_3
						has_law = crown_authority_4
					}
					ROOT = {
						primary_title = {
							kingdom = {
								title = PREVPREVPREV
							}
						}
					}
				}
			}
		}
		
		allow = {
			custom_tooltip = {
				text = not_low_ca
				hidden_tooltip = {
					NOT = {liege = {has_character_flag = rlca}}
				}
			}
		}
		
		effect = {
			hidden_tooltip = {
				liege = {
					set_character_flag = rlca
				}
			}
			character_event = {
				id = RGT.500
				tooltip = lower_crown_regent
			}
		}
		ai_will_do = {
			factor = 0
		}
		
	}
	
}

plot_decisions = {

	plot_become_regent_decision = {
		is_high_prio = yes
		
		potential = {
			ai = no
			has_plot = plot_become_regent
			NOT = {has_minor_title = title_regent}
			independent = no
			liege = {
				OR = {
					NOT = {age = 16}
					AND = {
						age = 16
						trait = incapable
					}
				}
			}
		}
		
		allow = {
			num_of_plot_backers = 1
			custom_tooltip = {
				text = has_brcd
				hidden_tooltip = {
					NOT = {has_character_modifier = brcd}
				}
			}
		}
		
		effect = {
			hidden_tooltip = {
				add_character_modifier = {
					name = brcd
					duration = 30
					hidden = yes
				}
				
			}
			plot_target_char = {
				character_event = {
					id = RGT.99
					tooltip = become_regent
				}
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				NOT = {plot_power = 0.6}
			}
			modifier = {
				factor = 0
				NOT = {num_of_plot_backers = 3}
			}
		}
		
	}
}
