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_merchant_reclaim_house_company_title_effect

gdp_merchant_reclaim_house_company_title_effect = yes

game/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 1156 (38 lines). No parameters.

gdp_merchant_reclaim_house_company_title_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1156 of its file. It takes no parameters: gdp_merchant_reclaim_house_company_title_effect = yes. The game's script calls it in 1 place, among them create_merchant_title_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (38 lines of game script)
gdp_merchant_reclaim_house_company_title_effect = {
	if = {
		limit = {
			house ?= {
				exists = var:gdp_merchant_house_company_title
				var:gdp_merchant_house_company_title = {
					gdp_merchant_company_title_trigger = yes
					NOT = { holder = scope:new_merchant }
				}
			}
		}
		house = {
			var:gdp_merchant_house_company_title = { save_scope_as = company_title_to_reclaim }
		}
	}
	if = {
		limit = { exists = scope:company_title_to_reclaim }
		hidden_effect = {
			create_title_and_vassal_change = {
				type = granted
				save_scope_as = merchant_company_title_change
				add_claim_on_loss = no
			}
			scope:company_title_to_reclaim = {
				change_title_holder = {
					holder = scope:new_merchant
					change = scope:merchant_company_title_change
				}
			}
			resolve_title_and_vassal_change = scope:merchant_company_title_change
		}
		scope:company_title_to_reclaim = { save_scope_as = the_new_title }
		house ?= {
			remove_variable = gdp_merchant_house_company_title
			remove_variable = gdp_merchant_company_reclaim_pending
		}
	}
}

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_merchant_reclaim_house_company_title_effect.

Scripted effects (1)

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?