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

change_province_industrial_effect

change_province_industrial_effect = yes

game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 720 (20 lines). No parameters.

change_province_industrial_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 720 of its file. It takes no parameters: change_province_industrial_effect = yes. The game's script calls it in 2 places, among them grant_movement_petition_effect (scripted effect) and grant_movement_petition_tooltip_effect (scripted effect). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.

What it does

  • If

    a check the game hides

    Then

    Otherwise

    • scope:province_change_recipient:
      • vassal_contract_set_obligation_level = { type = celestial_provinces level = 1 }

• 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 (20 lines of game script)
change_province_industrial_effect = {
	if = {
		limit = {
			NOT = { exists = scope:province_change_recipient }
		}
		custom_tooltip = change_province_industrial_effect.no_scope
	}
	else = {
		scope:province_change_recipient = {
			vassal_contract_set_obligation_level = {
				type = celestial_provinces
				level = 1
			}
			hidden_effect = {
				set_vassal_contract_modification_blocked = yes
				add_realm_law_skip_effects = celestial_appointment_succession_law
			}
		}
	}
}

As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.

Where it is used

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

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