tutorial = {
	title = TUTORIAL_1
	desc = TUTORIAL_1_DESC
	tutorial_window = TUTORIAL_WINDOW_1	# default window

	exclusive = yes

	character = 984 # Malcolm III of Scotland

	basic_start = 0
	intermediary_start = 19
	advanced_start = 23

	page = {
		tutorial_window = tutorial_default_small_nobutton
		tutorial_window_position = { -238 -230 }
		window = tutorial_arrow_up_ul
		window_size = { 335 240 }
		window_position = { 271 50 }

		text1 = tut_5a_1
		text2 = tut_5a_2

		goto = 1955 # Firth of Forth
		zoom = 200

		allow_screen = military_view
		continue_on_button = icon_topbar_military

		allow_province_click = no
		allow_unpause = no
		exclusive = no
		lockzoom = yes

		effect = {
			c_argyll = {
				location = {
					add_province_modifier = {
						name = occupied_tutorial
						years = 1
					}
				}
			}
		}
	}

	page = {
		tutorial_window = chapter_5_01
		tutorial_window_position = { 550 5 }
		window_size = { 335 240 }

		text1 = tut_5a_3
		text2 = tut_5a_4
		text3 = tut_5a_5

		goto = 81 # Atholl
		zoom = 200

		cont_on_unit_select_prov = 80 # Gowrie

		allow_province_click = no
		allow_unpause = no
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = tutorial_default_small_nobutton
		tutorial_window_position = { -50 -230 }
		window = tutorial_arrow_up_ul
		window_size = { 335 240 }
		window_position = { 271 50 }

		text1 = tut_5a_6
		text2 = tut_5a_7

		goto = 1955 # Firth of Forth
		zoom = 200

		allow_screen = military_view
		continue_on_button = icon_topbar_military

		allow_province_click = no
		allow_unpause = no
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = chapter_5_01b
		tutorial_window_position = { 550 80 }
		window_size = { 235 240 }

		text1 = tut_5a_8
		text2 = tut_5a_9

		goto = 79 # Fife
		zoom = 166

		allow_screen = military_view

		allow_province_click = yes
		allow_unpause = no
		exclusive = no
		lockzoom = yes

		continue_on_trigger = {
			OR = {
				has_unit = 78 # Strathearn
				has_unit = 79 # Fife
				has_unit = 69 # Lothian
			}
		}
	}

	page = {
		tutorial_window = chapter_5_03
		tutorial_window_position = { -475 80 }
		window_size = { 335 240 }

		text1 = tut_5a_10
		text2 = tut_5a_11

		goto = 80 # Gowrie
		zoom = 166

		custom_action = close_all
		allow_screen = military_view

		allow_province_click = yes
		allow_unpause = yes
		continue_on_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = chapter_5_03b
		tutorial_window_position = { -475 80 }
		window_size = { 235 240 }

		text1 = tut_5a_12
		text2 = tut_5a_13

		goto = 80 # Gowrie
		zoom = 200

		continue_on_button = mergebutton

		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = chapter_5_03c
		tutorial_window_position = { 550 80 }
		window = tutorial_arrow_up_ul
		window_size = { 335 240 }
		window_position = { 271 50 }

		text1 = tut_5a_14
		text2 = tut_5a_15
		text3 = tut_5a_16

		goto = 1955 # Firth of Forth
		zoom = 200

		allow_screen = military_view

		allow_unpause = yes
		exclusive = no
		lockzoom = yes
		pause = yes

		continue_on_trigger = {
			has_navy = 80 # Gowrie
		}
	}

	page = {
		tutorial_window = chapter_5_03d
		tutorial_window_position = { -475 80 }
		window_size = { 335 240 }

		text1 = tut_5a_17
		text2 = tut_5a_18
		text3 = tut_5a_19

		goto = 1955 # Firth of Forth
		zoom = 200

		cont_on_navy_select_prov = 80 # Gowrie
		custom_action = close_all

		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = chapter_5_03e
		tutorial_window_position = { -475 80 }
		window_size = { 335 240 }

		text1 = tut_5a_20
		text2 = tut_5a_21

		goto = 1955 # Firth of Forth
		zoom = 200

		cont_on_unit_select_prov = 80 # Gowrie

		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = chapter_5_03f
		tutorial_window_position = { -475 20 }
		window_size = { 335 240 }

		text1 = tut_5a_22
		text2 = tut_5a_23

		goto = 1955 # Firth of Forth
		zoom = 200

		continue_on_button = newunitbutton

		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = chapter_5_05
		tutorial_window_position = { -475 80 }
		window_size = { 335 240 }

		text1 = tut_5a_24
		text2 = tut_5a_25

		goto = 82 # Buchan
		zoom = 300

		allow_unpause = yes
		continue_on_unpause = yes
		exclusive = no
		lockzoom = no
	}

	page = {
		tutorial_window = tutorial_default_small_nobutton_ur
		tutorial_window_position = { -475 80 }
		window_size = { 335 240 }

		text1 = tut_5a_26
		text2 = tut_5a_27

		goto = 82 # Buchan
		zoom = 200

		allow_screen = military_view

		allow_province_click = no
		allow_unpause = yes
		exclusive = no
		lockzoom = yes

		continue_on_trigger = {
			has_navy = 1956 # Moray Firth
		}
	}

	page = {
		tutorial_window = chapter_5_05b
		tutorial_window_position = { -475 80 }
		window_size = { 335 240 }

		text1 = tut_5a_28
		text2 = tut_5a_29
		text3 = tut_5a_29b

		goto = 82 # Buchan
		zoom = 200

		allow_province_click = yes
		allow_unpause = yes
		exclusive = no
		lockzoom = no
		pause = yes

		continue_on_trigger = {
			has_unit = 83 # Moray
		}
	}

	page = {
		tutorial_window = tutorial_default_small_nobutton_ur
		tutorial_window_position = { -475 80 }
		window_size = { 335 240 }

		text1 = tut_5a_30
		text2 = tut_5a_31

		goto = 82 # Buchan
		zoom = 200

		allow_unpause = yes
		continue_on_unpause = yes
		exclusive = no
		lockzoom = no
		pause = yes

		effect = {
			primary_title = {
				reverse_war = {
					target = d_the_isles
					casus_belli = invasion
				}
			}
		}
	}

	page = {
		tutorial_window = tutorial_default_small_nobutton_ur
		tutorial_window_position = { -475 80 }
		window_size = { 335 240 }

		text1 = tut_5a_32
		text2 = tut_5a_33

		goto = 75 # Argyll
		zoom = 200

		allow_unpause = yes
		exclusive = no
		lockzoom = yes

		effect = {
			create_random_soldier = {
				random_traits = yes
				dynasty = random
				religion = PREV
				culture = PREV
				female = no
				age = 30
				employer = e_rebels
			}

			new_character = {
				spawn_unit = {
					province = c_argyll
					home = c_argyll
					scaled_by_tax = yes

					troops = {
						archers = { 1 0 }
						light_infantry = { 1 0 }
					}
				}
			}
		}

		continue_on_trigger = {
			has_unit = 75 # Argyll
			NOT = { has_combat = 75 }
		}
	}

	page = {
		tutorial_window = chapter_5_06
		tutorial_window_position = { -475 80 }
		window_size = { 335 240 }

		text1 = tut_5a_34
		text2 = tut_5a_35

		goto = 75 # Argyll
		zoom = 200

		cont_on_prov_select = 45

		allow_province_click = yes
		allow_unpause = yes
		exclusive = no
		lockzoom = yes
		pause = yes
	}

	page = {
		tutorial_window = chapter_5_07
		tutorial_window_position = { -475 80 }
		window_size = { 335 240 }

		text1 = tut_5a_36
		text2 = tut_5a_37

		goto = 45 # Argyll
		zoom = 200

		continue_on_speed = 4

		allow_province_click = yes
		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = chapter_5_08
		tutorial_window_position = { -238 -230 }
		window_size = { 335 240 }

		text1 = tut_5a_38
		text2 = tut_5a_39

		goto = 45 # Argyll
		zoom = 200

		allow_province_click = yes
		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = TUTORIAL_END_OF_CHAPTER
		tutorial_window_position = { -250 -140 }
		window_size = { 335 240 }

		text1 = tutorial_end_of_chapter
		text2 = tutorial_chapter_end

		goto = 45 # Argyll
		zoom = 200

		custom_action = close_all
		allow_screen = diplomacy
		allow_screen = dynastic_view

		allow_province_click = no
		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = tutorial_default_small_nobutton
		tutorial_window_position = { -238 -230 }
		window = tutorial_arrow_up_ul
		window_size = { 335 240 }
		window_position = { 271 50 }

		text1 = tut_5b_1
		text2 = tut_5b_2

		goto = 1955 # Firth of Forth
		zoom = 200

		allow_screen = military_view
		continue_on_button = icon_topbar_military

		allow_province_click = no
		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = chapter_5_09
		tutorial_window_position = { 550 80 }
		window_size = { 335 240 }

		text1 = tut_5b_3
		text2 = tut_5b_4

		goto = 1955 # Firth of Forth
		zoom = 200

		allow_screen = military_view

		allow_province_click = no
		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = chapter_5_10
		tutorial_window_position = { 550 80 }
		window_size = { 335 240 }

		text1 = tut_5b_5
		text2 = tut_5b_6
		text3 = tut_5b_7
		text4 = tut_5b_8
		text5 = tut_5b_9

		goto = 1955 # Firth of Forth
		zoom = 200

		allow_screen = military_view

		allow_province_click = no
		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = TUTORIAL_END_OF_CHAPTER
		tutorial_window_position = { -250 -140 }
		window_size = { 335 240 }

		text1 = tutorial_end_of_chapter
		text2 = tutorial_chapter_end

		goto = 1955 # Firth of Forth
		zoom = 200

		custom_action = close_all

		allow_province_click = no
		allow_unpause = yes
		exclusive = yes
		lockzoom = yes
	}

	page = {
		tutorial_window = tutorial_default_small_nobutton
		tutorial_window_position = { -238 -230 }
		window = tutorial_arrow_up_ul
		window_size = { 335 240 }
		window_position = { 271 50 }

		text1 = tut_5c_1
		text2 = tut_5c_2

		goto = 1955 # Firth of Forth
		zoom = 200

		allow_screen = military_view
		continue_on_button = icon_topbar_military

		allow_province_click = no
		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = chapter_5_11
		tutorial_window_position = { 550 80 }
		window_size = { 335 240 }

		text1 = tut_5c_3
		text2 = tut_5c_4

		goto = 1955 # Firth of Forth
		zoom = 200

		allow_screen = military_view
		continue_on_button = tab_holy

		allow_province_click = no
		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = chapter_5_12
		tutorial_window_position = { 550 5 }
		window_size = { 335 240 }

		text1 = tut_5c_5
		text2 = tut_5c_6
		text3 = tut_5c_7

		goto = 83 # Moray
		zoom = 200

		cont_on_unit_select_prov = 80 # Gowrie

		allow_province_click = no
		allow_unpause = yes
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = chapter_5_13
		tutorial_window_position = { 450 -600 }
		window_size = { 335 240 }

		text1 = tut_5c_8
		text2 = tut_5c_9

		goto = 1955 # Firth of Forth
		zoom = 200

		allow_unpause = yes
		allow_province_click = no
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = tutorial_default_small
		tutorial_window_position = { -238 -230 }
		window_size = { 335 240 }

		text1 = tut_5c_10
		text2 = tut_5c_11

		goto = 1955 # Firth of Forth
		zoom = 200

		allow_unpause = yes
		allow_province_click = no
		exclusive = no
		lockzoom = yes
	}

	page = {
		tutorial_window = TUTORIAL_END_OF_CHAPTER_NO_CONT
		tutorial_window_position = { -250 -140 }

		text1 = tutorial_end_of_chapter
		text2 = tutorial_chapter_end

		goto = 1955 # Firth of Forth
		zoom = 200

		custom_action = close_all

		lockzoom = yes
	}

}