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

contributor_great_wall_reward_effect

contributor_great_wall_reward_effect = yes

game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 150 (29 lines). No parameters.

contributor_great_wall_reward_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 150 of its file. It takes no parameters: contributor_great_wall_reward_effect = yes. The game's script calls it in 3 places, among them great_wall (great project), great_wall_extend_to_liaodong (great project) and great_wall_extend_to_shanhai_pass (great project). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.

The comment above it in the file

Rewards for contributing to upgrading the great wall

What it does

  • If

    a check the game hides

    Then

    • If government allows: merit: Merit +250
    • If government uses Influence: Influence +250
    • Otherwise: Gain +350 Prestige

• 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 (29 lines of game script)
contributor_great_wall_reward_effect = {
	if = {
		limit = {
			this != scope:owner
			is_alive = yes
		}
		send_interface_toast = {
			type = msg_great_project_reward
			left_icon = root
			right_icon = scope:owner

			if = {
				limit = {
					government_allows = merit
				}
				change_merit = monumental_merit_gain
			}
			if = {
				limit = {
					government_has_flag = government_has_influence
				}
				change_influence = monumental_influence_gain
			}
			else = {
				add_prestige = major_prestige_gain
			}
		}
	}
}

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 contributor_great_wall_reward_effect.

Great projects (3)

  • great_wall
  • great_wall_extend_to_liaodong
  • great_wall_extend_to_shanhai_pass

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?