
Action
Commission a Dynastic Chronicle
Our forefathers, and their fathers before them, claimed and settled the vast expanses of lands that make up our Actor Flavor Rank today. By recording the history of our glorious forebears, we will elevate the grandeur of our dynasty and bolster our legitimacy against that of any pretender.
Byzantine Succession CrisisDisasterselect trigger 1
Castilian Civil WarDisasterselect trigger 1
Succession CrisisDisasterselect trigger 1Definitionin_game/common/generic_actions/succession_crisis_actions.txt:193
194type = disaster
196potential = {
197scope:actor = {
198has_ruler = yes
199ruler ?= {
199has_dynasty = yes
}
}
}
203allow = {
204scope:actor = {
205in_civil_war = no
206at_war = no
207any_artist = {
208artist_type = writer
}
}
}
213cooldown = {
214type = sc_commission_dynastic_history
215years = 20
}
218automation_tick = never
219automation_tick_frequency = 12
221price = price:hire_artist
223select_trigger = {
224looking_for_a = disaster
225name = "choose_disaster" Choose the Disaster:
226interaction_source_list = {
227scope:actor = {
228every_active_disaster = {
229limit = {
230OR = {
}
}
236add_to_list = source
}
}
}
240target_flag = recipient
241column = {
242data = name
}
244visible = {
245disaster_is_active = yes
246OR = {
}
}
}
254select_trigger = {
255looking_for_a = character
256source = actor
257name = "choose_writer" Choose a writer
258none_available_msg_key = "invite_artist_no_characters"
259target_flag = target_character
260column = {
261data = character_artist
}
263visible = {
264artist_type = writer
}
}
268effect = {
269if = {
270limit = {
271NOT = {
271exists = scope:target_character
}
}
273custom_tooltip = {
274text = selected_writer_will_compile_and_grant_legitimacy_based_on_woa_quality_tt The selected writer will compile a Chronicle for the Actor Dynasty Dynasty. We will gain Legitimacy depending greatly on the quality of the Work of Art
}
}
278else = {
279custom_tooltip = {
280text = target_character_will_compile_a_history_of_our_dynasty_tt Target Character will be selected to compile a Chronicle for the actor GetGovernment.GetRulerOrRegent.GetDynasty.GetName Dynasty
}
}
}
286ai_will_do = {
287add = -25
288if = {
289limit = {
290scope:actor.gold <= {
291value = scope:actor.monthly_income_total
292multiply = 5
}
}
295subtract = 30
}
297else = {
297add = 5
}
298if = {
299limit = {
299scope:actor.government_power < 80
}
300add = 25
}
302else = {
302subtract = 25
}
303subtract = {
304value = scope:actor.num_loans
305multiply = 5
}
}