Scripted effect · The Royal Court files
add_scaled_artifact_modifier_stress_gain_effect
add_scaled_artifact_modifier_stress_gain_effect = yesgame/common/scripted_effects/00_ep1_artifact_creation_effects.txt, line 8810 (9 lines). No parameters.
add_scaled_artifact_modifier_stress_gain_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 8810 of its file. It takes no parameters: add_scaled_artifact_modifier_stress_gain_effect = yes. The game's script calls it in 4 places, among them create_artifact_animal_trinket_effect (scripted effect), create_artifact_bird_feather_effect (scripted effect) and create_artifact_fp3_ancient_drinking_vessel_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_ep1_artifact_creation_effects.txt.
What it does
- Depending on rarity:
- When rarity is :
add_artifact_modifier = artifact_stress_gain_1_modifier
- When rarity is Masterwork:
add_artifact_modifier = artifact_stress_gain_2_modifier
- When rarity is Famed:
add_artifact_modifier = artifact_stress_gain_3_modifier
- When rarity is Illustrious:
add_artifact_modifier = artifact_stress_gain_4_modifier
- When rarity is :
• 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 (9 lines of game script)
add_scaled_artifact_modifier_stress_gain_effect = {
switch = {
trigger = rarity
common = { add_artifact_modifier = artifact_stress_gain_1_modifier }
masterwork = { add_artifact_modifier = artifact_stress_gain_2_modifier }
famed = { add_artifact_modifier = artifact_stress_gain_3_modifier }
illustrious = { add_artifact_modifier = artifact_stress_gain_4_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_stress_gain_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.