Scripted effect · Khans of the Steppe files
mpo_target_hastiluder_xp_gain_effect
mpo_target_hastiluder_xp_gain_effect = yesgame/common/scripted_effects/09_dlc_mpo_scripted_effects.txt, line 2970 (104 lines). No parameters.
mpo_target_hastiluder_xp_gain_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 2970 of its file. It takes no parameters: mpo_target_hastiluder_xp_gain_effect = yes. The game's script calls it in 1 place, among them Visitors from … (event mpo_decisions_events.0022). 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:friendship_target: Hastiluder (foot) experience +20
- 25% › scope:friendship_target: Hastiluder (horse) experience +20
- 25% › scope:friendship_target: Hastiluder (bow) experience +20
- 25% › scope:friendship_target: Hastiluder (wit) experience +20
• 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_target_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:friendship_target = {
add_trait_xp = {
trait = tourney_participant
track = foot
value = 20
}
}
}
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:friendship_target = {
add_trait_xp = {
trait = tourney_participant
track = horse
value = 20
}
}
}
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:friendship_target = {
add_trait_xp = {
trait = tourney_participant
track = bow
value = 20
}
}
}
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:friendship_target = {
add_trait_xp = {
trait = tourney_participant
track = wit
value = 20
}
}
}
}
}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_target_hastiluder_xp_gain_effect.
Events (1)
- Visitors from …
mpo_decisions_events.0022
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.