
Disaster
The Decline of Majapahit
Our Majapahit Flavor Rank is not as prosperous as it once was. Beset by internal dynastic conflicts, this period of weakness has long been anticipated by our rivals, who eagerly await any chance when to encroach on our borders. Now, with the rise of Islam in Indonesia, we could easily fall from relevance and into the dark oubliette of forgotten empires...
MajapahitCountrycan startAdipati Conversion BanStatic Modifieron endMuslim AidStatic Modifieron end, on monthlyPeranakan Trading Rights RestrictionStatic Modifieron end, on monthlydemak_progressVariableon monthlyModifiers
Definitionin_game/common/disasters/decline_of_majapahit.txt:1
3image = "gfx/interface/illustrations/disaster/death_of_hayan_wuruk.dds"
7can_start = {
9has_any_active_disaster = no
13OR = {
14stability < 30
15legitimacy < 80
}
}
28modifier = {
}
35on_start = {
}
53on_end = {
67if = {
}
73if = {
}
79if = {
}
}
87on_monthly = {
88hidden_effect = {
89set_variable = {
91value = "religion_population_in_country(religion:sunni)"
}
93set_variable = {
95value = "religion_population_in_country(religion:hindu)"
}
99set_variable = {
101value = {
107multiply = 0.01
}
}
110set_variable = {
112value = {
113value = stability
114multiply = -0.01
115multiply = 0.01
}
}
118set_variable = {
120value = {
121value = 100
122subtract = legitimacy
123multiply = 0.0001
}
}
127set_variable = {
129value = {
130value = 0
}
}
142if = {
}
155else_if = {
}
182random_list = {
18330 = {
}
196330 = {
}
}
}
210random_list = {
2112800 = {
211custom_tooltip = no_event_occurs_tt No Event occurs
}
212400 = {
212custom_tooltip = an_event_occurs_tt An Event relevant to this Disaster may occur
}
}
214hidden_effect = {
215random_list = {
2162800 = {
}
}
}
}



