Scripted effect · The Northern Lords files
secure_high_kingdom_north_sea_scripted_effect
In the game: You get a Strong Hook (Loyalty) on Powerful Vassals
secure_high_kingdom_north_sea_scripted_effect = yesgame/common/scripted_effects/01_dlc_fp1_scripted_effects.txt, line 5 (274 lines). No parameters.
secure_high_kingdom_north_sea_scripted_effect is a scripted effect in Crusader Kings III, in the The Northern Lords files, written at line 5 of its file. It takes no parameters: secure_high_kingdom_north_sea_scripted_effect = yes. The game's script calls it in 4 places, among them Secure the High Kingdom of the North Sea (decision), The High … of the North (event fp1_major_decisions.0001) and The High … of the North (event fp1_major_decisions.0002). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt.
What it does
scope:founder:- Their dynasty: The dynasty gains +1,000 Renown
- North Sea: Gains the … Title (founder)
- England: Becomes de jure part of North Sea
- Denmark: Becomes de jure part of North Sea
- Norway: Becomes de jure part of North Sea
If
- Daneland: Not: Is Titular Title
One of these
- Holds Daneland
or
Completely Controls Daneland
Then
- Daneland: Becomes de jure part of North Sea
If
- Frisia: Not: Is Titular Title
One of these
- Holds Frisia
or
Completely Controls Frisia
Then
- Frisia: Becomes de jure part of North Sea
If
- Flanders: Not: Is Titular Title
- Normandy: Not: Is Titular Title
One of these
- Holds Flanders
or
Completely Controls Flanders
One of these
- Holds Normandy
or
Completely Controls Normandy
Then
If
- Brittany: Not: Is Titular Title
One of these
- Holds Brittany
or
Completely Controls Brittany
Then
- Brittany: Becomes de jure part of North Sea
If
- Scotland: Not: Is Titular Title
One of these
- Holds Scotland
or
Completely Controls Scotland
Then
- Scotland: Becomes de jure part of North Sea
If
- Ireland: Not: Is Titular Title
One of these
- Holds Ireland
or
Completely Controls Ireland
Then
- Ireland: Becomes de jure part of North Sea
If
- Wales: Not: Is Titular Title
One of these
- Holds Wales
or
Completely Controls Wales
Then
- Wales: Becomes de jure part of North Sea
If
- Mann and the Isles: Not: Is Titular Title
One of these
Then
- Mann and the Isles: Becomes de jure part of North Sea
If
- Government is a Tribal-type Government
- Their faith: Has a Doctrine or Tenet with Prevents Tribal Rulers from changing Government type · Grants the Unreformed Pagan Combat Advantage
Then
add_achievement_flag_effect = { FLAG = canute_the_greater_achievement_flag }convert_whole_realm_to_feudalism_effect = yesIf
is_male = yes
Then
- Gains the modifier “High-King of the Seas”
- Embarkation Cost -50%
- Naval Speed +25%
- Vassal Opinion +30
- Vassal Levy Contribution +50%
- Life Expectancy (years) +10
Otherwise
- Gains the modifier “High-Queen of the Seas”
- Embarkation Cost -50%
- Naval Speed +25%
- Vassal Opinion +30
- Vassal Levy Contribution +50%
- Life Expectancy (years) +10
- Gains the Nickname 'the Sea-…'
Else if
- Their faith’s religion:
is_in_family = rf_pagan
None of these
- Their faith: Has a Doctrine or Tenet with Prevents Tribal Rulers from changing Government type · Grants the Unreformed Pagan Combat Advantage
Then
If
is_male = yes
Then
- … (more in the script below)
- … (more in the script below)
- … (more in the script below)
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (120 lines of game script)
secure_high_kingdom_north_sea_scripted_effect = {
scope:founder = {
dynasty = { add_dynasty_prestige = monumental_dynasty_prestige_gain }
#Standard effects.
##Adjust the de jure capital appropriately first up, since otherwise we won't be able to see your preferred title.
hidden_effect = {
#If it's Denmark, we do nothing, as Denmark has the capital & CoA by default.
#If it's England, we make the capital London/York.
if = {
limit = { primary_title = title:k_england }
title:e_north_sea = {
set_capital_county = title:k_england.title_capital_county
}
}
#If it's Norway, we make the capital Steinkjer.
if = {
limit = { primary_title = title:k_norway }
title:e_north_sea = {
set_capital_county = title:c_trandheim.title_capital_county
}
}
}
##Hand over the High Kingdom.
create_title_and_vassal_change = {
type = created
save_scope_as = title_change
add_claim_on_loss = no
}
title:e_north_sea = {
change_title_holder = {
holder = scope:founder
change = scope:title_change
}
}
resolve_title_and_vassal_change = scope:title_change
##Configure the new de jure setup.
title:k_england = { set_de_jure_liege_title = title:e_north_sea }
title:k_denmark = { set_de_jure_liege_title = title:e_north_sea }
title:k_norway = { set_de_jure_liege_title = title:e_north_sea }
if = {
limit = {
title:k_daneland = { is_titular = no }
OR = {
has_title = title:k_daneland
completely_controls = title:k_daneland
}
}
title:k_daneland = { set_de_jure_liege_title = title:e_north_sea }
}
if = {
limit = {
title:k_frisia = { is_titular = no }
OR = {
has_title = title:k_frisia
completely_controls = title:k_frisia
}
}
title:k_frisia = { set_de_jure_liege_title = title:e_north_sea }
}
if = {
limit = {
title:d_flanders = { is_titular = no }
title:d_normandy = { is_titular = no }
OR = {
has_title = title:d_flanders
completely_controls = title:d_flanders
}
OR = {
has_title = title:d_normandy
completely_controls = title:d_normandy
}
}
custom_tooltip = secure_high_kingdom_neustria
hidden_effect = {
save_scope_as = founder
create_dynamic_title = {
tier = kingdom
name = NEUSTRIA
}
create_title_and_vassal_change = {
type = created
save_scope_as = change
add_claim_on_loss = no
}
scope:new_title = {
change_title_holder = {
holder = root
change = scope:change
}
}
resolve_title_and_vassal_change = scope:change
title:d_flanders = { set_de_jure_liege_title = scope:new_title }
title:d_normandy = { set_de_jure_liege_title = scope:new_title }
scope:new_title = {
set_de_jure_liege_title = title:e_north_sea
set_coa = title:c_guines
set_color_from_title = title:d_normandy
set_capital_county = title:d_normandy.title_capital_county
}
}
}
if = {
limit = {
title:k_brittany = { is_titular = no }
OR = {
has_title = title:k_brittany
completely_controls = title:k_brittany
}
}
title:k_brittany = { set_de_jure_liege_title = title:e_north_sea }
}
if = {
limit = {
title:k_scotland = { is_titular = no }
OR = {
has_title = title:k_scotland
completely_controls = title:k_scotland
}As written in game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt.
The first 120 of its 274 lines; the rest is in game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt from line 5.
Where it is used
Every place in common/, events/ and history/ that calls secure_high_kingdom_north_sea_scripted_effect.
Decisions (1)
Events (3)
- The High … of the North
fp1_major_decisions.0001 - The High … of the North
fp1_major_decisions.0002 - The High … of the North
fp1_major_decisions.0003
Source: game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.