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

burgher_found_city_republic_effect

burgher_found_city_republic_effect = { RULER = … }

game/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 1148 (21 lines). Parameters: $RULER$.

burgher_found_city_republic_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1148 of its file. A call passes 1 parameter: RULER. The game's script calls it in 2 places, among them burgher_win_self_rule_effect (scripted effect) and gdp_trade_league_proclaim_commune_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/gdp_burgher_scripted_effects.txt.

What it does

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

The script as written (21 lines of game script)
burgher_found_city_republic_effect = {
	# A burgher war frees several communes in one effect, and gdp_found_a_republic_effect only creates the duchy-tier title when this scope is unset
	clear_saved_scope = new_republic_title

	$RULER$ = {
		if = {
			limit = { is_lowborn = yes }
			create_dynasty = {
				spread_to_descendants = yes
			}
		}

		gdp_found_a_republic_effect = yes
		gdp_republic_patricians_start_at_level_2_effect = yes

		if = {
			limit = { has_variable = burgher_title }
			remove_variable = burgher_title
		}
	}
}

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

Where it is used

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

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