Scripted effect
nerge_rewards_effect
nerge_rewards_effect = yesgame/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
scope:host:- Dread +10
- Gain 100–150 Prestige
- They gets +25
- Gains 10 Legitimacy
- scope:activity › Every other Character attending the Nerge: Gain +25 Prestige
Else if
scope:activity.var:activity_special_type_progression < 75
Then
scope:host:- Dread +30
- Gain 200–300 Prestige
- They gets +75
- Gains 50 Legitimacy
- scope:activity › Every other Character attending the Nerge: Gain 100–150 Prestige
Else if
scope:activity.var:activity_special_type_progression < 100
Then
scope:host:- Dread +40
- Gain 250–375 Prestige
- They gets +150
- Gains 100 Legitimacy
- scope:activity › Every other Character attending the Nerge:
- May gain a Commander Trait or Trait Experience
- Gain 125–187.5 Prestige
Else if
scope:activity.var:activity_special_type_progression >= 100
Then
scope:host:- Dread +50
- Gain 350–525 Prestige
- They gets +250
- Gains 200 Legitimacy
add_martial_skill = fantastic_nerge_martial_value
- scope:activity › Every other Character attending the Nerge:
- May gain a Commander Trait or Trait Experience
- Gain 175–262.5 Prestige
add_martial_skill = fantastic_nerge_guest_martial_value
• 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.