Scripted effect · The Royal Court files
grant_banner_house_claim_effect
grant_banner_house_claim_effect = yesgame/common/scripted_effects/00_ep1_artifact_effects.txt, line 291 (32 lines). No parameters.
grant_banner_house_claim_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 291 of its file. It takes no parameters: grant_banner_house_claim_effect = yes. The game's script calls it in 2 places, among them on_artifact_changed_owner (on action) and create_artifact_wall_banner_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_ep1_artifact_effects.txt.
The comment above it in the file
Grant claims on familial banners
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (32 lines of game script)
grant_banner_house_claim_effect = {
save_scope_as = familial_banner
hidden_effect = {
if = { # Dynasty banner not owned or claimed by all child house's already
limit = {
exists = var:banner_dynasty
var:banner_dynasty = {
any_dynasty_member = {
this = house.house_head
house = { artifact_house_not_owns_or_claims_trigger = yes } # House not owns or claims already
}
}
}
var:banner_dynasty = {
every_dynasty_member = {
limit = {
this = house.house_head
house = { artifact_house_not_owns_or_claims_trigger = yes } # House not owns or claims already
}
house = { add_house_artifact_claim = scope:familial_banner }
}
}
}
else_if = { # House banner not owned or claimed by creating house already
limit = {
exists = var:banner_house
var:banner_house = { artifact_house_not_owns_or_claims_trigger = yes } # House not owns or claims already
}
var:banner_house = { add_house_artifact_claim = scope:familial_banner }
}
}
}As written in game/common/scripted_effects/00_ep1_artifact_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls grant_banner_house_claim_effect.
On actions (the game's own hooks) (1)
- on_artifact_changed_owner
Scripted effects (1)
Source: game/common/scripted_effects/00_ep1_artifact_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.