CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

add_carpet_modifier_effect

add_carpet_modifier_effect = yes

game/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

• 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)

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.

Spotted a mistake on this page?