namespace = everpreg_char_interaction


everpreg_char_interaction.0100 = {
	type = letter_event
	opening = {
		desc = everpreg_char_interaction.0030.opening
	}
	desc = everpreg_char_interaction.0100.desc
		
	sender = scope:actor

	option = {
		name = everpreg_char_interaction.0100.a
		show_as_tooltip = {
			scope:actor = {
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_deserttemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_deserttemple_modifier
						years = 10
					}
				}				
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_desertmountainstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_desertmountainstemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_drylandstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_drylandstemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_farmlandstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_farmlandstemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_floodplainstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_floodplainstemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_foresttemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_foresttemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_hillstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_hillstemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_jungletemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_jungletemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_mountainstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_mountainstemple_modifier
						years = 10
					}
				}				
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_oasistemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_oasistemple_modifier
						years = 10
					}
				}				
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_plainstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_plainstemple_modifier
						years = 10
					}
				}				
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_steppetemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_steppetemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_taigatemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_taigatemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:recipient = {
							has_character_modifier = everpreg_wetlandstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_wetlandstemple_modifier
						years = 10
					}
				}		
				
			}
			scope:recipient = {
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_deserttemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_deserttemple_modifier
						years = 10
					}
				}				
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_desertmountainstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_desertmountainstemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_drylandstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_drylandstemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_farmlandstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_farmlandstemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_floodplainstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_floodplainstemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_foresttemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_foresttemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_hillstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_hillstemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_jungletemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_jungletemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_mountainstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_mountainstemple_modifier
						years = 10
					}
				}				
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_oasistemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_oasistemple_modifier
						years = 10
					}
				}				
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_plainstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_plainstemple_modifier
						years = 10
					}
				}				
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_steppetemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_steppetemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_taigatemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_taigatemple_modifier
						years = 10
					}
				}
				if = {
					limit = {
						scope:actor = {
							has_character_modifier = everpreg_wetlandstemple_modifier
						}
					}
					add_character_modifier = {
						modifier = everpreg_wetlandstemple_modifier
						years = 10
					}
				}
			}
		}
	}
}