forked from hadorganization/geheimnisnacht
-
Notifications
You must be signed in to change notification settings - Fork 0
/
councillor_decision.txt
174 lines (172 loc) · 3.22 KB
/
councillor_decision.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
###################################
#
# CHARLEMAGNE
# - Councillor decisions
#
###################################
# Written by Henrik "Groogy" Hansson
decisions = {
help_liege_manage_titles = {
is_high_prio = yes
potential = {
ai = no
is_councillor = yes
liege = {
NOT = {
character = ROOT
}
is_nomadic = no
}
OR = {
has_job_title = job_chancellor
has_job_title = job_treasurer
has_job_title = job_spiritual
}
nor = {
trait = slothful
had_character_flag = {
flag = proposed_to_help_liege_with_titles days = 730
}
}
}
allow = {
liege = {
over_max_demesne_size = 4
custom_tooltip = {
text = NOT_PROPOSED_TITLE_HELP_RECENTLY_TOOLTIP
hidden_tooltip = {
OR = {
NOT = {
has_character_flag = has_been_proposed_about_titles
}
had_character_flag = {
flag = has_been_proposed_about_titles days = 14
}
}
}
}
custom_tooltip = {
text = NOT_REFUSED_ANY_HELP_WITH_TITLES_TOOLTIP
hidden_tooltip = {
OR = {
NOT = {
has_character_flag = refused_any_help_with_titles
}
had_character_flag = {
flag = refused_any_help_with_titles days = 712
}
}
}
}
custom_tooltip = {
text = NOT_GETTING_HELP_WITH_TITLES_TOOLTIP
hidden_tooltip = {
NOT = {
has_character_flag = getting_help_with_titles
}
}
}
}
}
effect = {
log = "work decision help_liege_manage_titles for [Root.GetBestName]"
set_character_flag = proposed_to_help_liege_with_titles
liege = {
set_character_flag = has_been_proposed_about_titles
}
if = {
limit = {
has_job_title = job_chancellor
}
character_event = {
id = 108050
}
}
if = {
limit = {
has_job_title = job_treasurer
}
character_event = {
id = 108051
}
}
if = {
limit = {
has_job_title = job_spiritual
}
character_event = {
id = 108052
}
}
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 0
}
}
ask_help_to_manage_titles = {
only_rulers = yes
is_high_prio = yes
potential = {
is_ruler = yes
is_nomadic = no
OR = {
job_chancellor = {
ai = no
}
ai = no
}
over_max_demesne_size = 4
OR = {
NOT = {
has_character_flag = has_been_proposed_about_titles
}
had_character_flag = {
flag = has_been_proposed_about_titles days = 14
}
}
OR = {
NOT = {
has_character_flag = refused_any_help_with_titles
}
had_character_flag = {
flag = refused_any_help_with_titles days = 712
}
}
NOT = {
has_character_flag = getting_help_with_titles
}
}
allow = {
over_max_demesne_size = 4
custom_tooltip = {
text = HAS_CHANCELLOR
hidden_tooltip = {
job_chancellor = {
is_alive = yes
}
}
}
}
effect = {
log = "work decision ask_help_to_manage_titles for [Root.GetBestName]"
set_character_flag = getting_help_with_titles
job_chancellor = {
character_event = {
id = 108010
}
character_event = {
id = 108005
}
}
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 1
}
}
}