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_move_company_invalidate_trade_effect

gdp_move_company_invalidate_trade_effect = yes

game/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 5308 (18 lines). No parameters.

gdp_move_company_invalidate_trade_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 5308 of its file. It takes no parameters: gdp_move_company_invalidate_trade_effect = yes. The game's script calls it in 4 places, among them Capital Uprising: A New City, A New Life (event gdp_republic_unrest.0306), gdp_decision.3000 (event) and gdp_move_company_departure_effect (scripted effect). Its body carries 2 texts of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.

The comment above it in the file

Scripted move_domicile does not fire domicile on_move_start.

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)
gdp_move_company_invalidate_trade_effect = {
	custom_tooltip = {
		text = move_company_interaction.route_alert
		every_trade_route = { destroy_trade_route = yes }
	}
	custom_tooltip = {
		text = move_company_interaction.opportunity_alert
		every_character_task_contract = {
			limit = {
				OR = {
					has_task_contract_group = merchant_trade_opportunity_group
					has_task_contract_group = merchant_patron_contract_group
				}
			}
			invalidate_contract = yes
		}
	}
}

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

Domiciles (1)

  • merchant_company

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?