Scripted effect · The Royal Court files
add_scaled_artifact_modifier_grandeur_small_effect
add_scaled_artifact_modifier_grandeur_small_effect = yesgame/common/scripted_effects/00_ep1_artifact_creation_effects.txt, line 4028 (22 lines). No parameters.
add_scaled_artifact_modifier_grandeur_small_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 4028 of its file. It takes no parameters: add_scaled_artifact_modifier_grandeur_small_effect = yes. The game's script calls it in 52 places, among them A Poetic Friendship (event bp1_yearly.4020), A Poetic Life: A Thousand Immortal Leaves (event tgp_japan_yearly_events.1270) and hunt.8211 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_ep1_artifact_creation_effects.txt.
What it does
If
rarity = illustrious
Then
add_artifact_modifier = artifact_court_grandeur_baseline_add_4_modifier
Else if
rarity = famed
Then
add_artifact_modifier = artifact_court_grandeur_baseline_add_3_modifier
Else if
rarity = masterwork
Then
add_artifact_modifier = artifact_court_grandeur_baseline_add_2_modifier
Otherwise
- 1 of 2 things will happen:
- 50%:
add_artifact_modifier = artifact_court_grandeur_baseline_add_1_modifier
- 50%: Nothing else happens
- 50%:
• 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 (22 lines of game script)
add_scaled_artifact_modifier_grandeur_small_effect = {
if = {
limit = { rarity = illustrious }
add_artifact_modifier = artifact_court_grandeur_baseline_add_4_modifier
}
else_if = {
limit = { rarity = famed }
add_artifact_modifier = artifact_court_grandeur_baseline_add_3_modifier
}
else_if = {
limit = { rarity = masterwork }
add_artifact_modifier = artifact_court_grandeur_baseline_add_2_modifier
}
else = {
random_list = {
10 = {
add_artifact_modifier = artifact_court_grandeur_baseline_add_1_modifier
}
10 = {}
}
}
}As written in game/common/scripted_effects/00_ep1_artifact_creation_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls add_scaled_artifact_modifier_grandeur_small_effect.
Events (5)
- A Poetic Friendship
bp1_yearly.4020 - A Poetic Life: A Thousand Immortal Leaves
tgp_japan_yearly_events.1270 - hunt.8211
- Recording a Memory
bp1_yearly.7055 - Where All the World Gazes
bp2_yearly.6070
Scripted effects inside an event file (2)
- dynasty_banner_improve_rarity_effect
- reforge_as_court_artifact_effect
Scripted effects (45)
- create_appropriate_relic_artifact_from_character_effect
- create_artifact_animal_hide_effect
- create_artifact_bowl_effect
- create_artifact_box_medium_effect
- create_artifact_box_small_effect
- create_artifact_cabinet_effect
39 more
- create_artifact_chest_effect
- create_artifact_fp2_andalusian_aquamanile_effect
- create_artifact_fp3_incense_burner_sculpture_effect
- create_artifact_goblet_effect
- create_artifact_oxus_bracelet_effect
- create_artifact_pedestal_bible_effect
- create_artifact_pedestal_branch_relic_boog_effect
- create_artifact_pedestal_branch_relic_general_effect
- create_artifact_pedestal_branch_relic_germanic_effect
- create_artifact_pedestal_branch_relic_hinduism_effect
- create_artifact_pedestal_branch_relic_slavic_effect
- create_artifact_pedestal_branch_relic_zoroastr_effect
- create_artifact_pedestal_buddhism_relic_effect_hist
- create_artifact_pedestal_christian_relic_effect_hist
- create_artifact_pedestal_cross_effect
- create_artifact_pedestal_crozier_effect
- create_artifact_pedestal_crucifix_effect
- create_artifact_pedestal_gold_effect
- create_artifact_pedestal_human_skull_effect
- create_artifact_pedestal_islamic_relic_effect_hist
- create_artifact_pedestal_religious_head_letter_effect
- create_artifact_pedestal_reliquary_buddhism_effect
- create_artifact_pedestal_reliquary_christian_effect
- create_artifact_pedestal_reliquary_islam_effect
- create_artifact_pedestal_reliquary_judaism_effect
- create_artifact_pedestal_situla_effect
- create_artifact_pedestal_thurible_effect
- create_artifact_persian_drinking_vessel_effect
- create_artifact_plate_effect
- create_artifact_sculpture_effect
- create_artifact_sculpture_religious_christian_effect
- create_artifact_sculpture_religious_effect
- create_artifact_urn_effect
- create_artifact_wall_banner_effect
- create_artifact_wall_shield_effect
- create_artifact_wall_skull_effect
- finalize_starting_relic_effect
- pam_create_saint_fingerbone_relic_effect
- tournament_contest_generate_prize_effect
Source: game/common/scripted_effects/00_ep1_artifact_creation_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.