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

Scripted effect · The Fate of Iberia files

create_artifact_fp2_andalusian_aquamanile_effect

create_artifact_fp2_andalusian_aquamanile_effect = { OWNER = … SMITH = … }

game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt, line 1884 (50 lines). Parameters: $OWNER$, $SMITH$.

create_artifact_fp2_andalusian_aquamanile_effect is a scripted effect in Crusader Kings III, in the The Fate of Iberia files, written at line 1884 of its file. A call passes 2 parameters: OWNER and SMITH. The game's script calls it in 1 place, among them Inspiration Realized (event fund_inspiration.1071). Patch 1.20.1.2, from game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.

What it does

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

The script as written (50 lines of game script)
create_artifact_fp2_andalusian_aquamanile_effect = {
	# Set up general scopes.
	$OWNER$ = { save_scope_as = owner }
	$SMITH$ = { save_scope_as = maker }
	# Begin creating.
	hidden_effect_new_object = {
		# Get artifact quality, wealth, and materials.
		get_artifact_quality_effect = yes
		get_artifact_wealth_effect = yes
		# Create the artifact.
		scope:owner = {
			if = {
				limit = { has_royal_court = yes }
				create_artifact_fp2_andalusian_aquamanile_core_effect = { TYPE = jug }
			}
			else = {
				create_artifact_fp2_andalusian_aquamanile_core_effect = { TYPE = miscellaneous_when_not_court }
			}
		}
		scope:newly_created_artifact = {
			# Flag this as something that can be reforged for free, if relevant.
			if = {
				limit = {
					$OWNER$ = { has_royal_court = no }
				}
				set_variable = {
					name = dlc_potential_court_artifact
					value = yes
				}
			}
			set_artifact_feature_group = goblet_material
			set_artifact_feature_group = decoration_material_inlay
			set_artifact_description = fp2_andalusian_aquamanile_desc
			# Let's add modifiers!
			## Illustrious gets to be very swanky.
			if = {
				limit = { rarity = illustrious }
				add_2_scaled_artifact_modifier_devotion_effect = yes
				add_scaled_artifact_modifier_grandeur_small_effect = yes
			}
			## Common is a bit meh.
			else_if = {
				limit = { rarity = common }
				add_scaled_artifact_modifier_devotion_effect = yes
			}
			## Everything else is decent.
			else = { add_2_scaled_artifact_modifier_devotion_effect = yes }
		}
	}
}

As written in game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.

Where it is used

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

Events (1)

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