Scripted effect
form_brunei_empire_decision_scripted_effect
form_brunei_empire_decision_scripted_effect = yesgame/common/scripted_effects/00_major_decisions_scripted_effects.txt, line 3185 (36 lines). No parameters.
form_brunei_empire_decision_scripted_effect is a scripted effect in Crusader Kings III, written at line 3185 of its file. It takes no parameters: form_brunei_empire_decision_scripted_effect = yes. The game's script calls it in 2 places, among them Found the Empire of Brunei (decision) and The Emperor's Gift of Accession (event major_decisions.9000). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_major_decisions_scripted_effects.txt.
What it does
• 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 (36 lines of game script)
form_brunei_empire_decision_scripted_effect = {
save_scope_as = founder
create_title_and_vassal_change = {
type = created
save_scope_as = title_change
add_claim_on_loss = no
}
title:e_brunei = {
change_title_holder = {
holder = root
change = scope:title_change
}
}
resolve_title_and_vassal_change = scope:title_change
dynasty = {
add_dynasty_prestige = monumental_dynasty_prestige_gain
}
give_nickname = nick_the_pious
hidden_effect = {
title:e_brunei = { save_scope_as = brunei_empire }
title:k_brunei = { save_scope_as = brunei_kingdom }
title:k_tanjungnagara = { save_scope_as = tanjungnagara_kingdom }
title:d_PHI_sandao = { save_scope_as = sandao_duchy }
title:d_BOR_barune = { save_scope_as = barune_duchy }
title:c_PHI_sulu = { save_scope_as = sulu_county }
title:k_brunei = { set_de_jure_liege_title = title:e_brunei }
title:k_tanjungnagara = { set_de_jure_liege_title = title:e_brunei }
title:d_PHI_sandao = { set_de_jure_liege_title = title:k_brunei }
title:c_PHI_sulu = { set_de_jure_liege_title = title:d_BOR_barune }
}
custom_tooltip = form_brunei_empire_decision_effects_de_jure_tt_a
custom_tooltip = form_brunei_empire_decision_effects_de_jure_tt_b
custom_tooltip = form_brunei_empire_decision_effects_de_jure_tt_c
}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 form_brunei_empire_decision_scripted_effect.
Decisions (1)
Events (1)
- The Emperor's Gift of Accession
major_decisions.9000
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.