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

Scripted effect · By God Alone files

conversion_tenet_acts_of_the_apostles_effect

conversion_tenet_acts_of_the_apostles_effect = yes

game/common/scripted_effects/pam_effects.txt, line 1366 (76 lines). No parameters.

conversion_tenet_acts_of_the_apostles_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 1366 of its file. It takes no parameters: conversion_tenet_acts_of_the_apostles_effect = yes. The game's script calls it in 7 places, among them Attempt to Convert (interaction), Compel Conversion (interaction) and Demand Conversion (interaction). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

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 (76 lines of game script)
conversion_tenet_acts_of_the_apostles_effect = {
	scope:puppet_or_actor = {
		if = {
			limit = { # Legitimacy if core to the faith
				rite = {
					rite_has_parameter = tenet_acts_of_apostles_legitimacy_from_converts
				}
				is_valid_for_legitimacy_change = yes
			}
			send_interface_toast = {
				title = conversion_tenet_acts_of_the_apostles_effect_legitimacy_tt
				left_icon = scope:puppet_or_actor
				add_legitimacy = minor_legitimacy_gain
			}
		}
		if = {
			limit = { # SP if personal tenet - converting the mighty pays more
				has_personal_tenet_flag = tenet_acts_of_apostles_fulfillment_from_converts
				scope:recipient ?= { is_landed = yes }
			}
			send_interface_toast = {
				title = conversion_tenet_acts_of_the_apostles_effect_sp_tt
				left_icon = scope:puppet_or_actor
				change_spiritual_fulfillment = major_spiritual_fulfillment_value
			}
		}
		else_if = {
			limit = {
				has_personal_tenet_flag = tenet_acts_of_apostles_fulfillment_from_converts
			}
			send_interface_toast = {
				title = conversion_tenet_acts_of_the_apostles_effect_sp_tt
				left_icon = scope:puppet_or_actor
				change_spiritual_fulfillment = minor_spiritual_fulfillment_value
			}
		}
		if = {
			limit = { # Piety if core to the faith, scaled steeply by the convert's rank
				rite = { rite_has_parameter = tenet_acts_of_apostles_piety_from_converts }
				scope:recipient ?= { highest_held_title_tier >= tier_barony }
			}
			send_interface_toast = {
				title = conversion_tenet_acts_of_the_apostles_effect_piety_tt
				left_icon = scope:puppet_or_actor
				add_piety = pam_acts_conversion_piety_value
			}
		}
	}
	if = {
		limit = {
			scope:is_puppet_action ?= yes
			scope:puppet_or_actor = {
				rite = { rite_has_parameter = tenet_acts_of_apostles_legitimacy_from_converts }
				is_valid_for_legitimacy_change = yes
			}
		}
		scope:actor = {
			send_interface_toast = {
				title = conversion_tenet_acts_of_the_apostles_effect_legitimacy_tt_puppeteer
				left_icon = scope:puppet_or_actor
			}
		}
	}
	if = {
		limit = {
			scope:is_puppet_action ?= yes
			scope:puppet_or_actor = { has_personal_tenet_flag = tenet_acts_of_apostles_fulfillment_from_converts }
		}
		scope:actor = {
			send_interface_toast = {
				title = conversion_tenet_acts_of_the_apostles_effect_sp_tt_puppeteer
				left_icon = scope:puppet_or_actor
			}
		}
	}
}

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

Where it is used

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

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