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_popularity_on_game_start_effect

pam_tenet_popularity_on_game_start_effect = yes

game/common/scripted_effects/pam_effects.txt, line 9105 (21 lines). No parameters.

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

The comment above it in the file

At game start we leave prohibited tenets at zero

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 (21 lines of game script)
pam_tenet_popularity_on_game_start_effect = {
	if = {
		limit = { has_pam_dlc_trigger = yes }
		religion:christianity_religion = {
			every_faith = {
				limit = { num_county_followers >= 1 }
				save_scope_as = tp_faith
				main_rite = { save_scope_as = tp_rite }
				# Any follower works as the host scope for the tenet iterator; rite_filter drives the list.
				random_faith_county = {
					limit = { exists = holder }
					holder = {
						pam_tenet_popularity_seed_status_effect = { RITE = scope:tp_rite FAITH = scope:tp_faith STATUS = core VALUE = massive_tenet_popularity_value }
						pam_tenet_popularity_seed_status_effect = { RITE = scope:tp_rite FAITH = scope:tp_faith STATUS = permitted VALUE = major_tenet_popularity_value }
						pam_tenet_popularity_seed_status_effect = { RITE = scope:tp_rite FAITH = scope:tp_faith STATUS = known VALUE = medium_tenet_popularity_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_tenet_popularity_on_game_start_effect.

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

  • on_game_start

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?