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

Scripted effect · Khans of the Steppe files

mpo_heir_hastiluder_xp_gain_effect

mpo_heir_hastiluder_xp_gain_effect = yes

game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt, line 2726 (104 lines). No parameters.

mpo_heir_hastiluder_xp_gain_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 2726 of its file. It takes no parameters: mpo_heir_hastiluder_xp_gain_effect = yes. The game's script calls it in 2 places, among them Beyond the Customs (event mpo_decisions_events.0023) and The Custom of Greeting (event mpo_decisions_events.0021). Patch 1.20.1.2, from game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.

What it does

  • 1 of 4 things will happen:
    • 25% › scope:heir: Hastiluder (foot) experience +35
    • 25% › scope:heir: Hastiluder (horse) experience +35
    • 25% › scope:heir: Hastiluder (bow) experience +35
    • 25% › scope:heir: Hastiluder (wit) experience +35

• 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 (104 lines of game script)
mpo_heir_hastiluder_xp_gain_effect = {
	random_list = {
		1 = {
			trigger = {
				scope:friendship_target = {
					has_trait_xp = {
						trait = tourney_participant
						track = foot
						value >= 50
					}
				}
				scope:heir = {
					has_trait_xp = {
						trait = tourney_participant
						track = foot
						value >= 50
					}
				}
			}
			scope:heir = {
				add_trait_xp = {
					trait = tourney_participant
					track = foot
					value = 35
				}
			}
		}
		1 = {
			trigger = {
				scope:friendship_target = {
					has_trait_xp = {
						trait = tourney_participant
						track = horse
						value >= 50
					}
				}
				scope:heir = {
					has_trait_xp = {
						trait = tourney_participant
						track = horse
						value >= 50
					}
				}
			}
			scope:heir = {
				add_trait_xp = {
					trait = tourney_participant
					track = horse
					value = 35
				}
			}
		}
		1 = {
			trigger = {
				scope:friendship_target = {
					has_trait_xp = {
						trait = tourney_participant
						track = bow
						value >= 50
					}
				}
				scope:heir = {
					has_trait_xp = {
						trait = tourney_participant
						track = bow
						value >= 50
					}
				}
			}
			scope:heir = {
				add_trait_xp = {
					trait = tourney_participant
					track = bow
					value = 35
				}
			}
		}
		1 = {
			trigger = {
				scope:friendship_target = {
					has_trait_xp = {
						trait = tourney_participant
						track = wit
						value >= 50
					}
				}
				scope:heir = {
					has_trait_xp = {
						trait = tourney_participant
						track = wit
						value >= 50
					}
				}
			}
			scope:heir = {
				add_trait_xp = {
					trait = tourney_participant
					track = wit
					value = 35
				}
			}
		}
	}
}

As written in game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.

Where it is used

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

Events (2)

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