action_can_train_child_1 = {
    type = alert

	check_create_action = {
		every_child = {
			limit = {
				root = {
					is_character_interaction_valid = {
						recipient = prev
						interaction = training_interaction_1
					}
				}
			}
			try_create_important_action = {
				important_action_type = action_can_train_child_1
				actor = root
				recipient = this
				secondary_recipient = this
			}
		}
		
	}

	effect = {
		open_interaction_window = {
			interaction = training_interaction_1
			actor = scope:actor
			recipient = scope:recipient
			secondary_recipient = scope:secondary_recipient
		}
	}
}
action_can_train_child_2 = {
    type = alert

	check_create_action = {
		every_child = {
			limit = {
				root = {
					is_character_interaction_valid = {
						recipient = prev
						interaction = training_interaction_2
					}
				}
			}
			try_create_important_action = {
				important_action_type = action_can_train_child_2
				actor = root
				recipient = this
				secondary_recipient = this
			}
		}
		
	}

	effect = {
		open_interaction_window = {
			interaction = training_interaction_2
			actor = scope:actor
			recipient = scope:recipient
			secondary_recipient = scope:secondary_recipient
		}
	}
}