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

convert_to_feudalism_from_republic_effect

convert_to_feudalism_from_republic_effect = yes

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

convert_to_feudalism_from_republic_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 3927 of its file. It takes no parameters: convert_to_feudalism_from_republic_effect = yes. The game's script calls it in 1 place, among them Adopt … Ways (decision). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/gdp_republic_effects.txt.

The comment above it in the file

Effect for converting to feudal from republic

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)
convert_to_feudalism_from_republic_effect = {
	# Change government
	if = {
		limit = { ep3_is_clan_inclined_trigger = yes }
		change_government = clan_government

		every_vassal = {
			limit = {
				primary_title.tier >= tier_county
				is_landed = yes
				NOR = {
					government_has_flag = government_is_clan
					government_has_flag = government_is_theocracy
				}
			}
			hidden_effect = { change_government = clan_government }
		}
	}
	else = {
		change_government = feudal_government

		every_vassal = {
			limit = {
				primary_title.tier >= tier_county
				is_landed = yes
				NOR = {
					government_has_flag = government_is_feudal
					government_has_flag = government_is_theocracy
				}
			}
			hidden_effect = { change_government = feudal_government }
		}
	}
	
	# Turn patricians into merchants
	if = {
		limit = {
			any_vassal = {
				government_has_flag = government_is_republic
				is_landed = no
				NOT = { has_character_flag = government_republic_conversion_protection }
				any_held_title = { is_noble_family_title = yes }
			}
		}
		save_scope_as = destroyer
		custom_tooltip = {
			text = patricians_becomes_merchants_desc
			every_vassal = {
				limit = {
					government_has_flag = government_is_republic
					is_landed = no
					NOT = { has_character_flag = government_republic_conversion_protection }
					any_held_title = { is_noble_family_title = yes }
				}
				# Create Merchant
				set_variable = {
					name = republic_destroyer
					value = scope:destroyer
					weeks = 1
				}
				gdp_destroyed_republic_patrician_effect = { DESTROYER = scope:destroyer }
			}
		}
	}
}

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

Where it is used

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

Decisions (1)

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?