
Action
Invoke Omen
Our ruler will invoke an omen.
Omens OfferedModifier Typepotentialhellenism_has_omensVariablepotentialDefinitionin_game/common/generic_actions/invoke_omen.txt:2
3type = religious
4show_in_gui_list = no
6ai_tick = monthly
7ai_tick_frequency = 24
8automation_tick = monthly
9automation_tick_frequency = 6
11automation_tick = monthly
12automation_tick_frequency = 12
13player_automated_category = religiousdoctrines
16potential = {
17scope:recipient ?= {
18has_omens = yes
20any_god_in_religion = {
21any_omen_in_god = {
21always = yes
}
}
}
}
29allow = {
30scope:actor ?= {
31has_ruler = yes
}
}
35select_trigger = {
36looking_for_a = religion
37source = actor
38target_flag = recipient
39name = "choose_religion" Choose the Religion:
40column = {
41data = name
}
}
45select_trigger = {
46looking_for_a = god
47source = actor
48target_flag = target
49name = "choose_god" Choose a God
50column = {
51data = name
}
53enabled = {
54custom_tooltip = {
55text = select_omen_god_is_active_tt Target is already busy with another Omen.
56scope:actor = {
57NOT = {
57any_omen_in_country = {
57god = scope:target
}
}
}
}
60is_selected_omen_god = scope:actor
}
}
64select_trigger = {
65looking_for_a = omen
66source = target
67target_flag = target_2
68name = "choose_omen" Choose an Omen
69column = {
70data = name
}
72interaction_source_list = {
73scope:target = {
74every_omen_in_god = {
75add_to_list = source
}
}
}
}
81effect = {
82scope:actor = {
83add_omen = scope:target_2
}
}
87ai_will_do = {
88add = 100
}