Geskripteter Effekt

fire_post_expedition_events

fire_post_expedition_eventsin_game/events/DHE/flavor_chi_treasure_expedition.txt:508

Scripted effect for firing a set of events after the Treasure Voyage has returned. The scripted effect is put into the after = { } of each event, which makes the chain continue firing relevant events until the pool is exhausted

Erfordertchi_defiant_rulerVariableelse if 8chi_extraditedVariableelse if 6envoy_eventVariableifexceptional_gift_clovesVariableelse if 5exceptional_gift_giraffeVariableelse if 3exceptional_gift_persian_blueVariableelse if 4exploration_eventVariableelse if 1gift_eventVariableelse if 2

509if = {
510limit = {
511has_variable = envoy_event
}
513remove_variable = envoy_event
514trigger_event_silently = flavor_chi.2009
}
516else_if = {
517limit = {
518has_variable = exploration_event
}
520remove_variable = exploration_event
521trigger_event_silently = flavor_chi.2011
}
524else_if = {
525limit = {
526has_variable = gift_event
}
528remove_variable = gift_event
529trigger_event_silently = flavor_chi.2020
}
531else_if = {
532limit = {
533has_variable = exceptional_gift_giraffe
}
535remove_variable = exceptional_gift_giraffe
536trigger_event_silently = flavor_chi.2012
}
538else_if = {
539limit = {
}
542remove_variable = exceptional_gift_persian_blue
543trigger_event_silently = flavor_chi.2013
}
545else_if = {
546limit = {
547has_variable = exceptional_gift_cloves
}
549remove_variable = exceptional_gift_cloves
550trigger_event_silently = flavor_chi.2014
}
552else_if = {
553limit = {
554any_in_list = {
555variable = characters_on_board
556has_variable = chi_extradited
}
}
559random_in_list = {
560variable = characters_on_board
561limit = {
562has_variable = chi_extradited
}
564save_scope_as = extradited_character
565ROOT = {
566remove_list_variable = {
567name = characters_on_board
568target = PREV
}
}
}
572trigger_event_silently = {
}
}
576else_if = {
577limit = {
578any_in_list = {
579variable = characters_on_board
580character:chi_chen_zuyi ?= this
}
}
583character:chi_chen_zuyi = {
584save_scope_as = executed_character
}
586trigger_event_silently = {
}
}
590else_if = {
591limit = {
592any_in_list = {
593variable = characters_on_board
594has_variable = chi_defiant_ruler
}
}
597random_in_list = {
598variable = characters_on_board
599limit = {
600has_variable = chi_defiant_ruler
}
602save_scope_as = loser_character
603ROOT = {
604remove_list_variable = {
605name = characters_on_board
606target = PREV
}
}
}
610trigger_event_silently = {
}
}
614else = {
615trigger_event_non_silently = {
}
}
© 2026 Soft Santa Cruz, S.L.U.. Alle Rechte vorbehalten. Inoffizielles Fanprojekt, nicht mit Paradox Interactive verbunden. Spielinhalte © Paradox Interactive. Über · Datenschutz · Impressum