Scripted effect
give_temujin_land_effect
give_temujin_land_effect = yesgame/common/scripted_effects/00_mongol_invasion_effects.txt, line 5 (25 lines). No parameters.
give_temujin_land_effect is a scripted effect in Crusader Kings III, written at line 5 of its file. It takes no parameters: give_temujin_land_effect = yes. The game's script calls it in 1 place, among them spawn_temujin_character_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_mongol_invasion_effects.txt.
The comment above it in the file
Give a suitable County to Genghis
What it does
- Their capital county:
change_county_control = 100
• 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 (25 lines of game script)
give_temujin_land_effect = {
if = {
limit = {
OR = {
is_landed = no
highest_held_title_tier < tier_county
}
}
save_scope_as = genghis_khan
create_title_and_vassal_change = {
type = conquest
save_scope_as = title_change
add_claim_on_loss = no
}
title:c_khentii = {
change_title_holder = {
holder = scope:genghis_khan
change = scope:title_change
}
}
resolve_title_and_vassal_change = scope:title_change
}
capital_county = { change_county_control = 100 }
}As written in game/common/scripted_effects/00_mongol_invasion_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls give_temujin_land_effect.
Scripted effects (1)
Source: game/common/scripted_effects/00_mongol_invasion_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.