Scripted Trigger
event_illustration_background_trigger
Definitionin_game/common/scripted_triggers/00_event_illustration_triggers.txt:1
4trigger_if = {
5limit = {
5NOT = {
5exists = scope:target_location
}
}
7trigger_if = {
7limit = {
7exists = scope:target_pop_bckg
}
7scope:target_pop_bckg.location = {
7save_temporary_scope_as = target_location
}
}
9trigger_if = {
10limit = {
10NOT = {
10exists = scope:target_location
}
}
11trigger_if = {
11limit = {
11exists = scope:target_character
}
11scope:target_character.location = {
11save_temporary_scope_as = target_location
}
}
}
13trigger_if = {
14limit = {
14NOT = {
14exists = scope:target_location
}
}
15trigger_if = {
15limit = {
15exists = capital
}
15capital = {
15save_temporary_scope_as = target_location
}
}
}
}
20trigger_if = {
21limit = {
21NOT = {
21exists = scope:target_culture_bckg
}
}
23trigger_if = {
23limit = {
23exists = scope:target_pop_bckg
}
23scope:target_pop_bckg.culture = {
23save_temporary_scope_as = target_culture_bckg
}
}
25trigger_if = {
26limit = {
26NOT = {
26exists = scope:target_culture_bckg
}
}
27trigger_if = {
27limit = {
27exists = scope:target_location
}
27scope:target_location.dominant_culture = {
27save_temporary_scope_as = target_culture_bckg
}
}
}
29trigger_if = {
30limit = {
30NOT = {
30exists = scope:target_culture_bckg
}
}
31root.culture = {
31save_temporary_scope_as = target_culture_bckg
}
}
}
36trigger_if = {
37limit = {
37NOT = {
37exists = scope:target_religion_bckg
}
}
39trigger_if = {
39limit = {
39exists = scope:target_pop_bckg
}
39scope:target_pop_bckg.religion = {
39save_temporary_scope_as = target_religion_bckg
}
}
41trigger_if = {
42limit = {
42NOT = {
42exists = scope:target_religion_bckg
}
}
43trigger_if = {
43limit = {
43exists = scope:target_location
}
43scope:target_location.dominant_religion = {
43save_temporary_scope_as = target_religion_bckg
}
}
}
45trigger_if = {
46limit = {
46NOT = {
46exists = scope:target_religion_bckg
}
}
47root.religion = {
47save_temporary_scope_as = target_religion_bckg
}
}
}
52trigger_if = {
53limit = {
53NOT = {
53exists = scope:target_pop_type_bckg
}
}
55trigger_if = {
55limit = {
55exists = scope:target_pop_bckg
}
55scope:target_pop_bckg.pop_type = {
55save_temporary_scope_as = target_pop_type_bckg
}
}
}