Scripted effect · By God Alone files
pam_tenet_scholasticism_studium_effect
pam_tenet_scholasticism_studium_effect = yesgame/common/scripted_effects/pam_effects.txt, line 758 (25 lines). No parameters.
pam_tenet_scholasticism_studium_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 758 of its file. It takes no parameters: pam_tenet_scholasticism_studium_effect = yes. The game's script calls it in 1 place, among them on_travel_plan_movement (on action). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (25 lines of game script)
pam_tenet_scholasticism_studium_effect = {
save_scope_as = studium_master
current_travel_plan ?= {
random_entourage_character = {
limit = {
NOT = { this = scope:studium_master }
is_physically_able_ai_adult = yes
ep1_is_valid_character_for_inspiration_trigger = yes
}
random = {
chance = pam_scholasticism_studium_inspiration_chance_value
create_inspiration = book_inspiration
save_scope_as = pam_studium_scholar
scope:studium_master = {
send_interface_toast = {
type = event_toast_effect_good
title = pam_tenet_scholasticism_studium_toast_title
desc = pam_tenet_scholasticism_studium_toast_desc
left_icon = scope:pam_studium_scholar
}
}
}
}
}
}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_studium_effect.
On actions (the game's own hooks) (1)
- on_travel_plan_movement
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.