decisions = {
	ge_open = {
		potential = {
			ai = no
			NOT = { has_character_flag = gainful_employment }
		}
		
		allow = {
			always = yes
		}
		
		effect = {
			set_character_flag = gainful_employment
		}
		
		ai_will_do = {
			factor = 0
		}
	}

	ge_close = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			always = yes
		}
		
		effect = {
			clr_character_flag = gainful_employment
		}
		
		ai_will_do = {
			factor = 0
		}
	}

	ge_chancellor = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 50
		}
		
		effect = {
			wealth = -50
			ge_create_male_courtier = yes
			new_character = {
				ge_make_chancellor = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}
	
	ge_chancellor_female = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 50
		}
		
		effect = {
			wealth = -50
			ge_create_female_courtier = yes
			new_character = {
				ge_make_chancellor = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}

	ge_marshal = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 50
		}
		
		effect = {
			wealth = -50
			ge_create_male_courtier = yes
			new_character = {
				ge_make_marshal = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}
	
	ge_marshal_female = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 50
		}
		
		effect = {
			wealth = -50
			ge_create_female_courtier = yes
			new_character = {
				ge_make_marshal = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}

	ge_steward = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 50
		}
		
		effect = {
			wealth = -50
			ge_create_male_courtier = yes
			new_character = {
				ge_make_steward = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}
	
	ge_steward_female = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 50
		}
		
		effect = {
			wealth = -50
			ge_create_female_courtier = yes
			new_character = {
				ge_make_steward = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}

	ge_spymaster = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 50
		}
		
		effect = {
			wealth = -50
			ge_create_male_courtier = yes
			new_character = {
				ge_make_spymaster = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}
	
	ge_spymaster_female = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 50
		}
		
		effect = {
			wealth = -50
			ge_create_female_courtier = yes
			new_character = {
				ge_make_spymaster = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}

	ge_priest = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 50
		}
		
		effect = {
			wealth = -50
			ge_create_male_courtier = yes
			new_character = {
				ge_make_priest = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}
	
	ge_priest_female = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 50
		}
		
		effect = {
			wealth = -50
			ge_create_female_courtier = yes
			new_character = {
				ge_make_priest = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}
	
	ge_bachelor = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 30
		}
		
		effect = {
			wealth = -30
			ge_create_male_youngster = yes
			new_character = {
				ge_make_debutante = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}
	
	ge_debutante = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 30
		}
		
		effect = {
			wealth = -30
			ge_create_female_youngster = yes
			new_character = {
				ge_make_debutante = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}
	
	ge_commander = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 35
			prestige = 25
		}
		
		effect = {
			wealth = -35
			prestige = -25
			ge_create_male_youngster = yes
			new_character = {
				ge_make_commander = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}
	
	ge_commander_female = {
		potential = {
			ai = no
			has_character_flag = gainful_employment
		}
		
		allow = {
			wealth = 35
			prestige = 25
		}
		
		effect = {
			wealth = -35
			prestige = -25
			ge_create_female_youngster = yes
			new_character = {
				ge_make_commander = yes
				ge_make_loyal = yes
			}
		}
		
		ai_will_do = {
			factor = 0
		}
	}
}