Unofficial fan reference · game files of Crusader Kings III 1.20.0.3 “Crozier”
CK3 Database

Major decision · Major Decisions

Establish the Darussalam

Brunei becomes a De Jure Kingdom

Our people have long been involved in the dark pagan practices. I must establish the Prophet's order and enlighten the lost sheep, guiding them back to the straight path of the Ever-Living, lest they stray again.

Requirements

The lines the game itself shows for this decision's conditions:

  • You or your Vassals hold the D BOR Santubong Title
  • You or your Vassals hold the C BOR Berau Title
Shown to a character when (is_shown) (15 lines of game script)
culture ?= {
	has_cultural_pillar = heritage_austronesian
}
religion ?= religion:islam_religion
highest_held_title_tier <= tier_duchy
capital_province ?= {
	geographical_region = custom_brunei_region
}
NOT = {
	is_target_in_global_variable_list = {
		name = unavailable_unique_decisions
		target = flag:flag_created_brunei_kingdom
	}
}
is_playable_character = yes

As written in game/common/decisions/80_major_decisions_east_asia.txt.

Can be taken when (is_valid) (36 lines of game script)
top_liege = this
is_independent_ruler = yes
highest_held_title_tier = tier_duchy
has_title = title:d_BOR_barune
custom_tooltip = {
	text = form_brunei_kingdom_decision_requirement_1_tt
	title:d_BOR_santubong = {
		this = {
			is_title_created = yes
		}
		holder = {
			OR = {
				is_vassal_or_below_of = ROOT
				this = ROOT
			}
		}
	}
}
custom_tooltip = {
	text = form_brunei_kingdom_decision_requirement_2_tt
	title:c_BOR_berau = {
		this = {
			is_title_created = yes
		}
		holder = {
			OR = {
				is_vassal_or_below_of = ROOT
				this = ROOT
			}
		}
	}
}
completely_controls = title:d_BOR_barune
completely_controls = title:d_BOR_santubong
is_landed = yes
is_available_adult = yes

As written in game/common/decisions/80_major_decisions_east_asia.txt.

Effects

The effect has no text of its own in the files; its script is below.

Effect (17 lines of game script)
show_as_tooltip = {
	form_brunei_kingdom_decision_scripted_effect = yes
}
save_scope_as = founder
trigger_event = {
	id = major_decisions.8000
}
hidden_effect = {
	add_to_global_variable_list = {
		name = unavailable_unique_decisions
		target = flag:flag_created_brunei_kingdom
	}
	set_global_variable = {
		name = flag_created_brunei_kingdom
		value = scope:founder
	}
}

As written in game/common/decisions/80_major_decisions_east_asia.txt.

Source: game/common/decisions/80_major_decisions_east_asia.txt and the English localisation, Crusader Kings III 1.20.0.3.