Scripted effect · The Royal Court files
grant_stewardship_inspiration_to_character_effect
grant_stewardship_inspiration_to_character_effect = { CHARACTER = … }game/common/scripted_effects/00_ep1_inspiration_effects_sean.txt, line 188 (43 lines). Parameters: $CHARACTER$.
grant_stewardship_inspiration_to_character_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 188 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them Create Crowns & Sculptures (court task). Patch 1.20.1.2, from game/common/scripted_effects/00_ep1_inspiration_effects_sean.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (43 lines of game script)
grant_stewardship_inspiration_to_character_effect = {
$CHARACTER$ = {
if = {
limit = { NOT = { exists = inspiration } }
# More likely to get an certain Inspiration type if we will produce higher quality Artifacts of that type.
random_list = {
12 = { # Significantly increased weight due to the wide variety of artifact types this inspiration can produce (regalia, crown, trinket).
compare_modifier = {
value = smith_inspiration_average_skill_value
multiplier = 15
}
modifier = { #Some cultures are more likely to pick this vocation than others
add = 10
culture = {
OR = {
has_cultural_tradition = tradition_metal_craftsmanship
has_cultural_tradition = tradition_ancient_miners
}
}
}
create_inspiration = smith_inspiration
}
14 = { # Moderately increased weight due to the variety of artifact types this inspiration can produce (throne, sculpture).
compare_modifier = {
value = artisan_inspiration_average_skill_value
multiplier = 12
}
modifier = {
has_court_position = court_poet_court_position
add = 5
}
modifier = {
culture = { #Some cultures are more likely to pick this vocation than others
has_cultural_parameter = improved_artisan_inspiration
}
add = 15
}
create_inspiration = artisan_inspiration
}
}
}
}
}As written in game/common/scripted_effects/00_ep1_inspiration_effects_sean.txt.
Where it is used
Every place in common/, events/ and history/ that calls grant_stewardship_inspiration_to_character_effect.
Court position tasks (1)
- Create Crowns & Sculptures
Source: game/common/scripted_effects/00_ep1_inspiration_effects_sean.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.