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

imperial_examination_disburse_activity_host_rewards

imperial_examination_disburse_activity_host_rewards = yes

game/common/scripted_effects/tgp_imperial_examination_scripted_effects.txt, line 69 (85 lines). No parameters.

imperial_examination_disburse_activity_host_rewards is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 69 of its file. It takes no parameters: imperial_examination_disburse_activity_host_rewards = yes. The game's script calls it in 2 places, among them Capital Examination (activity) and Releasing the Roll (event imperial_examination.7000). Patch 1.20.1.2, from game/common/scripted_effects/tgp_imperial_examination_scripted_effects.txt.

The comment above it in the file

Rewards

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 (85 lines of game script)
imperial_examination_disburse_activity_host_rewards = {
	involved_activity = {
		add_activity_log_entry = {
			key = imperial_examination_host_rewards
			score = 100
			tags = { completed }
			show_in_conclusion = yes
			character = scope:host
			location = scope:host.location

			scope:host = {
				#Legend spread
				if = {
					limit = {
						has_dlc_feature = legends
						exists = promoted_legend
						#Lots of entrants
						scope:activity = { activity_has_imperial_exams_trigger = yes }
					}
					promoted_legend ?= {
						change_legend_quality_effect = { VALUE = medium_legend_quality_increase }
					}
				}

				#Influence based on your... setup
				change_influence = {
					value = imperial_examination_influence_base_reward_value
					#Lots of entrants
					if = {
						limit = { scope:activity = { activity_has_imperial_exams_trigger = yes } }
						multiply = 4
					}
					#Smaller amount of entrants
					else_if = {
						limit = { scope:activity = { activity_has_grand_exams_trigger = yes } }
						multiply = 2
					}
				}

				#Legitimacy
				add_legitimacy = {
					value = imperial_examination_legitimacy_base_reward_value
					#Extreme Grade
					if = {
						limit = { scope:activity = { activity_has_extreme_grade_trigger = yes } }
						multiply = 2
					}
					#High Grade is the default, as it were, so no post for that case
					#Mediocre Grade
					else_if = {
						limit = { scope:activity = { activity_has_mediocre_grade_trigger = yes } }
						multiply = 0.8
					}
					#Low Grade
					else = {
						limit = { scope:activity = { activity_has_low_grade_trigger = yes } }
						multiply = 0.5
					}
				}

				#Prestige
				add_prestige = {
					value = imperial_examination_prestige_base_reward_value
					#Extreme Grade
					if = {
						limit = { scope:activity = { activity_has_extreme_grade_trigger = yes } }
						multiply = 4
					}
					#High Grade
					else_if = {
						limit = { scope:activity = { activity_has_high_grade_trigger = yes } }
						multiply = 2
					}
					#Mediocre Grade 
					#Low Grade
					else = {
						limit = { scope:activity = { activity_has_low_grade_trigger = yes } }
						multiply = 0.8
					}
				}
			}
		}
	}
	pam_vows_of_poverty_host_completion_piety_effect = yes
}

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

Where it is used

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

Activities (1)

Events (1)

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