Event
Away from Home

Life at Court Title is usually very busy. Courtiers preparing the next feast, ministers composing a new decree as the whole palace whistles along in an occupied tune. Whilst the type of life that involves a position in our Cabinet Title is coveted by many, it has come to our notice that Target Character2 has become very melancholic.
When approached, he/she spoke of Target Location, where he/she was born, some Character Age Display Variable years ago. his/her wish is to return, and take some time to reconnect with his/her family and enjoy the quiet life away from Capital, tending to the local administration matters in Target Location...
ChinaCountrytrigger
Enable HarmonyModifier Typeoption 1
Enable RighteousnessModifier Typeoption 2Definitionin_game/events/DHE/flavor_chi.txt:1327
1328hide_portraits = yes
1329type = country_event
1330title = flavor_chi.18.title Away from Home
1331desc = flavor_chi.18.desc Life at Court Title is usually very busy. Courtiers preparing the next feast, ministers composing a new decree as the whole palace whistles along in an occupied tune. Whilst the type of life that involves a position in our Cabinet Title is coveted by many, it has come to our notice that Target Character2 has become very melancholic.
When approached, he/she spoke of Target Location, where he/she was born, some Character Age Display Variable years ago. his/her wish is to return, and take some time to reconnect with his/her family and enjoy the quiet life away from Capital, tending to the local administration matters in Target Location...
When approached, he/she spoke of Target Location, where he/she was born, some Character Age Display Variable years ago. his/her wish is to return, and take some time to reconnect with his/her family and enjoy the quiet life away from Capital, tending to the local administration matters in Target Location...
1332outcome = neutral
1334trigger = {
1337any_cabinet_character ?= {
1338birth_location.province != root.capital.province
}
}
1343illustration_tags = {
134410 = regular
134510 = interior
}
1348immediate = {
}
1350ruler_or_regent ?= {
1350save_scope_as = target_character
}
1351random_cabinet_character = {
1352limit = {
1353birth_location != root.capital
}
1355save_scope_as = target_character2
}
1357scope:target_character2.birth_location = {
1358save_scope_as = target_location
1359province = {
1359save_scope_as = target_province
}
}
1361set_variable = {
1363value = scope:target_character2.age_in_years
1364months = 4
}
1366set_variable = {
1368value = {
1369add = scope:target_character2.total_abilities
1370divide = 500
}
1372months = 4
}
1374set_variable = {
1380months = 4
}
1382set_variable = {
1384value = {
1385add = scope:target_character2.total_abilities
1386divide = 1000
}
1388months = 4
}
1390set_variable = {
1396months = 4
}
}
1443after = {
}