Scripted effect · Khans of the Steppe files
mpo_beheaded_warrior_artifact_creation_effect
mpo_beheaded_warrior_artifact_creation_effect = yesgame/common/scripted_effects/09_dlc_mpo_scripted_effects.txt, line 1020 (322 lines). No parameters.
mpo_beheaded_warrior_artifact_creation_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 1020 of its file. It takes no parameters: mpo_beheaded_warrior_artifact_creation_effect = yes. The game's script calls it in 1 place, among them mpo_nomad_events.1001 (event). Patch 1.20.1.2, from game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.
What it does
If
- Highest held Title is at least Empire Rank
mpo_important_beheaded_warrior_trigger = yes
Then
- 1 of 6 things will happen:
Else if
Then
- 1 of 6 things will happen:
Otherwise
- 1 of 6 things will happen:
• 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)
mpo_beheaded_warrior_artifact_creation_effect = {
#Important character to an emperor - high tier artifact
if = {
limit = {
highest_held_title_tier >= tier_empire
mpo_important_beheaded_warrior_trigger = yes
}
random_list = {
2 = {
trigger = {
scope:beheaded_warrior = {
is_close_family_of = root
}
}
create_artifact = {
name = warriors_head_artifact
description = kin_head_artifact_desc
rarity = famed
type = miscellaneous
modifier = kin_head_modifier_tier_3
decaying = yes
template = mpo_severed_head_template
visuals = pocket_severed_head
creator = scope:beheaded_warrior
save_scope_as = head_artifact
}
scope:head_artifact = {
add_scaled_artifact_modifier_dynasty_prestige_effect = yes
}
}
1 = {
trigger = {
has_variable = beheaded_warrior_accolade
}
create_artifact = {
name = warriors_head_artifact
description = accolade_head_artifact_desc
rarity = famed
type = miscellaneous
modifier = accolade_head_modifier_tier_3
decaying = yes
template = mpo_severed_head_template
visuals = pocket_severed_head
creator = scope:beheaded_warrior
save_scope_as = head_artifact
}
}
1 = {
create_artifact = {
name = warriors_head_artifact
description = warriors_head_artifact_desc
rarity = famed
type = miscellaneous
modifier = warriors_head_modifier_tier_3
decaying = yes
template = mpo_severed_head_template
visuals = pocket_severed_head
creator = scope:beheaded_warrior
save_scope_as = head_artifact
}
}
1 = {
create_artifact = {
name = warriors_head_artifact
description = warriors_head_artifact_desc
rarity = famed
type = miscellaneous
modifier = warriors_head_modifier_tier_3_alt
decaying = yes
template = mpo_severed_head_template
visuals = pocket_severed_head
creator = scope:beheaded_warrior
save_scope_as = head_artifact
}
}
1 = {
create_artifact = {
name = warriors_head_artifact
description = warriors_head_artifact_desc
rarity = famed
type = miscellaneous
modifier = warriors_head_modifier_tier_3_alt_2
decaying = yes
template = mpo_severed_head_template
visuals = pocket_severed_head
creator = scope:beheaded_warrior
save_scope_as = head_artifact
}
}
1 = {
create_artifact = {
name = warriors_head_artifact
description = warriors_head_artifact_desc
rarity = famed
type = miscellaneous
modifier = warriors_head_modifier_tier_3_alt_3
decaying = yes
template = mpo_severed_head_template
visuals = pocket_severed_head
creator = scope:beheaded_warrior
save_scope_as = head_artifact
}
}
}
}
#Mid-tier character
else_if = {
limit = {
OR = {
highest_held_title_tier >= tier_empire
AND = {
highest_held_title_tier >= tier_kingdom
mpo_important_beheaded_warrior_trigger = yes
}
}
}
random_list = {
2 = {
trigger = {
scope:beheaded_warrior = {As written in game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.
The first 120 of its 322 lines; the rest is in game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt from line 1020.
Where it is used
Every place in common/, events/ and history/ that calls mpo_beheaded_warrior_artifact_creation_effect.
Events (1)
Source: game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.