
DisasterChanged this version
Coup Attempt
Shadowy threats circle us like birds of prey, waiting to peck us apart — the most terrifying of which would bring about the untimely demise of our ruler! Worse, they would be replaced by a puppet, controlled from behind the scenes by these same murderous shadows.
TraditionsAgecan start
CrownEstatecan start
MonarchyGovernment Typecan start, on endpotential_conspirator_variableVariableon endrecently_had_coup_attempt_inconclusive_or_negative_variableVariablecan start, on endModifiers
Definitionin_game/common/disasters/coup_attempt.txt:1
3image = "gfx/interface/illustrations/disaster/coup_attempt.dds"
7can_start = {
10government_power < 30
11any_estate = {
13power > "root.estate_power(estate_type:crown_estate)"
}
15estate_power(estate_type:crown_estate) < 0.5
16in_civil_war = no
17custom_tooltip = {
18text = recently_had_coup_attempt_inconclusive_tt Has NOT had an inconclusive or successful coup attempt in the last 5 years
}
21has_any_active_disaster = no
}
25modifier = {
}
34on_end = {
35if = {
37if = {
38limit = {
39OR = {
40had_disaster_for_years = {
41disaster_type = scope:disaster
42years >= 5
}
}
}
}
}
57every_character = {
}
}
63on_monthly = {
64random_list = {
65175 = {
65custom_tooltip = an_event_occurs_tt An Event relevant to this Disaster may occur
}
66825 = {
66custom_tooltip = no_event_occurs_tt No Event occurs
}
}
68hidden_effect = {
69random_list = {
74800 = {
}
}
}
}


