
Disaster
Death of Hayam Wuruk
The passing of our great leader Hayam Wuruk has thrown our Majapahit Flavor Rank into great turmoil. This turbulent period could last many long years, as those who once bowed to us rise up against our authority. Disputed succession and the decay of our Majapahit power are two pressing issues that must be resolved immediately, if we want to survive this catastrophe.
- 100%
- Is
Majapahit - Does NOT have an active Disaster
- None of
- Has Variable:↗
had_death_of_hayan_wuruk_disaster
- Hayam Wuruk has died in the last 10 yearsHas Variable: eligible_for_dohw_disaster_variable
Exact conditions
- Set variable
- Name: maj_death_of_hayan_wuruk_timer
- Value: 0
- The Event '
Death of Target Hayan' happens
Exact script
- Is
MajapahitIfHas Variable: maj_death_of_hayan_wuruk_timerOtherwiseSet variable- Name: maj_death_of_hayan_wuruk_timer
- Value: 1
- One of these, at random
- 10%An Event relevant to this Disaster may occur
- 90%No Event occurs
- 10%
- Not shown in the game's tooltipOne of these, at random
- 90%Nothing happens
- 5%Trigger event silently:
Autonomy Demands - 5%Trigger event silently:
Spread of Islam in Majapahit
Exact script
- At least one of↗
- All of
- Stability > 50
- Government Power > 90
- Trigger if
- LimitHas > 0 Subject
- None of
- Any subjectHas > 50 Liberty Desire
- Had disaster for years
- Disaster type:
Death of Hayam Wuruk - Years ≥ 30
- Disaster type:
- If the Disaster lasts 20 years or more, ending it will cause all of our Subjects to break free (Maj Death Of Hayan Wuruk Timer/240 months)No restriction
Exact conditions
- Remove variable: eligible_for_dohw_disaster_variable
- The Event '
The Majapahit Crisis Ends' happens - set_ended_disaster_flag_effect: Type:
death_of_hayan_wuruk↗IfDoes NOT have Variable:had_death_of_hayan_wuruk_disasterThenSet variable- Name:
had_death_of_hayan_wuruk_disaster - Value: 1
OtherwiseChange variable- Name:
had_death_of_hayan_wuruk_disaster - Add: 1
- Name:
Exact script
Requires 1
MajapahitCan start
Triggers 4
Events
Death of Target HayanWhen it starts
Autonomy DemandsEach month
Spread of Islam in MajapahitEach month
The Majapahit Crisis EndsWhen it ends
References 1
MajapahitEach month
Members 7
Events
Death of Target HayanEvent namespace
Autonomy DemandsEvent namespace
Target Overlord Demands our AllegianceEvent namespace
Target Subject Disputes our AuthorityEvent namespace
Target Subject Shows their AllegianceEvent namespace
Spread of Islam in MajapahitEvent namespace
The Majapahit Crisis EndsEvent namespace
Scripting 9
Requires 2
- eligible_for_dohw_disaster_variableCan start
- maj_death_of_hayan_wuruk_timerEach month
Grants 1
- maj_death_of_hayan_wuruk_timerEach month, When it starts
Removes 1
- eligible_for_dohw_disaster_variableWhen it ends
Uses 3
Scripted Effects
- set_ended_disaster_flag_effecttype = death_of_hayan_wurukWhen it ends
Scripted Triggers
- death_of_hayan_wuruk_end_triggerCan end
- had_disaster_triggertype = death_of_hayan_wurukCan start
References 1
- monthly_spawn_chance_uniqueMonthly spawn chance
Referenced by 1
image = "gfx/interface/illustrations/disaster/death_of_hayan_wuruk.dds"

