Scripted effect
unite_india_decision_effect
unite_india_decision_effect = yesgame/common/scripted_effects/00_decisions_effects.txt, line 1094 (36 lines). No parameters.
unite_india_decision_effect is a scripted effect in Crusader Kings III, written at line 1094 of its file. It takes no parameters: unite_india_decision_effect = yes. The game's script calls it in 1 place, among them A New Era (event south_asia.0001). Patch 1.20.1.2, from game/common/scripted_effects/00_decisions_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 (36 lines of game script)
unite_india_decision_effect = {
#Create the title and make it primary
create_title_and_vassal_change = {
type = created
save_scope_as = title_change
add_claim_on_loss = no
}
title:h_india = {
change_title_holder = {
holder = root
change = scope:title_change
}
set_capital_county = root.primary_title.title_capital_county
}
resolve_title_and_vassal_change = scope:title_change
set_primary_title_to = title:h_india
title:e_rajastan = { set_de_jure_liege_title = title:h_india }
title:e_deccan = { set_de_jure_liege_title = title:h_india }
title:e_bengal = { set_de_jure_liege_title = title:h_india }
hidden_effect = {
if = {
limit = { has_title = title:e_rajastan }
destroy_title = title:e_rajastan
}
if = {
limit = { has_title = title:e_deccan }
destroy_title = title:e_deccan
}
if = {
limit = { has_title = title:e_bengal }
destroy_title = title:e_bengal
}
}
}As written in game/common/scripted_effects/00_decisions_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls unite_india_decision_effect.
Events (1)
- A New Era
south_asia.0001
Source: game/common/scripted_effects/00_decisions_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.