Efecto de script

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.

Requierebeing_visited_by_expedition_fromVariablehidden effectchinese_expedition_opinionVariablehidden effectvisitation_event_countVariablehidden effectvisited_by_expeditionVariablehidden effect

Definiciónin_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.. Todos los derechos reservados. Proyecto no oficial de fans, sin afiliación con Paradox Interactive. Contenido del juego © Paradox Interactive. Acerca de · Privacidad · Aviso legal