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

Scripted effect

nerge_rewards_effect

nerge_rewards_effect = yes

game/common/scripted_effects/00_hunt_effects.txt, line 4167 (102 lines). No parameters.

nerge_rewards_effect is a scripted effect in Crusader Kings III, written at line 4167 of its file. It takes no parameters: nerge_rewards_effect = yes. The game's script calls it in 1 place, among them hand_out_nerge_rewards (scripted effect). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_hunt_effects.txt.

The comment above it in the file

Nerge

What it does

  • If

    • scope:activity.var:activity_special_type_progression < 25

    Then

    • scope:host: Dread -25

    Else if

    • scope:activity.var:activity_special_type_progression < 50

    Then

    Else if

    • scope:activity.var:activity_special_type_progression < 75

    Then

    Else if

    • scope:activity.var:activity_special_type_progression < 100

    Then

    Else if

    • scope:activity.var:activity_special_type_progression >= 100

    Then

• 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 (102 lines of game script)
nerge_rewards_effect = {
	if = {
		limit = {
			scope:activity.var:activity_special_type_progression < 25
		}
		scope:host = {
			add_dread = unimpressive_nerge_dread_value
		}
	}
	else_if = {
		limit = {
			scope:activity.var:activity_special_type_progression < 50
		}
		scope:host = {
			add_dread = regular_nerge_dread_value
			add_prestige = regular_nerge_prestige_value
			add_gold = regular_nerge_gold_value
			add_legitimacy = regular_nerge_legitimacy_value
		}
		scope:activity = {
			every_attending_character = {
				custom = every_nerge_character
				limit = {
					NOT = { this = scope:host }
				}
				add_prestige = regular_nerge_guest_prestige_value
			}
		}
	}
	else_if = {
		limit = {
			scope:activity.var:activity_special_type_progression < 75
		}
		scope:host = {
			add_dread = impressive_nerge_dread_value
			add_prestige = impressive_nerge_prestige_value
			add_gold = impressive_nerge_gold_value
			add_legitimacy = impressive_nerge_legitimacy_value
		}
		scope:activity = {
			every_attending_character = {
				custom = every_nerge_character
				limit = {
					NOT = { this = scope:host }
				}
				add_prestige = impressive_nerge_guest_prestige_value
			}
		}
	}
	else_if = {
		limit = {
			scope:activity.var:activity_special_type_progression < 100
		}
		scope:host = {
			add_dread = great_nerge_dread_value
			add_prestige = great_nerge_prestige_value
			add_gold = great_nerge_gold_value
			add_legitimacy = great_nerge_legitimacy_value
		}
		scope:activity = {
			every_attending_character = {
				custom = every_nerge_character
				limit = {
					NOT = { this = scope:host }
				}
				custom_tooltip = nerge_commander_trait_tt
				add_prestige = great_nerge_guest_prestige_value
			}
		}
	}
	else_if = {
		limit = {
			scope:activity.var:activity_special_type_progression >= 100
		}
		scope:host = {
			add_dread = fantastic_nerge_dread_value
			add_prestige = fantastic_nerge_prestige_value
			add_gold = fantastic_nerge_gold_value
			add_legitimacy = fantastic_nerge_legitimacy_value
			add_martial_skill = fantastic_nerge_martial_value
			# MPO ACHIEVEMENT Shut up, Nerge
			if = {
				limit = { is_ai = no }
				add_achievement_global_variable_effect = {
					VARIABLE = mpo_shut_up_nerge_achievement_unlocked
					VALUE = yes
				}
			}
		}
		scope:activity = {
			every_attending_character = {
				custom = every_nerge_character
				limit = {
					NOT = { this = scope:host }
				}
				custom_tooltip = nerge_commander_trait_tt
				add_prestige = fantastic_nerge_guest_prestige_value
				add_martial_skill = fantastic_nerge_guest_martial_value
			}
		}
	}
}

As written in game/common/scripted_effects/00_hunt_effects.txt.

Where it is used

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

Scripted effects (1)

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