On Action
on_war_declared
- IfActorRuler›Has On a Grand Embassy
- IfRecipientRuler›Has On a Grand Embassy
- If
- The
Hussite Wars is currently happening
Thenhussite_wars_update_sides_effect- Clear global variable list:
hussite_wars_hussite_side_list - Clear global variable list:
hussite_wars_catholic_side_list
Hussite Wars- Remove variable: hussite_wars_current_war
- Set variable
- Name: hussite_wars_hussite_strength_variable
- Value: 0
- Set variable
- Name: hussite_wars_catholic_strength_variable
- Value: 0
- hussite_wars_resolve_current_war_effect
Bohemia↗IfAny current war›Casus Belli:
Crush HussitismThenRandom current warwhereCasus Belli:
Crush Hussitism
Hussite WarsSet variable- Name: hussite_wars_current_war
- Value: Previous
Else if
Holy Roman Empire › Leader country Exists- Any current warAt least one of
- All of
- Attacker leader:
Bohemia - Defender leader:
Holy Roman Empire › Leader country
- Attacker leader:
- All of
- Attacker leader:
Holy Roman Empire › Leader country - Defender leader:
Bohemia
- Attacker leader:
ThenRandom current warwhereAt least one of- All of
- Attacker leader:
Bohemia - Defender leader:
Holy Roman Empire › Leader country
- Attacker leader:
- All of
- Attacker leader:
Holy Roman Empire › Leader country - Defender leader:
Bohemia
- Attacker leader:
Hussite WarsSet variable- Name: hussite_wars_current_war
- Value: Previous
Hussite WarsIfHas Variable: hussite_wars_current_warThenvar:hussite_wars_current_warIfAny attacker›Is
BohemiaThen- Defender leader
Hussite WarsSet variable- Name: hussite_wars_catholic_leader
- Value: Previous
- Every attackerhussite_wars_add_country_to_side_effect: LIST:
hussite_wars_hussite_side_list· Strength: hussite_wars_hussite_strength_variable- Add to global variable list
- Name:
hussite_wars_hussite_side_list - Target: Hw side member
- Name:
Hussite WarsChange variable- Name: hussite_wars_hussite_strength_variable
- Add
- Value: Hw side member›Max manpower
- Add: Hw side member›Regular army size
- Add: Hw side member›Country total army levy size
- Add to global variable list
- Every defenderhussite_wars_add_country_to_side_effect: LIST:
hussite_wars_catholic_side_list· Strength: hussite_wars_catholic_strength_variable- Add to global variable list
- Name:
hussite_wars_catholic_side_list - Target: Hw side member
- Name:
Hussite WarsChange variable- Name: hussite_wars_catholic_strength_variable
- Add
- Value: Hw side member›Max manpower
- Add: Hw side member›Regular army size
- Add: Hw side member›Country total army levy size
- Add to global variable list
Otherwise- Attacker leader
Hussite WarsSet variable- Name: hussite_wars_catholic_leader
- Value: Previous
- Every defenderhussite_wars_add_country_to_side_effect: LIST:
hussite_wars_hussite_side_list· Strength: hussite_wars_hussite_strength_variable- Add to global variable list
- Name:
hussite_wars_hussite_side_list - Target: Hw side member
- Name:
Hussite WarsChange variable- Name: hussite_wars_hussite_strength_variable
- Add
- Value: Hw side member›Max manpower
- Add: Hw side member›Regular army size
- Add: Hw side member›Country total army levy size
- Add to global variable list
- Every attackerhussite_wars_add_country_to_side_effect: LIST:
hussite_wars_catholic_side_list· Strength: hussite_wars_catholic_strength_variable- Add to global variable list
- Name:
hussite_wars_catholic_side_list - Target: Hw side member
- Name:
Hussite WarsChange variable- Name: hussite_wars_catholic_strength_variable
- Add
- Value: Hw side member›Max manpower
- Add: Hw side member›Regular army size
- Add: Hw side member›Country total army levy size
- Add to global variable list
Otherwise- If
Holy Roman Empire › Leader country Exists
Bohemia- hussite_wars_add_country_to_side_effect: LIST:
hussite_wars_hussite_side_list· Strength: hussite_wars_hussite_strength_variable- Add to global variable list
- Name:
hussite_wars_hussite_side_list - Target: Hw side member
- Name:
Hussite WarsChange variable- Name: hussite_wars_hussite_strength_variable
- Add
- Value: Hw side member›Max manpower
- Add: Hw side member›Regular army size
- Add: Hw side member›Country total army levy size
- Add to global variable list
- Every other countrywhereAt least one of
- All of
- Is a Subject (or below) of
Bohemia - Has > 50 Subject Loyalty
- Is a Subject (or below) of
hussite_wars_add_country_to_side_effect: LIST:hussite_wars_hussite_side_list· Strength: hussite_wars_hussite_strength_variable- Add to global variable list
- Name:
hussite_wars_hussite_side_list - Target: Hw side member
- Name:
Hussite WarsChange variable- Name: hussite_wars_hussite_strength_variable
- Add
- Value: Hw side member›Max manpower
- Add: Hw side member›Regular army size
- Add: Hw side member›Country total army levy size
- hussite_wars_add_country_to_side_effect: LIST:
Holy Roman Empire › Leader country- IfNone of
- Is target in global variable list
- Name:
hussite_wars_hussite_side_list - Target: This
- Name:
Thenhussite_wars_add_country_to_side_effect: LIST:hussite_wars_catholic_side_list· Strength: hussite_wars_catholic_strength_variable- Add to global variable list
- Name:
hussite_wars_catholic_side_list - Target: Hw side member
- Name:
Hussite WarsChange variable- Name: hussite_wars_catholic_strength_variable
- Add
- Value: Hw side member›Max manpower
- Add: Hw side member›Regular army size
- Add: Hw side member›Country total army levy size
- Every other countrywhere
- Is NOT
Bohemia - None of
- Is target in global variable list
- Name:
hussite_wars_hussite_side_list - Target: This
- Name:
- At least one of
- All of
- Is a Subject (or below) of
Holy Roman Empire › Leader country - Has > 50 Subject Loyalty
- Is a Subject (or below) of
- Has mutual scripted relation
- Type: Alliance
- Target:
Holy Roman Empire › Leader country
hussite_wars_add_country_to_side_effect: LIST:hussite_wars_catholic_side_list· Strength: hussite_wars_catholic_strength_variable- Add to global variable list
- Name:
hussite_wars_catholic_side_list - Target: Hw side member
- Name:
Hussite WarsChange variable- Name: hussite_wars_catholic_strength_variable
- Add
- Value: Hw side member›Max manpower
- Add: Hw side member›Regular army size
- Add: Hw side member›Country total army levy size
- Is NOT
- Defender leader
- hussite_wars_recompute_relative_strength_effect
- The
- IfThenActivate situation:
Hundred Years' War - IfThenIfActor
- This:
Englandor
France - Has Variable: ccw_pretender_promises_100yw_support
- var:ccw_pretender_promises_100yw_support Exists
- var:ccw_pretender_promises_100yw_support›Can declare War on Defender
Then- Actor›var:ccw_pretender_promises_100yw_supportJoin war with: War: War · Target: Actor · Call in subjects: yes
- ActorRemove variable: ccw_pretender_promises_100yw_support
Else ifRecipientThe same conditions as aboveThen- Recipient›var:ccw_pretender_promises_100yw_supportJoin war with: War: War · Target: Recipient · Call in subjects: yes
- RecipientRemove variable: ccw_pretender_promises_100yw_support
- This:
- IfAny international organizations member of
- International Organization Type:
Hindu Branch - Has enacted
Shaktism
ThenIfThen - International Organization Type:
- If
- The
War of Religions is currently happening - War
- Has a valid Casus Belli
- Casus Belli:
Religious Superiority
Then- WarEvery war participantAdd to global variable list
- Name:
war_of_religions_wants_war_list - Target: This
- Name:
War of ReligionsSet variable- Name: war_of_religion_current_war
- Value: War
- The
- If
- War›Casus Belli:
Claim Throne - Actor›Has Variable: cas_claimed_the_portuguese_throne
- Recipient:
Portugal
- War›Casus Belli:
- If
- Actor
- Is
Timurid - Ruler›Has The Scourge from Central Asia
- Is
Rise of Timur- Situation is active
- Has Variable: rot_conquest_ambition
- Recipient›Capital›Region: var:rot_conquest_ambition
Then
Rise of Timurvar:rot_conquest_ambitionEvery location in regionwhere- Lose the effect of Timur Scare
Fort Defense−50%
Occupation Time−50%
Garrison Growth−50%
Levy Size−25%
Monthly Manpower−25%
Monthly Sailors−25%
- IfOwner
- This: NotActor
- Is at War with Actor
ThenGains Timur Scare for 10 years
Fort Defense−50%
Occupation Time−50%
Garrison Growth−50%
Levy Size−25%
Monthly Manpower−25%
Monthly Sailors−25%
- If
- The
Guelphs and Ghibellines is currently happening - Actor›Is a member of
Guelphs - Recipient›Is a member of
Guelphs
- The
- If
- The
Guelphs and Ghibellines is currently happening - Actor›Is a member of
Ghibellines - Recipient›Is a member of
Ghibellines
- The
Exact script
Requires 20
Situations
Guelphs and GhibellinesEffect
Hundred Years' WarEffect
Hussite WarsEffect
Rise of TimurEffect
War of ReligionsEffect
Policies
ShaktismEffect
Casus Belli
Claim ThroneEffect
Religious SuperiorityEffect
International Organizations
GhibellinesEffect
GuelphsEffect
Triggers 1
- TTrouble at HomeEffect
Grants 2
Situations
Hundred Years' WarEffect
Static Modifiers
- TTimur Scare10 yearsEffect
Removes 1
- TTimur ScareEffect
References 6
Situations
Rise of TimurEffect
War of ReligionsEffect
Gods
ŚaktiEffect
International Organizations
GhibellinesEffect
GuelphsEffect
Countries
SicilyEffect
Scripting 13
Requires 3
Grants 4
Variables
- Ccas_aljubarrota_varEffect
- Gghibellines_progressEffect
- Gguelphs_progressEffect
- Wwar_of_religion_current_warEffect
Removes 2
Uses 2
Scripted Effects
Scripted Triggers






