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_feudalize_purchased_tribal_land_effect

gdp_merchant_feudalize_purchased_tribal_land_effect = yes

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

gdp_merchant_feudalize_purchased_tribal_land_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 2854 of its file. It takes no parameters: gdp_merchant_feudalize_purchased_tribal_land_effect = yes. The game's script calls it in 2 places, among them Purchase Land (interaction) and purchase_land_interaction_effect (scripted effect). Its body carries 3 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

Run before the land changes hands
Noble standing buyers keep tribal holdings and inherit a tribal seller's government

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 (38 lines of game script)
gdp_merchant_feudalize_purchased_tribal_land_effect = {
	if = {
		limit = {
			scope:republic ?= yes
			any_in_list = {
				list = purchased_titles
				tier = tier_county
				any_county_province = { has_holding_type = tribal_holding }
			}
		}
		if = {
			limit = {
				scope:target.title_province ?= { has_holding_type = tribal_holding }
			}
			custom_tooltip = purchase_land_capital_becomes_city_tt
			custom_tooltip = purchase_land_other_tribal_holdings_become_castles_tt
		}
		else = {
			custom_tooltip = purchase_land_tribal_holdings_become_castles_tt
		}
		hidden_effect = {
			every_in_list = {
				list = purchased_titles
				limit = { tier = tier_county }
				every_county_province = {
					limit = { has_holding_type = tribal_holding }
					if = {
						limit = { this = scope:target.title_province }
						holding_convert_tribal_keeping_buildings_effect = { HOLDING = city_holding }
					}
					else = {
						holding_convert_tribal_keeping_buildings_effect = { HOLDING = castle_holding }
					}
				}
			}
		}
	}
}

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

Character interactions (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?