namespace = kala_story_dlg

#卡拉事件链，希灵帝国方

#（卡拉连接着我们剧情10）
country_event = {
	id =  kala_story_dlg.1
	title = NAME_KALA
	desc = KALA_CON_US_TALK10
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = event_target:KALA_Country.ruler
		planet_background = event_target:KALA_Country
		graphical_culture = event_target:KALA_Country
		city_level = event_target:KALA_Country
		room = event_target:KALA_Country.ruler
	}
	
	immediate = {
		 from = {
		 		save_event_target_as = KALA_Country
		 }	   
	}
	
	option = { 
		name = CONTINUE
		hidden_effect = {
		  		country_event = { id = kala_story_dlg.2 }
		}
	}	
}

#（卡拉连接着我们剧情11）
country_event = {
	id =  kala_story_dlg.2
	title = npc_chenjun
	desc = KALA_CON_US_TALK11
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = event_target:KALA_Country.ruler
		planet_background = event_target:KALA_Country
		graphical_culture = event_target:KALA_Country
		city_level = event_target:KALA_Country
		room = event_target:KALA_Country.ruler
	}
	
	
	option = { 
		name = CONTINUE
		custom_tooltip = KALA_CON_US_TALK11_TooLTIP
		hidden_effect = {
				event_target:KALA_Country = {
		  		country_event = { id = kala_story_rdlg.3 }
		  	}
		}
	}	
}

#（卡拉连接着我们剧情12）
country_event = {
	id =  kala_story_dlg.3
	title = npc_lilina
	desc = KALA_CON_US_TALK12
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = lilina
		planet_background = ROOT
		graphical_culture = ROOT
		city_level = ROOT
		room = ROOT.ruler
	}
	
	
	option = { 
		name = CONTINUE
		hidden_effect = {
				event_target:KALA_Country = {
		  		country_event = { id = kala_story_rdlg.4 }
		  	}
		}
	}	
}

#（卡拉连接着我们剧情13）
country_event = {
	id =  kala_story_dlg.4
	title = npc_chenjun
	desc = KALA_CON_US_TALK13
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = event_target:KALA_Country.ruler
		planet_background = event_target:KALA_Country
		graphical_culture = event_target:KALA_Country
		city_level = event_target:KALA_Country
		room = event_target:KALA_Country.ruler
	}
	
	
	option = { 
		name = FINISHED
		#结束这一阶段剧情
		hidden_effect = {
				event_target:KALA_Country = {
		  		country_event = { id = kala_story_rdlg.5 }
		  	}
		}
	}	
}

#（卡拉送种子过来）
country_event = {
	id =  kala_story_dlg.5
	title = NAME_KALA
	desc = KALA_CON_US_TALK14
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = from.ruler
		planet_background = from
		graphical_culture = from
		city_level = from
		room = from.ruler
	}
		
	option = { 
		name = OK
		custom_tooltip = KALA_CON_US_TALK14_TOOLTIP
		hidden_effect = {
				#获得修正卡拉的礼物	
		  	add_modifier = { modifier =  "m_kala_gift"  days = -1 }
		  	add_modifier = { modifier =  "m_life_tree_seed_num_0"  days = -1 }
		    #生命树种子数+1 		  	
		  	add_life_tree_seed = yes
		}
	}	
}

#卡拉来探望它的孩子
country_event = {
	id =  kala_story_dlg.6
	title = kala_story_dlg.6.name
	desc = KALA_CON_US_TALK15
	picture = GFX_evt_alien_nature
	
	is_triggered_only = yes
	#diplomatic = yes
	#force_open = yes
	
	#picture_event_data = {	  
		#portrait = from.ruler
		#room = GFX_evt_alien_nature
	#}
	
		
	option = { 
		name = FINISHED
		custom_tooltip = KALA_CON_US_TALK15_TOOLTIP
		hidden_effect = {
				#卡拉获得生命女神的祝福
				from = {
						add_modifier = { modifier =  "m_blessing_of_life_goddess"  days = -1 }
						add_modifier = { modifier =  "m_life_tree_seed_num_0"  days = -1 }
				}	
				add_modifier = { modifier =  "m_blessing_of_life_goddess"  days = -1 }
		}
	}	
}

#另一支线
country_event = {
	id =  kala_story_dlg.7
	title = npc_dingdang
	desc = KALA_CON_US_TALK16
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = dingdang
		room = xilin_lab1_room
	}
			
	option = { 
		name = CONTINUE
		hidden_effect = {
		   country_event = { id = kala_story_dlg.8 }
		}
	}	
}

country_event = {
	id =  kala_story_dlg.8
	title = npc_chenjun
	desc = KALA_CON_US_TALK17
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = chenjun
		room = xilin_lab1_room
	}
	
		
	option = { 
		name = CONTINUE
		hidden_effect = {
		   country_event = { id = kala_story_dlg.9 }
		}
	}	
}
#当然，这可是叮当造出来的...
country_event = {
	id =  kala_story_dlg.9
	title = npc_dingdang
	desc = KALA_CON_US_TALK18
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = dingdang
		room = xilin_lab1_room
	}
	
		
	option = { 
		name = CONTINUE
		hidden_effect = {
		   country_event = { id = kala_story_dlg.10 }
		}		
	}	
}
#"你怎么知道这是你造出来的?"
country_event = {
	id =  kala_story_dlg.10
	title = npc_chenjun
	desc = KALA_CON_US_TALK19
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = chenjun
		room = xilin_lab1_room
	}
	
		
	option = { 
		name = CONTINUE
		hidden_effect = {
		   country_event = { id = kala_story_dlg.11 }
		}
	}	
}
#"每个生命女神都会制造生命树，生命树会携带创造它的生命女神的气息。叮当厉害吧？..."
country_event = {
	id =  kala_story_dlg.11
	title = npc_dingdang
	desc = KALA_CON_US_TALK20
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = dingdang
		room = xilin_lab1_room
	}
	
		
	option = { 
		name = CONTINUE
		hidden_effect = {
		   country_event = { id = kala_story_dlg.12 }
		}
	}	
}
#那叮当的生命树怎么会漂流在虚空呢?..
country_event = {
	id =  kala_story_dlg.12
	title = npc_chenjun
	desc = KALA_CON_US_TALK21
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = chenjun
		room = xilin_lab1_room
	}
	
		
	option = { 
		name = CONTINUE
		hidden_effect = {
		   country_event = { id = kala_story_dlg.13 }
		}
	}	
}
#君主哥哥，那生命树上有灵魂在呼喊。
country_event = {
	id =  kala_story_dlg.13
	title = npc_anaiye
	desc = KALA_CON_US_TALK22
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = anaiye
		room = xilin_lab1_room
	}
	
		
	option = { 
		name = CONTINUE
		hidden_effect = {
		   country_event = { id = kala_story_dlg.14 }
		}
	}	
}
#叮当记起来了..
country_event = {
	id =  kala_story_dlg.14
	title = npc_dingdang
	desc = KALA_CON_US_TALK23
	
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = dingdang
		room = xilin_lab1_room
	}
	
		
	option = { 
		name = CONTINUE
		custom_tooltip = KALA_CON_US_TALK23_TooLTIP
		hidden_effect = {
		   country_event = { id = kala_story_dlg.15 }
		}
	}	
}

#探查记忆..
country_event = {
	id =  kala_story_dlg.15
	title = KALA_CON_US_TALK24_TITLE
	desc = KALA_CON_US_TALK24_DESC
		
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		#portrait = dingdang
		room = swarm_room
	}
	
	option = { 
		name = REMEMBER1
		is_dialog_only = yes
		response_text = KALA_CON_US_TALK24
	}
	option = { 
		name = REMEMBER2
		is_dialog_only = yes
		response_text = KALA_CON_US_TALK25
	}	
	option = { 
		name = REMEMBER3
		is_dialog_only = yes
		response_text = KALA_CON_US_TALK26
	}
	option = { 
		name = REMEMBER4
		is_dialog_only = yes
		response_text = KALA_CON_US_TALK27
	}
	option = { 
		name = EXIT_KALA_REMIND
		default_hide_option = yes
		hidden_effect = {
		   country_event = { id = kala_story_dlg.16 }
		}
	}
}
#叮当要复活他们
country_event = {
	id =  kala_story_dlg.16
	title = npc_dingdang
	desc = KALA_CON_US_TALK28
		
	is_triggered_only = yes
	diplomatic = yes
	force_open = yes
	
	picture_event_data = {	  
		portrait = dingdang
		room = xilin_lab1_room
	}
	
	option = { 
		name = OK
		hidden_effect = {
		   country_event = { id = kala_story_dlg.17 }
		}
	}
}

country_event = {
	id =  kala_story_dlg.17
	title = kala_story_dlg.17.name
	desc = KALA_CON_US_TALK29
	picture = GFX_evt_psionics
	
	is_triggered_only = yes
		
	option = { 
		name = FINISHED
		custom_tooltip = KALA_CON_US_TALK29_TOOLTIP
		hidden_effect = {
				add_modifier = { modifier =  "m_kala_gift"  days = -1 }
		    add_modifier = { modifier =  "m_life_tree_seed_num_0"  days = -1 }
		    add_life_tree_seed = yes
		}
		begin_event_chain = {
			event_chain = "redemption_of_dingdang_chain"
			target = ROOT
		}
	}	
}
#
country_event = {
	id =  kala_story_dlg.18
	title = kala_story_dlg.18.name
	desc = KALA_CON_US_TALK30
	picture = GFX_evt_psionics
	
	is_triggered_only = yes
		
	option = { 
		name = FINISHED
		end_event_chain = redemption_of_dingdang_chain
		add_modifier = { modifier =  "m_blessing_of_life_goddess"  days = -1 }
	}	
}