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

Scripted effect · Silk and Silver files

gdp_clear_league_focused_category_modifiers_effect

gdp_clear_league_focused_category_modifiers_effect = yes

game/common/scripted_effects/gdp_republic_effects.txt, line 3283 (65 lines). No parameters.

gdp_clear_league_focused_category_modifiers_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 3283 of its file. It takes no parameters: gdp_clear_league_focused_category_modifiers_effect = yes. The game's script calls it in 3 places, among them gdp_league_focus_on_title_lost (on action), gdp_apply_league_focused_category_modifier_effect (scripted effect) and trade_league (confederation types). Patch 1.21.0, from game/common/scripted_effects/gdp_republic_effects.txt.

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 (65 lines of game script)
gdp_clear_league_focused_category_modifiers_effect = {
	switch = {
		trigger = has_character_modifier
		league_focused_category_alcohol_modifier = {
			remove_character_modifier = league_focused_category_alcohol_modifier
		}
		league_focused_category_comforts_modifier = {
			remove_character_modifier = league_focused_category_comforts_modifier
		}
		league_focused_category_cereals_modifier = {
			remove_character_modifier = league_focused_category_cereals_modifier
		}
		league_focused_category_meat_modifier = {
			remove_character_modifier = league_focused_category_meat_modifier
		}
		league_focused_category_beasts_of_burden_modifier = {
			remove_character_modifier = league_focused_category_beasts_of_burden_modifier
		}
		league_focused_category_salt_modifier = {
			remove_character_modifier = league_focused_category_salt_modifier
		}
		league_focused_category_clothes_modifier = {
			remove_character_modifier = league_focused_category_clothes_modifier
		}
		league_focused_category_fabrics_modifier = {
			remove_character_modifier = league_focused_category_fabrics_modifier
		}
		league_focused_category_dyes_modifier = {
			remove_character_modifier = league_focused_category_dyes_modifier
		}
		league_focused_category_alum_modifier = {
			remove_character_modifier = league_focused_category_alum_modifier
		}
		league_focused_category_stone_modifier = {
			remove_character_modifier = league_focused_category_stone_modifier
		}
		league_focused_category_carpentry_supplies_modifier = {
			remove_character_modifier = league_focused_category_carpentry_supplies_modifier
		}
		league_focused_category_base_metals_modifier = {
			remove_character_modifier = league_focused_category_base_metals_modifier
		}
		league_focused_category_luxury_items_modifier = {
			remove_character_modifier = league_focused_category_luxury_items_modifier
		}
		league_focused_category_jewelry_materials_modifier = {
			remove_character_modifier = league_focused_category_jewelry_materials_modifier
		}
		league_focused_category_precious_metals_modifier = {
			remove_character_modifier = league_focused_category_precious_metals_modifier
		}
		league_focused_category_medicaments_modifier = {
			remove_character_modifier = league_focused_category_medicaments_modifier
		}
		league_focused_category_incense_modifier = {
			remove_character_modifier = league_focused_category_incense_modifier
		}
		league_focused_category_luxury_consumption_modifier = {
			remove_character_modifier = league_focused_category_luxury_consumption_modifier
		}
		league_focused_category_books_modifier = {
			remove_character_modifier = league_focused_category_books_modifier
		}
	}
}

As written in game/common/scripted_effects/gdp_republic_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls gdp_clear_league_focused_category_modifiers_effect.

On actions (the game's own hooks) (1)

  • gdp_league_focus_on_title_lost

Confederation types (1)

  • trade_league

Source: game/common/scripted_effects/gdp_republic_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.

Spotted a mistake on this page, or have an idea for the site?