Scripted effect · All Under Heaven files
refund_vassal_noble_families_and_make_them_nomads_effect
refund_vassal_noble_families_and_make_them_nomads_effect = yesgame/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 3955 (58 lines). No parameters.
refund_vassal_noble_families_and_make_them_nomads_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3955 of its file. It takes no parameters: refund_vassal_noble_families_and_make_them_nomads_effect = yes. The game's script calls it in 1 place, among them Return to the Steppe (decision). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
What it does
If
- Any vassal:
- Is a landless ruler
- Their culture:
has_same_culture_heritage = root.culture
- Any held title: The … is a Noble Family Title
Then
- Every vassal:
- Where:
- Is a landless ruler
- Their culture:
has_same_culture_heritage = root.culture
- Any held title: The … is a Noble Family Title
- If has a domicile:
add_gold = { … }
- Adopts Nomadic Government
- If does not have the Trait: Way of the Nomad: Gains the Trait Way of the Nomad
- Every held title:
- Where: The … is a Noble Family Title
- Their holder:
destroy_title = prev
- Where:
- Any vassal:
• 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 (58 lines of game script)
refund_vassal_noble_families_and_make_them_nomads_effect = {
if = {
limit = {
any_vassal = {
is_landless_ruler = yes
culture = {
has_same_culture_heritage = root.culture
}
any_held_title = {
is_noble_family_title = yes
}
}
}
every_vassal = {
limit = {
is_landless_ruler = yes
culture = {
has_same_culture_heritage = root.culture
}
any_held_title = {
is_noble_family_title = yes
}
}
if = {
limit = {
has_domicile = yes
}
add_gold = {
value = {
value = medium_gold_value
switch = {
trigger = domicile.num_domicile_buildings
7 = { multiply = 7 }
6 = { multiply = 6 }
5 = { multiply = 5 }
4 = { multiply = 4 }
3 = { multiply = 3 }
2 = { multiply = 2 }
}
}
}
}
change_government = nomad_government
if = {
limit = { NOT = { has_trait = nomadic_philosophy } }
add_trait = nomadic_philosophy
}
every_held_title = {
limit = {
is_noble_family_title = yes
}
holder = {
destroy_title = prev
}
}
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls refund_vassal_noble_families_and_make_them_nomads_effect.
Decisions (1)
Source: game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.