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

Scripted effect · All Under Heaven files

choose_address_mandala_effect

choose_address_mandala_effect = yes

game/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 3179 (48 lines). No parameters.

choose_address_mandala_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3179 of its file. It takes no parameters: choose_address_mandala_effect = yes. The game's script calls it in 41 places, among them mandala_realm_contract_0001 (contract), mandala_realm_contract_0002 (contract) and mandala_realm_contract_0003 (contract). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.

What it does

  • 1 of 5 things will happen:
    • 20%: Nothing else happens
    • 20%: Nothing else happens
    • 20%: Nothing else happens
    • 20%: Nothing else happens
    • 20%: Nothing else happens

• 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 (48 lines of game script)
choose_address_mandala_effect = {
	random_list = {
		1 = { 
			set_variable = {
				name = loc_compliment
				value = flag:holy_compliment_almighty
			}
		}
		1 = { 
			set_variable = {
				name = loc_compliment
				value = flag:holy_compliment_most_omnipotent
			}
		}
		1 = { 
			set_variable = {
				name = loc_compliment
				value = flag:holy_compliment_divine
			}
		}
		1 = { 
			set_variable = {
				name = loc_compliment
				value = flag:holy_compliment_venerable
			} 
		}
		1 = { 
			set_variable = {
				name = loc_compliment
				value = flag:holy_compliment_reverent
			}
		}
	}
	#Error suppression
	if = {
		limit = {
			OR = {
				var:loc_desc ?= flag:mandala_provincial_ritual_desc_01
				var:loc_desc ?= flag:mandala_provincial_ritual_desc_02
				var:loc_compliment ?= flag:holy_compliment_almighty
				var:loc_compliment ?= flag:holy_compliment_most_omnipotent
				var:loc_compliment ?= flag:holy_compliment_divine
				var:loc_compliment ?= flag:holy_compliment_venerable
				var:loc_compliment ?= flag:holy_compliment_reverent
			}
		}
	}
}

As written in game/common/scripted_effects/tgp_mandala_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls choose_address_mandala_effect.

Task contracts (41)

  • mandala_realm_contract_0001
  • mandala_realm_contract_0002
  • mandala_realm_contract_0003
  • mandala_realm_contract_0004
  • mandala_realm_contract_0005
  • mandala_realm_contract_0006
35 more
  • mandala_realm_contract_0007
  • mandala_realm_contract_0008
  • mandala_realm_contract_0009
  • mandala_realm_contract_0010
  • mandala_realm_contract_0011
  • mandala_realm_contract_0012
  • mandala_realm_contract_0013
  • mandala_realm_contract_0014
  • mandala_realm_contract_0015
  • mandala_realm_contract_0016
  • mandala_realm_contract_0017
  • mandala_realm_contract_0018
  • mandala_realm_contract_0019
  • mandala_realm_contract_0020
  • mandala_realm_contract_0021
  • mandala_realm_contract_0022
  • mandala_realm_contract_0023
  • mandala_realm_contract_0024
  • mandala_realm_contract_0025
  • mandala_realm_contract_0026
  • mandala_realm_contract_0027
  • mandala_realm_contract_0028
  • mandala_realm_contract_0029
  • mandala_realm_contract_0030
  • mandala_realm_contract_0031
  • mandala_realm_contract_0032
  • mandala_realm_contract_0033
  • mandala_realm_contract_0034
  • mandala_realm_contract_0035
  • mandala_realm_contract_0036
  • mandala_realm_contract_0037
  • mandala_realm_contract_0038
  • mandala_realm_contract_0039
  • mandala_realm_contract_0040
  • mandala_realm_contract_0041

Source: game/common/scripted_effects/tgp_mandala_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?