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

japanese_establish_soryo_administration_reward_effect

japanese_establish_soryo_administration_reward_effect = yes

game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt, line 3703 (27 lines). No parameters.

japanese_establish_soryo_administration_reward_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3703 of its file. It takes no parameters: japanese_establish_soryo_administration_reward_effect = yes. The game's script calls it in 6 places, among them Establish Sōryō Administration (decision), Establish Sōryō Administration (casus belli) and Establish Sōryō Administration: … Dominance (event tgp_japan_decision.9606). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_japan_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 (27 lines of game script)
japanese_establish_soryo_administration_reward_effect = {
	save_temporary_scope_as = winner_temp
	scope:winner_temp = {
		if = {
			limit = {
				NOT = { has_government = japan_feudal_government }
			}
			change_government = japan_feudal_government
		}
		if = {
			limit = {
				NOT = { has_realm_law = japanese_bureaucracy_0 }
			}
			add_realm_law = japanese_bureaucracy_0
		}
		house.house_confederation ?= {
			custom_tooltip = {
				text = japanese_establish_soryo_administration_vassal_government_tt
				every_confederation_member = {
					limit = { has_government = japan_administrative_government }
					change_government = japan_feudal_government
				}
			}
		}
		custom_tooltip = japanese_establish_soryo_administration_imprison_tt
	}
}

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

Where it is used

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

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