CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

create_artifact_badge_rome_effect

create_artifact_badge_rome_effect = { ACQUIRER = … }

game/common/scripted_effects/00_artifact_badge_scripted_effects.txt, line 84 (30 lines). Parameters: $ACQUIRER$.

create_artifact_badge_rome_effect is a scripted effect in Crusader Kings III, written at line 84 of its file. A call passes 1 parameter: ACQUIRER. The game's script calls it in 2 places, among them create_artifact_badge_effect (scripted effect) and generate_artifact_badge_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_artifact_badge_scripted_effects.txt.

The comment above it in the file

Rome

What it does

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

The script as written (30 lines of game script)
create_artifact_badge_rome_effect = {
	$ACQUIRER$ = { save_scope_as = badge_acquirer }
	if = {
		limit = {
			NOT = { exists = scope:badge_location }
		}
		title:b_vaticano.title_province = { save_scope_as = badge_location }
	}
	set_artifact_rarity_masterwork = yes
	hidden_effect_new_object = {
		scope:badge_acquirer = {
			create_artifact = {
				name = rome_badge_name
				description = rome_badge_description
				type = badge
				template = pilgrim_badge_template
				visuals = rome_badge
				rarity = illustrious
				modifier = artifact_monthly_piety_gain_mult_2_modifier
				modifier = artifact_monthly_piety_from_buildings_mult_2_modifier
				modifier = artifact_zealot_tax_contribution_mult_3_modifier
				wealth = scope:wealth
				quality = scope:quality
				save_scope_as = newly_created_artifact
				generate_history = no
			}
		}
	}
	setup_unique_pilgrim_badge_vars_effect = { HOLY_SITE = rome }
}

As written in game/common/scripted_effects/00_artifact_badge_scripted_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/00_artifact_badge_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?