事件
羁旅思归

Court Title之中,庶务纷纭,朝臣忙于策令,宦官奔走于堂,宫室之中无片刻闲暇。而身为朝中Cabinet Title的Target Character2可谓权倾朝野,为无数士人所艳羡。然而,he/she近日却心怀戚戚,人们常常撞见his/her独自凭栏远望,暗自神伤。
寻声暗问,he/she自言出身Target Location乡野,自离乡入朝为官已有Character Age Display Variable余载,故而有莼鲈之思。his/her希望能正式辞去Capital的官职,回到Target Location做个乡贤,理割鸡之务。这样一来,his/her便能与家人享天伦之乐,从此远离朝堂的纷扰,回归恬适的田园生活……
中华国家trigger
启用调和修正类型option 1
启用仁义修正类型option 2定义in_game/events/DHE/flavor_chi.txt:1327
1328hide_portraits = yes
1329type = country_event
1330title = flavor_chi.18.title 羁旅思归
1331desc = flavor_chi.18.desc Court Title之中,庶务纷纭,朝臣忙于策令,宦官奔走于堂,宫室之中无片刻闲暇。而身为朝中Cabinet Title的Target Character2可谓权倾朝野,为无数士人所艳羡。然而,he/she近日却心怀戚戚,人们常常撞见his/her独自凭栏远望,暗自神伤。
寻声暗问,he/she自言出身Target Location乡野,自离乡入朝为官已有Character Age Display Variable余载,故而有莼鲈之思。his/her希望能正式辞去Capital的官职,回到Target Location做个乡贤,理割鸡之务。这样一来,his/her便能与家人享天伦之乐,从此远离朝堂的纷扰,回归恬适的田园生活……
寻声暗问,he/she自言出身Target Location乡野,自离乡入朝为官已有Character Age Display Variable余载,故而有莼鲈之思。his/her希望能正式辞去Capital的官职,回到Target Location做个乡贤,理割鸡之务。这样一来,his/her便能与家人享天伦之乐,从此远离朝堂的纷扰,回归恬适的田园生活……
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 = {
}