Scripted effect · The Royal Court files
add_scaled_artifact_modifier_minor_prestige_effect
add_scaled_artifact_modifier_minor_prestige_effect = yesgame/common/scripted_effects/00_ep1_artifact_creation_effects.txt, line 3927 (54 lines). No parameters.
add_scaled_artifact_modifier_minor_prestige_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 3927 of its file. It takes no parameters: add_scaled_artifact_modifier_minor_prestige_effect = yes. The game's script calls it in 29 places, among them Where All the World Gazes (event bp2_yearly.6070), create_poetic_life_artifact_effect (local effect) and create_artifact_animal_hide_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_ep1_artifact_creation_effects.txt.
What it does
If
rarity = common
Then
- 1 of 2 things will happen:
- 57%:
add_artifact_modifier = artifact_monthly_minor_prestige_1_modifier
- 43%:
add_artifact_modifier = artifact_monthly_minor_prestige_2_modifier
- 57%:
Else if
rarity = masterwork
Then
- 1 of 2 things will happen:
- 57%:
add_artifact_modifier = artifact_monthly_minor_prestige_3_modifier
- 43%:
add_artifact_modifier = artifact_monthly_minor_prestige_4_modifier
- 57%:
Else if
rarity = famed
Then
- 1 of 2 things will happen:
- 57%:
add_artifact_modifier = artifact_monthly_minor_prestige_5_modifier
- 43%:
add_artifact_modifier = artifact_monthly_minor_prestige_6_modifier
- 57%:
Else if
rarity = illustrious
Then
- 1 of 2 things will happen:
- 57%:
add_artifact_modifier = artifact_monthly_minor_prestige_7_modifier
- 43%:
add_artifact_modifier = artifact_monthly_minor_prestige_8_modifier
- 57%:
• 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 (54 lines of game script)
add_scaled_artifact_modifier_minor_prestige_effect = {
if = {
limit = {
rarity = common
}
random_list = {
20 = {
add_artifact_modifier = artifact_monthly_minor_prestige_1_modifier
}
15 = {
add_artifact_modifier = artifact_monthly_minor_prestige_2_modifier
}
}
}
else_if = {
limit = {
rarity = masterwork
}
random_list = {
20 = {
add_artifact_modifier = artifact_monthly_minor_prestige_3_modifier
}
15 = {
add_artifact_modifier = artifact_monthly_minor_prestige_4_modifier
}
}
}
else_if = {
limit = {
rarity = famed
}
random_list = {
20 = {
add_artifact_modifier = artifact_monthly_minor_prestige_5_modifier
}
15 = {
add_artifact_modifier = artifact_monthly_minor_prestige_6_modifier
}
}
}
else_if = {
limit = {
rarity = illustrious
}
random_list = {
20 = {
add_artifact_modifier = artifact_monthly_minor_prestige_7_modifier
}
15 = {
add_artifact_modifier = artifact_monthly_minor_prestige_8_modifier
}
}
}
}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_minor_prestige_effect.
Events (1)
- Where All the World Gazes
bp2_yearly.6070
Scripted effects inside an event file (1)
- create_poetic_life_artifact_effect
Scripted effects (27)
- create_artifact_animal_hide_effect
- create_artifact_animal_trinket_effect
- create_artifact_bird_feather_effect
- create_artifact_bowl_effect
- create_artifact_brooch_effect
- create_artifact_brooch_pedestal_effect
21 more
- create_artifact_crown_effect
- create_artifact_elixir_effect
- create_artifact_goblet_effect
- create_artifact_illustrious_sassanian_sword_effect
- create_artifact_necklace_effect
- create_artifact_necklace_pedestal_effect
- create_artifact_pedestal_human_skull_effect
- create_artifact_persian_drinking_vessel_effect
- create_artifact_plate_effect
- create_artifact_poetry_effect
- create_artifact_pressed_flower_effect
- create_artifact_regalia_effect
- create_artifact_ring_effect
- create_artifact_sassanian_sword_effect
- create_artifact_urn_effect
- create_artifact_wall_shield_effect
- create_artifact_wall_skull_effect
- create_love_artifact_poetry_effect
- hunt_animal_artifact_modifier_selection_effect
- mpo_execution_head_artifact_creation_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.