Scripted effect · Wandering Nobles files
landless_inspector_cleanup_modifier
landless_inspector_cleanup_modifier = yesgame/common/scripted_effects/08_bp3_effects.txt, line 877 (16 lines). No parameters.
landless_inspector_cleanup_modifier is a scripted effect in Crusader Kings III, in the Wandering Nobles files, written at line 877 of its file. It takes no parameters: landless_inspector_cleanup_modifier = yes. The game's script calls it in 2 places, among them on_title_gain (on action) and on_title_lost (on action). Patch 1.20.1.2, from game/common/scripted_effects/08_bp3_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 (16 lines of game script)
landless_inspector_cleanup_modifier = {
if = {
limit = {
has_perk = mustering_the_troops_perk
}
if = {
limit = {
NOR = {
government_has_flag = government_is_nomadic
is_landless_adventurer = yes
}
}
remove_all_landless_inspector_modifiers = yes
}
}
}As written in game/common/scripted_effects/08_bp3_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls landless_inspector_cleanup_modifier.
On actions (the game's own hooks) (2)
- on_title_gain
- on_title_lost
Source: game/common/scripted_effects/08_bp3_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.