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

Scripted effect

relation_increase_harrying_stats_effect

relation_increase_harrying_stats_effect = { STAT = … }

game/common/scripted_effects/00_laamp_effects.txt, line 2076 (29 lines). Parameters: $STAT$.

relation_increase_harrying_stats_effect is a scripted effect in Crusader Kings III, written at line 2076 of its file. A call passes 1 parameter: STAT. The game's script calls it in 5 places, among them on_set_relation_best_friend (on action), on_set_relation_blood_brother (on action) and on_set_relation_friend (on action). Patch 1.20.1.2, from game/common/scripted_effects/00_laamp_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 (29 lines of game script)
relation_increase_harrying_stats_effect = {
	# Harrying logic.
	if = {
		limit = {
			character_is_valid_for_harrying_of_the_north_trigger = yes
			scope:target = {
				character_is_valid_for_harrying_of_the_north_trigger = yes
				is_important_or_vip_struggle_character = yes
			}
			culture != scope:target.culture
		}
		global_var:harrying_of_the_north = { save_scope_as = story }
		if = {
			limit = {
				OR = {
					AND = {
						character_is_valid_norman_for_harrying_of_the_north_trigger = yes
						scope:target = { character_is_valid_anglo_saxon_for_harrying_of_the_north_trigger = yes }
					}
					AND = {
						character_is_valid_anglo_saxon_for_harrying_of_the_north_trigger = yes
						scope:target = { character_is_valid_norman_for_harrying_of_the_north_trigger = yes }
					}
				}
			}
			ep3_increase_$STAT$_effect = { AMOUNT = harrying_miniscule_increase_value }
		}
	}
}

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

Where it is used

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

On actions (the game's own hooks) (5)

  • on_set_relation_best_friend
  • on_set_relation_blood_brother
  • on_set_relation_friend
  • on_set_relation_nemesis
  • on_set_relation_rival

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