Scripted effect · Roads to Power files
purchase_land_interaction_shortened_effect
purchase_land_interaction_shortened_effect = yesgame/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 1423 (121 lines). No parameters.
purchase_land_interaction_shortened_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 1423 of its file. It takes no parameters: purchase_land_interaction_shortened_effect = yes. No file of common/, events/ or history/ calls it. Its body carries 9 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
The comment above it in the file
not used. note check consistency with purchase_land_interaction etc to make sure actor do lose gold ONCE
What it does
scope:actor:If
character:90028 ?= this
Then
- This will end your opposition to Normans and participation in the Harrying of the North!
pay_short_term_gold = { gold = scope:purchase_land_cost target = scope:recipient }
scope:actor:- Stress and fulfillment impact: by trait: Humble +20, Lazy -15
If
- Exactly 3 of the following must be true:
- Prestige level at most 3
One of these
scope:new_primary_title.culture != cultureor
Their spouse: Their culture is the same as that of new primary titleor
Their heir: Their culture is the same as that of new primary title
scope:new_primary_title.faith != faith
Then
- Due to the … people's Abysmal opinion of you:
- Gains the modifier “Ennobled Adventurer” for 30 years
- Fellow Vassal Opinion -25
- Vassal Opinion -25
- Legitimacy Gain -40%
- To lessen the above modifier's penalty, you need to have high enough Level of Fame, and either you, or your Primary Spouse, or Primary Heir, need to be of the same Culture and Faith as …
Else if
- Exactly 2 of the following must be true:
- Prestige level at most 3
One of these
scope:new_primary_title.culture != cultureor
Their spouse: Their culture is the same as that of new primary titleor
Their heir: Their culture is the same as that of new primary title
scope:new_primary_title.faith != faith
Then
- Due to the … people's Horrible opinion of you:
- Gains the modifier “Ennobled Adventurer” for 20 years
- Fellow Vassal Opinion -20
- Vassal Opinion -20
- Legitimacy Gain -30%
- To lessen the above modifier's penalty, you need to have high enough Level of Fame, and either you, or your Primary Spouse, or Primary Heir, need to be of the same Culture and Faith as …
Else if
- Exactly 1 of the following must be true:
- Prestige level at most 3
One of these
scope:new_primary_title.culture != cultureor
Their spouse: Their culture is the same as that of new primary titleor
Their heir: Their culture is the same as that of new primary title
scope:new_primary_title.faith != faith
Then
- Due to the … people's Bad opinion of you:
- Gains the modifier “Ennobled Adventurer” for 10 years
- Fellow Vassal Opinion -15
- Vassal Opinion -15
- Legitimacy Gain -25%
- To lessen the above modifier's penalty, you need to have high enough Level of Fame, and either you, or your Primary Spouse, or Primary Heir, need to be of the same Culture and Faith as …
- Exactly 3 of the following must be true:
• 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)
purchase_land_interaction_shortened_effect = {
scope:actor = {
if = {
limit = { character:90028 ?= this }
custom_tooltip = ep3_story_cycle_harrying.3053.b.tt
add_character_flag = hereward_settled_flag
}
show_as_tooltip = {
pay_short_term_gold = {
gold = scope:purchase_land_cost
target = scope:recipient
}
}
hidden_effect = {
scope:recipient = { add_gold = scope:purchase_land_cost }
}
}
scope:actor = {
stress_and_fulfillment_impact = {
humble = minor_stress_impact_gain
lazy = minor_stress_impact_loss
}
if = {
limit = {
scope:target.tier = tier_duchy
}
custom_tooltip = purchase_land_interaction_shortened_effect_duchy_desc
}
else = {
custom_tooltip = purchase_land_interaction_shortened_effect_county_desc
}
if = {
limit = {
scope:target.tier = tier_duchy
}
scope:target.title_capital_county = {
save_scope_as = new_primary_title
}
}
else = {
scope:target = {
save_scope_as = new_primary_title
}
}
if = {
limit = {
calc_true_if = {
amount = 3
prestige_level <= 3
OR = {
scope:new_primary_title.culture != culture
primary_spouse ?= {
culture != scope:new_primary_title.culture
}
primary_heir ?= {
culture != scope:new_primary_title.culture
}
}
scope:new_primary_title.faith != faith
}
}
custom_tooltip = ep3_ennobled_adventurer_modifier_reason_3
add_character_modifier = {
modifier = ep3_ennobled_adventurer_modifier_3
years = 30
}
custom_tooltip = ep3_ennobled_adventurer_modifier_rules
}
else_if = {
limit = {
calc_true_if = {
amount = 2
prestige_level <= 3
OR = {
scope:new_primary_title.culture != culture
primary_spouse ?= {
culture != scope:new_primary_title.culture
}
primary_heir ?= {
culture != scope:new_primary_title.culture
}
}
scope:new_primary_title.faith != faith
}
}
custom_tooltip = ep3_ennobled_adventurer_modifier_reason_2
add_character_modifier = {
modifier = ep3_ennobled_adventurer_modifier_2
years = 20
}
custom_tooltip = ep3_ennobled_adventurer_modifier_rules
}
else_if = {
limit = {
calc_true_if = {
amount = 1
prestige_level <= 3
OR = {
scope:new_primary_title.culture != culture
primary_spouse ?= {
culture != scope:new_primary_title.culture
}
primary_heir ?= {
culture != scope:new_primary_title.culture
}
}
scope:new_primary_title.faith != faith
}
}
custom_tooltip = ep3_ennobled_adventurer_modifier_reason_1
add_character_modifier = {
modifier = ep3_ennobled_adventurer_modifier_1
years = 10
}
custom_tooltip = ep3_ennobled_adventurer_modifier_rules
}
}As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
The first 120 of its 121 lines; the rest is in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt from line 1423.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.