Scripted effect · Wandering Nobles files
inspection_claim_effects
inspection_claim_effects = { ACTOR = … TARGET = … TYPE = … }game/common/scripted_effects/08_bp3_effects.txt, line 54 (10 lines). Parameters: $ACTOR$, $TARGET$, $TYPE$.
inspection_claim_effects is a scripted effect in Crusader Kings III, in the Wandering Nobles files, written at line 54 of its file. A call passes 3 parameters: ACTOR, TARGET and TYPE. The game's script calls it in 1 place, among them Conclusion (event bp3_survey.0010). Patch 1.20.1.2, from game/common/scripted_effects/08_bp3_effects.txt.
What it does
If
$ACTOR$ = { … }
Then
$ACTOR$ = { add_$TYPE$_claim = $TARGET$ }
• 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 (10 lines of game script)
inspection_claim_effects = {
if = {
limit = {
$ACTOR$ = {
NOT = { has_claim_on = $TARGET$ }
}
}
$ACTOR$ = { add_$TYPE$_claim = $TARGET$ }
}
}As written in game/common/scripted_effects/08_bp3_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls inspection_claim_effects.
Events (1)
- Conclusion
bp3_survey.0010
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.