Scripted effect · Friends and Foes files
add_camphor_effect
add_camphor_effect = yesgame/common/scripted_effects/00_bp1_artifact_creation_effects.txt, line 143 (13 lines). No parameters.
add_camphor_effect is a scripted effect in Crusader Kings III, in the Friends and Foes files, written at line 143 of its file. It takes no parameters: add_camphor_effect = yes. The game's script calls it in 1 place, among them An Odd Smell: Alluring Aroma (event bp1_yearly.5805). Patch 1.20.1.2, from game/common/scripted_effects/00_bp1_artifact_creation_effects.txt.
What it does
- 1 of 2 things will happen:
- 50%:
add_artifact_modifier = artifact_courtly_vassal_opinion_2_modifier
- 50%:
add_artifact_modifier = artifact_courtly_vassal_opinion_3_modifier
- 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 (13 lines of game script)
add_camphor_effect = {
random_list = {
pick = 1
unique = yes
1 = {
add_artifact_modifier = artifact_courtly_vassal_opinion_2_modifier
}
1 = {
add_artifact_modifier = artifact_courtly_vassal_opinion_3_modifier
}
}
}As written in game/common/scripted_effects/00_bp1_artifact_creation_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls add_camphor_effect.
Events (1)
- An Odd Smell: Alluring Aroma
bp1_yearly.5805
Source: game/common/scripted_effects/00_bp1_artifact_creation_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.