﻿promotion_effect = {
	if = { 
		limit = { has_character_modifier = shop_assistant_modifier } # Promotion event for shop assistant to shop keeper
		add_character_modifier = shop_keeper_modifier
		remove_character_modifier = shop_assistant_modifier
			send_interface_toast = {
				title = promotion_title
				custom_tooltip = shop_promotion_tooltip
			}
	}
	if = { 
		limit = { has_character_modifier = janitor_modifier }  # Promotion event for janitor to royal custodian
		add_character_modifier = royal_custodian_modifier
		remove_character_modifier = janitor_modifier
			send_interface_toast = {
				title = promotion_title
				custom_tooltip = janitor_promotion_tooltip
			}
	}
	if = { 
		limit = { has_character_modifier = beggar_modifier }   # Promotion event for beggar to thief
		add_character_modifier = thief_modifier
		remove_character_modifier = beggar_modifier
			send_interface_toast = {
				title = promotion_title
				custom_tooltip = beggar_promotion_tooltip
			} 
	}
}

quit_job_effect = { 
      hidden_effect = {
            remove_character_modifier = shop_assistant_modifier
			remove_character_modifier = shop_keeper_modifier
			remove_character_modifier = janitor_modifier
			remove_character_modifier = royal_custodian_modifier
			remove_character_modifier = beggar_modifier
			remove_character_modifier = thief_modifier
			remove_character_flag = working
			remove_variable = shop_exp
			remove_variable = janitor_exp
			remove_variable = beggar_exp
		}
}		