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_tenet_scholasticism_yearly_effect

pam_tenet_scholasticism_yearly_effect = yes

game/common/scripted_effects/pam_effects.txt, line 699 (58 lines). No parameters.

pam_tenet_scholasticism_yearly_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 699 of its file. It takes no parameters: pam_tenet_scholasticism_yearly_effect = yes. The game's script calls it in 1 place, among them yearly_playable_pulse (on action). 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 (58 lines of game script)
pam_tenet_scholasticism_yearly_effect = {
	random = {
		chance = {
			value = 5
			if = {
				limit = {
					is_ai = no
				}
				add = 5
			}
			if = {
				limit = {
					learning >= 30
				}
				add = 2
			}
			if = {
				limit = {
					learning >= 40
				}
				add = 3
			}
			if = {
				limit = {
					piety_level >= 4
				}
				add = 2
			}
			if = {
				limit = {
					piety_level >= 5
				}
				add = 3
			}
			if = {
				limit = {
					num_of_known_languages >= 3
				}
				add = 2
			}
			if = {
				limit = {
					num_of_known_languages >= 5
				}
				add = 3
			}
		}
		send_interface_toast = {
			type = event_toast_effect_good
			title = pam_tenet_scholasticism_toast_title
			left_icon = root
			add_character_modifier = {
				modifier = tenet_scholasticism_modifier
				years = 20
			}
		}
	}
}

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

Where it is used

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

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

  • yearly_playable_pulse

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?