CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

form_brunei_kingdom_decision_scripted_effect

form_brunei_kingdom_decision_scripted_effect = yes

game/common/scripted_effects/00_major_decisions_scripted_effects.txt, line 3152 (32 lines). No parameters.

form_brunei_kingdom_decision_scripted_effect is a scripted effect in Crusader Kings III, written at line 3152 of its file. It takes no parameters: form_brunei_kingdom_decision_scripted_effect = yes. The game's script calls it in 2 places, among them Establish the Darussalam (decision) and The Abode of Peace (event major_decisions.8000). 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

  • Brunei: Gains the … Title (root)
  • Their dynasty: The dynasty gains … Renown
  • If held, … and … will become De Jure part of …
  • If held, … will become De Jure part of …
  • Unlocks the decision to form the Brunei

• 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 (32 lines of game script)
form_brunei_kingdom_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:k_brunei = {
		change_title_holder = {
			holder = root
			change = scope:title_change
		}
	}
	resolve_title_and_vassal_change = scope:title_change
	dynasty = {
		add_dynasty_prestige = massive_dynasty_prestige_gain
	}

	hidden_effect = {
		title:k_brunei = { save_scope_as = brunei_kingdom }
		title:d_BOR_barune = { save_scope_as = barune_duchy }
		title:d_BOR_santubong = { save_scope_as = santubong_duchy }
		title:c_BOR_berau = { save_scope_as = berau_county }

		title:d_BOR_barune = { set_de_jure_liege_title = title:k_brunei }
		title:d_BOR_santubong = { set_de_jure_liege_title = title:k_brunei }
		title:c_BOR_berau = { set_de_jure_liege_title = title:d_BOR_barune }
	}
	custom_tooltip = form_brunei_kingdom_decision_effects_de_jure_tt_a
	custom_tooltip = form_brunei_kingdom_decision_effects_de_jure_tt_b
	custom_tooltip = form_brunei_kingdom_decision_empire_unlock
}

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_kingdom_decision_scripted_effect.

Events (1)

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.

Spotted a mistake on this page?