Scripted effect
create_rum_scripted_effect
create_rum_scripted_effect = yesgame/common/scripted_effects/00_major_decisions_scripted_effects.txt, line 1864 (64 lines). No parameters.
create_rum_scripted_effect is a scripted effect in Crusader Kings III, written at line 1864 of its file. It takes no parameters: create_rum_scripted_effect = yes. The game's script calls it in 2 places, among them Form the Sultanate of Rum (decision) and A New Rome (event middle_east_decisions.0014). Patch 1.20.1.2, from game/common/scripted_effects/00_major_decisions_scripted_effects.txt.
What it does
- Gain +150 Prestige
- If an Independent Ruler:
change_liege_or_become_independent = { CHANGE = scope:change VASSAL = this }
- Rum:
- Gains the … Title (root)
set_can_be_named_after_dynasty = noset_can_use_nomadic_naming = no
If
a check the game hides
Then
scope:former_liege:- Gain -350 Prestige
add_unpressed_claim = title:k_rum- Opinion: Pretender
• 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 (64 lines of game script)
create_rum_scripted_effect = {
add_prestige = medium_prestige_gain
#If under a liege, make independent.
if = {
limit = {
top_liege != this
}
if = {
limit = {
NOT = {
exists = scope:former_liege
}
}
liege = {
save_scope_as = former_liege
}
}
create_title_and_vassal_change = {
type = independency
save_scope_as = change
add_claim_on_loss = no
}
change_liege_or_become_independent = {
CHANGE = scope:change
VASSAL = this
}
hidden_effect = {
add_truce_both_ways = {
character = scope:former_liege
days = 1825
name = TRUCE_GRANT_INDEPENDENCE_ROOT
}
}
resolve_title_and_vassal_change = scope:change
}
create_title_and_vassal_change = {
type = created
save_scope_as = new_rum
add_claim_on_loss = no
}
title:k_rum = {
change_title_holder = {
holder = root
change = scope:new_rum
}
set_can_be_named_after_dynasty = no
set_can_use_nomadic_naming = no
}
resolve_title_and_vassal_change = scope:new_rum
if = {
limit = {
exists = scope:former_liege
}
scope:former_liege = {
add_prestige = major_prestige_loss
add_unpressed_claim = title:k_rum #Give chance to retaliate
add_opinion = {
target = root
modifier = pretender_opinion
}
}
}
hidden_effect = { set_primary_title_to = title:k_rum }
}As written in game/common/scripted_effects/00_major_decisions_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls create_rum_scripted_effect.
Decisions (1)
Events (1)
- A New Rome
middle_east_decisions.0014
Source: game/common/scripted_effects/00_major_decisions_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.