Scripted effect
add_carpet_modifier_effect
add_carpet_modifier_effect = yesgame/common/scripted_effects/00_scheme_scripted_effects.txt, line 13133 (18 lines). No parameters.
add_carpet_modifier_effect is a scripted effect in Crusader Kings III, written at line 13133 of its file. It takes no parameters: add_carpet_modifier_effect = yes. The game's script calls it in 3 places, among them Plush and Commonplace Carpet (event intrigue_scheme_ongoing.5014), Plush and Commonplace Carpet (event intrigue_scheme_ongoing.5015) and Plush and Commonplace Carpet (event yearly.4051). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.
The comment above it in the file
Adds either "Plush and Unremarkable Carpet" modifier if character is Iranian, otherwise adds "Plush and Exotic Carpet"
What it does
If
- Their culture: The Culture has the Iranian Cultural Pillar
Then
- Gains the modifier “Plush and Commonplace Carpet” for 3650 days
- Monthly Prestige +20%
- Enemy Hostile Scheme Phase Length 10 days faster per Scheme Phase
Otherwise
- Gains the modifier “Plush and Exotic Carpet” for 3650 days
- Monthly Prestige +20%
- Enemy Hostile Scheme Phase Length 10 days faster per Scheme Phase
• 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 (18 lines of game script)
add_carpet_modifier_effect = {
if = {
limit = {
has_fp3_dlc_trigger = yes
culture = { has_cultural_pillar = heritage_iranian }
}
add_character_modifier = {
modifier = persian_has_plush_carpet_modifier
days = 3650
}
}
else = {
add_character_modifier = {
modifier = has_plush_carpet_modifier
days = 3650
}
}
}As written in game/common/scripted_effects/00_scheme_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls add_carpet_modifier_effect.
Events (3)
- Plush and Commonplace Carpet
intrigue_scheme_ongoing.5014 - Plush and Commonplace Carpet
intrigue_scheme_ongoing.5015 - Plush and Commonplace Carpet
yearly.4051
Source: game/common/scripted_effects/00_scheme_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.