decisions = {
	form_greater_israel = {
		ai_check_interval = 12
		potential = {
			NOT = { has_global_flag = greater_israel_founded }
			has_landed_title = k_israel
			religion_group = jewish_group
		}
		allow = {
			war = no
			custom_tooltip = {
				text = COMPLETELY_CONTROLS_GREATER_ISRAEL_REGION
				hidden_tooltip = {
					completely_controls_region = custom_greater_israel
				}
			}
		}
		effect = {
			set_global_flag = greater_israel_founded
			hidden_tooltip = {
				activate_title = { title = e_greater_israel status = yes }
			}
			k_israel = { de_jure_liege = e_greater_israel }
			primary_title = {
				e_greater_israel = {
					grant_title = ROOT
					copy_title_laws = PREV
				}
			}
			hidden_tooltip = {
				any_playable_ruler = { narrative_event = { id = Plus.4153 } }
				narrative_event = { id = Plus.4153 }
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	observe_yom_kippur = {
		ai_check_interval = 12
		potential = {
			is_playable = yes
			OR = {
				is_feudal = yes
				is_tribal = yes
			}
			religion_group = jewish_group
			NOR = {
				is_inaccessible_trigger = yes
				any_demesne_title = { NOT = { higher_tier_than = count } is_occupied = yes }
				has_character_flag = yom_kippur
				has_character_flag = planning_yom_kippur
				has_character_modifier = observed_yom_kippur
			}
		}
		allow = {
			war = no
			in_command_trigger = no
			prestige = 100
			has_regent = no
			scaled_wealth = 0.8
			custom_tooltip = {
				text = IS_HEALTHY
				NOR = {
					is_ill = yes
					has_symptom_trigger = yes
				}
			}
		}
		effect = {
			set_character_flag = planning_yom_kippur
			scaled_wealth = -0.8
			piety = 5
			hidden_tooltip = {
				character_event = { id = Plus.706 }
			}
			if = {
				limit = {
					has_dlc = "Reapers"
				}
				custom_tooltip = {
					text = capital_prospers_custom_tooltip
					hidden_tooltip = {
						capital_scope = {
							change_variable = { which = prosperity_value value = 8 }
						}
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					NOT = { month = 3 }
					month = 5
				}
			}
			modifier = {
				factor = 0
				trait = cynical
			}
			modifier = {
				factor = 0
				NOT = { scaled_wealth = 5.0 }
			}
			modifier = {
				factor = 0
				has_character_modifier = ai_austerity
			}
		}
	}
}

