on_actions = {	
	on_state_control_changed = {
        effect = {
            if = {
                limit = {   
                    tag = DRA
                    FROM = { tag = SIY }
                    FROM.FROM = { state = 1386}
                    }
					country_event = nf_dramatae_key.2
                }
        }
    }
	on_annex = {
		effect = {
			if = {
				limit = {
					FROM = {
						tag = SOL
					}
					ROOT = {
						tag = DRA
					}
				}
				country_event = nf_dramatae_end.1
			}

		}
	}
	on_annex = {
		effect = {
			if = {
				limit = {
					FROM = {
						tag = SOL
					}
					ROOT = {
						tag = DRA
					}
				}
				set_country_flag = dra_ending
				mark_focus_tree_layout_dirty = yes
			}
		}
	}
}
