脚本效果

visitation_event_pulse

visitation_event_pulsein_game/events/DHE/flavor_chi_treasure_expedition.txt:460

Scripted effect for firing a set of events from the chinese_expedition_event_pulse on_action. Counts the current amount of events fired and forces the fleet to depart after 6 of them have been fired.

需要being_visited_by_expedition_from变量hidden effectchinese_expedition_opinion变量hidden effectvisitation_event_count变量hidden effectvisited_by_expedition变量hidden effect

定义in_game/events/DHE/flavor_chi_treasure_expedition.txt:460

461hidden_effect = {
462if = {
463limit = {
464NOT = {
464has_variable = visitation_event_count
}
}
466set_variable = {
468value = 0
}
472if = {
473limit = {
474OR = {
475NOT = {
475has_variable = visited_by_expedition
}
476NOT = {
476has_variable = chinese_expedition_opinion
}
477NOT = {
}
}
}
}
}
484if = {
485limit = {
}
488remove_variable = visitation_event_count
489trigger_event_non_silently = {
}
}
493else = {
494change_variable = {
496add = 1
}
498trigger_event_silently = {
499on_action = chinese_expedition_event_pulse
500days = 15
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明