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

pam_miles_christi_fulfillment_from_combat_effect

pam_miles_christi_fulfillment_from_combat_effect = yes

game/common/scripted_effects/pam_effects.txt, line 318 (12 lines). No parameters.

pam_miles_christi_fulfillment_from_combat_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 318 of its file. It takes no parameters: pam_miles_christi_fulfillment_from_combat_effect = yes. The game's script calls it in 2 places, among them on_combat_end_winner (on action) and on_siege_completion (on action). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

The comment above it in the file

Both on_combat_end_loser and on_combat_end_winner fire this

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 (12 lines of game script)
pam_miles_christi_fulfillment_from_combat_effect = {
	if = {
		limit = {
			rite = { rite_has_parameter = tenet_miles_christi_combat_fulfillment }
		}
		send_interface_toast = {
			title = successful_battles_and_sieges_give_sp_toast
			left_icon = root
			change_spiritual_fulfillment = minor_spiritual_fulfillment_value
		}
	}
}

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

Where it is used

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

On actions (the game's own hooks) (2)

  • on_combat_end_winner
  • on_siege_completion

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?