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_convert_tribal_realm_to_republic_effect

gdp_convert_tribal_realm_to_republic_effect = yes

game/common/scripted_effects/gdp_republic_effects.txt, line 865 (43 lines). No parameters.

gdp_convert_tribal_realm_to_republic_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 865 of its file. It takes no parameters: gdp_convert_tribal_realm_to_republic_effect = yes. The game's script calls it in 1 place, among them The … (event republic_event.0002). Its body carries 4 texts 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

Tribal reform into a republic: convert holdings, found the republic, then settle tribal vassals

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 (43 lines of game script)
gdp_convert_tribal_realm_to_republic_effect = {
	custom_tooltip = {
		text = gdp_tribal_capital_becomes_city_tt
	}
	custom_tooltip = {
		text = gdp_other_tribal_holdings_become_castles_tt
	}
	if = {
		limit = {
			any_vassal_or_below = {
				government_has_flag = government_is_tribal
			}
		}
		custom_tooltip = {
			text = gdp_tribal_vassals_will_feudalize_tt
		}
	}
	if = {
		limit = {
			any_sub_realm_county = {
				OR = {
					has_county_modifier = mpo_siberian_permafrost_modifier
					has_county_modifier = mpo_siberian_permafrost_modifier_bad
				}
			}
		}
		custom_tooltip = {
			text = all_permafrost_will_clear
		}
	}

	hidden_effect = {
		save_scope_as = actor
		gdp_convert_tribal_holdings_for_republic_effect = yes
	}

	gdp_found_a_republic_effect = yes

	hidden_effect = {
		gdp_feudalize_tribal_vassals_for_republic_effect = yes
		gdp_remove_tribal_authority_laws_effect = yes
	}
}

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

Where it is used

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

Events (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?