chapter9.txt

(18 KB) Pobierz
tutorial = {
	index = 9
	title = "TUT_CAM_CHAPTER02_TITLE"
	desc = "TUT_CAM_CHAPTER02_DESC"
	buttonText = "TUT_CAM_CHAPTER02_BUTTON"
	country = CAS
	window = "hints_window"	# default window
	moveable = yes
	save_game = "eu4_tutorial_chapter9.eu4"
	#pauseable = no
	category = 3
	
	page = {
		index = 1
		title = "TUT_CAM_CHAPTER02_PAGE01_TITLE"
		text = "TUT_CAM_CHAPTER02_PAGE01_TEXT"
		object = "TUT_CAM_CHAPTER02_PAGE01_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { unitpanel disbandbutton }
				
		effect = {
			ai = no
			add_country_modifier = {
				name = tutorial_modifier
				duration = -1
			}
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}	
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_NEXT"
			action = "continue"
			tooltip = "TUT_NEXT_TOOLTIP"
			position = {
				x = 183 #180
				y = 338
			}
		}	
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 2
		title = "TUT_CAM_CHAPTER02_PAGE02_TITLE"
		text = "TUT_CAM_CHAPTER02_PAGE02_TEXT"
		object = "TUT_CAM_CHAPTER02_PAGE02_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { unitpanel disbandbutton }
			
		effect = {
			ai = no
		}
				
		trigger = {
			open_window = "courtview"
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 3
		title = "TUT_CAM_CHAPTER02_PAGE03_TITLE"
		text = "TUT_CAM_CHAPTER02_PAGE03_TEXT"
		object = "TUT_CAM_CHAPTER02_PAGE03_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { unitpanel disbandbutton }
			
		effect = {
			ai = no
		}
		
		extra_window = {
			window = "dummy-ul"
			sprite = "GFX_uiarrow_down"
			position = {
				x = 30
				y = 360
			}
		}
		connected_icons = { dummy-ul countrycourtview government_type_icon }	
		
		trigger = {
			has_advisor = yes
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 4
		title = "TUT_CAM_CHAPTER02_PAGE04_TITLE"
		text = "TUT_CAM_CHAPTER02_PAGE04_TEXT"
		object = "TUT_CAM_CHAPTER02_PAGE04_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { unitpanel disbandbutton }
			
		effect = {
			ai = no
			speed = 4
			close_window = "all"
			direction_pointer = {
				enable = yes
				target = 223
			}
			province_highlight = {
				enable = yes
				target = 223
			}
		}		
		leave_page_effect = {
			direction_pointer = { enable = no }
			province_highlight = { enable = no }
		}
		
		trigger = {
			select_province = 223
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 5
		title = "TUT_CAM_CHAPTER02_PAGE04_TITLE"
		text = "TUT_CAM_CHAPTER02_PAGE04_TEXT"
		object = "TUT_CAM_CHAPTER02_PAGE04_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { unitpanel disbandbutton }
			
		effect = {
			ai = no
			speed = 4
		}
		
		extra_window = {
			window = "dummy-bl"
			sprite = "GFX_uiarrow_down"
			position = {
				x = 230
				y = -525
			}
		}
		connected_icons = { dummy-bl provinceview province_window }
		#connected_icons = { dummy-bl provinceview add_core_button }
		
		trigger = {
			is_core = 223
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 6
		title = "TUT_CAM_CHAPTER02_PAGE05_TITLE"
		text = "TUT_CAM_CHAPTER02_PAGE05_TEXT"
		object = "TUT_CAM_CHAPTER02_PAGE05_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { unitpanel disbandbutton }
				
		effect = {
			ai = no
			pause = yes
			pauseable = yes
		}
		extra_window = {
			window = "dummy-bl"
			sprite = "GFX_uiarrow_down"
			position = {
				x = 230
				y = -445
			}
		}
		connected_icons = { dummy-bl provinceview queue_window build_landunit_button }
		#connected_icons = { dummy-bl provinceview add_core_button }
		
		trigger = {
			223 = {
				religion = catholic
			}
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}		
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 7
		title = "TUT_CAM_CHAPTER02_PAGE06_TITLE"
		text = "TUT_CAM_CHAPTER02_PAGE06_TEXT"
		object = "TUT_CAM_CHAPTER02_PAGE06_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { unitpanel disbandbutton }
			
		effect = {
			ai = no
			instant_build = yes
			pause = yes
			pauseable = yes
			clear_building_construction = all
		}
		
		trigger = {
			223 = {
				has_building = temple
			}
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 8
		title = "TUT_CAM_CHAPTER02_PAGE07_TITLE"
		text = "TUT_CAM_CHAPTER02_PAGE07_TEXT"
		object = "TUT_CAM_CHAPTER02_PAGE07_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { unitpanel disbandbutton }
		
		effect = {
			speed = 2
			ai = no
			close_window = "all"
			goto = 219
			add_stability = 3
			country_event = { id = tutorial.2 }
		}		
		
		trigger = {
			NOT = { stability = 3}
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}		
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 9
		title = "TUT_CAM_CHAPTER02_PAGE08_TITLE"
		text = "TUT_CAM_CHAPTER02_PAGE08_TEXT"
		object = "TUT_CAM_CHAPTER02_PAGE08_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { unitpanel disbandbutton }
		
		effect = {
			ai = no
		}
		
		trigger = {
			all_owned_province = {
				controlled_by = owner
				has_siege = no
			}
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}	
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 10
		title = "TUT_CAM_CHAPTER02_PAGE09_TITLE"
		text = "TUT_CAM_CHAPTER02_PAGE09_TEXT"
		object = "TUT_CAM_CHAPTER02_PAGE09_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { unitpanel disbandbutton }
		
		effect = {
			ai = no
			add_adm_power = 100
		}
		extra_window = {
			window = "dummy-ul"
			sprite = "GFX_uiarrow_down"
			position = {
				x = 50 #230
				y = 330 #260
			}
		}
		connected_icons = { dummy-ul countrystabilityview stability_boost }	
		
		trigger = {
			stability = 3
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}		
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 11
		title = "TUT_CAM_CHAPTER02_PAGE10_TITLE"
		text = "TUT_CAM_CHAPTER02_PAGE10_TEXT"
		object = "TUT_CAM_CHAPTER02_PAGE10_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { unitpanel disbandbutton }
			
		effect = {
			ai = no
			pause = no
			pauseable = yes
			speed = 2
			close_window = "all"
			direction_pointer = {
				enable = yes
				target = 227
			}
			province_highlight = {
				enable = yes
				target = 227
			}
		}
		leave_page_effect = {
			direction_pointer = { enable = no }
			province_highlight = { enable = no }
		}
		
		trigger = {
			mar...
Zgłoś jeśli naruszono regulamin