Scripted effect · All Under Heaven files
refund_noble_family_domicile_buildings_effect
refund_noble_family_domicile_buildings_effect = yesgame/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 3929 (25 lines). No parameters.
refund_noble_family_domicile_buildings_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3929 of its file. It takes no parameters: refund_noble_family_domicile_buildings_effect = yes. The game's script calls it in 1 place, among them Return to the Steppe (decision). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
What it does
- If has a domicile: … Domicile Buildings are exchanged for Gold
• 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)
refund_noble_family_domicile_buildings_effect = {
if = {
limit = {
has_domicile = yes
}
save_scope_as = former_noble_family_head
custom_tooltip = noble_family_domicile_buildings_converted
hidden_effect = {
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 }
}
}
}
}
}
}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_noble_family_domicile_buildings_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.