Scripted effect · The Royal Court files
set_up_trinket_adjective_effect
set_up_trinket_adjective_effect = yesgame/common/scripted_effects/00_ep1_artifact_effects.txt, line 260 (29 lines). No parameters.
set_up_trinket_adjective_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 260 of its file. It takes no parameters: set_up_trinket_adjective_effect = yes. The game's script calls it in 2 places, among them iberia_north_africa.2014 (event) and generate_trinket_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_ep1_artifact_effects.txt.
The comment above it in the file
For use with trinket looks / call this effect (set_up_trinket_adjective_effect = yes) in the line before creating the trinket
Use this in the trinket's name/description in the loc-file [ROOT.Char.Custom('TrinketLookAdjective')] /and/ [ROOT.Char.Custom('TrinketLookAdverbFollowup')]
Remember to clear the var:trinket_adjective_followup in your after = { ... }What it does
- 1 of 4 things will happen:
- 25%: Nothing else happens
- 25%: Nothing else happens
- 25%: Nothing else happens
- 25%: Nothing else happens
• 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 (29 lines of game script)
set_up_trinket_adjective_effect = {
random_list = {
50 = {
set_variable = {
name = trinket_adjective_followup
value = flag:adorned
}
}
50 = {
set_variable = {
name = trinket_adjective_followup
value = flag:decorated
}
}
50 = {
set_variable = {
name = trinket_adjective_followup
value = flag:embellished
}
}
50 = {
set_variable = {
name = trinket_adjective_followup
value = flag:ornamented
}
}
}
}As written in game/common/scripted_effects/00_ep1_artifact_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls set_up_trinket_adjective_effect.
Events (1)
Scripted effects (1)
Source: game/common/scripted_effects/00_ep1_artifact_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.