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_philanthropia_ransom_payer_effect

pam_philanthropia_ransom_payer_effect = yes

game/common/scripted_effects/pam_effects.txt, line 458 (17 lines). No parameters.

pam_philanthropia_ransom_payer_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 458 of its file. It takes no parameters: pam_philanthropia_ransom_payer_effect = yes. The game's script calls it in 1 place, among them ransom_interaction_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

The comment above it in the file

Only rewards paying for someone else's freedom in gold; self-ransoms and favour settlements do not count.

What it does

  • scope:payer:
    • If

      • The Personal Tenets unlock tenet philanthropia ransom captives
      • Philanthropia ransom gold more than 0

      Then

      • Gain … Piety
      • Spiritual fulfillment changes

• 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 (17 lines of game script)
pam_philanthropia_ransom_payer_effect = {
	scope:payer = {
		if = {
			limit = {
				has_personal_tenet_flag = tenet_philanthropia_ransom_captives
				this != scope:prisoner
				pam_philanthropia_ransom_gold_value > 0
			}
			send_interface_toast = {
				title = pam_philanthropia_ransom_toast
				left_icon = scope:prisoner
				add_piety = pam_philanthropia_ransom_piety_value
				change_spiritual_fulfillment = pam_philanthropia_ransom_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_philanthropia_ransom_payer_effect.

Scripted effects (1)

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?