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_update_merchant_legacy_3_company_direction_effect

gdp_update_merchant_legacy_3_company_direction_effect = yes

game/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 96 (27 lines). No parameters.

gdp_update_merchant_legacy_3_company_direction_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 96 of its file. It takes no parameters: gdp_update_merchant_legacy_3_company_direction_effect = yes. The game's script calls it in 3 places, among them Cooked Books (dynasty legacy), gdp_merchant_legacy_3_company_direction_on_action (on action) and Company Direction (house unities). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_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 (27 lines of game script)
gdp_update_merchant_legacy_3_company_direction_effect = {
	remove_character_modifier = gdp_merchant_legacy_3_ennobled_modifier
	remove_character_modifier = gdp_merchant_legacy_3_rapacious_modifier

	if = {
		limit = {
			government_has_flag = government_is_merchant
			dynasty ?= { has_dynasty_perk = gdp_merchant_legacy_3 }
		}
		if = {
			limit = {
				house ?= { has_house_unity_stage = ennobled_cs }
			}
			add_character_modifier = {
				modifier = gdp_merchant_legacy_3_ennobled_modifier
			}
		}
		else_if = {
			limit = {
				house ?= { has_house_unity_stage = rapacious_cs }
			}
			add_character_modifier = {
				modifier = gdp_merchant_legacy_3_rapacious_modifier
			}
		}
	}
}

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

Where it is used

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

Dynasty legacies (1)

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

  • gdp_merchant_legacy_3_company_direction_on_action

House unities (1)

  • Company Direction

Source: game/common/scripted_effects/gdp_merchant_scripted_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?