Scripted effect
journey_knowledge_hoarding_skill_effect
journey_knowledge_hoarding_skill_effect = { VALUE = … }game/common/scripted_effects/00_journey_effects.txt, line 2 (81 lines). Parameters: $VALUE$.
journey_knowledge_hoarding_skill_effect is a scripted effect in Crusader Kings III, written at line 2 of its file. A call passes 1 parameter: VALUE. The game's script calls it in 18 places, among them apa_scribe_makes_notes (activity pulse), apa_strange_markings (activity pulse) and apa_vista_of_monument (activity pulse). Its body carries 9 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_journey_effects.txt.
What it does
scope:activity:
• 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 (81 lines of game script)
journey_knowledge_hoarding_skill_effect = {
scope:activity = {
if = {
limit = { has_variable = skill_chance }
change_variable = {
name = skill_chance
add = $VALUE$
}
}
else = {
set_variable = {
name = skill_chance
value = $VALUE$
}
}
if = {
limit = {
$VALUE$ == 25
}
custom_tooltip = increase_skill_chance_25
}
if = {
limit = {
$VALUE$ == 20
}
custom_tooltip = increase_skill_chance_20
}
else_if = {
limit = {
$VALUE$ == 15
}
custom_tooltip = increase_skill_chance_15
}
else_if = {
limit = {
$VALUE$ == 10
}
custom_tooltip = increase_skill_chance_10
}
else_if = {
limit = {
$VALUE$ == 5
}
custom_tooltip = increase_skill_chance_5
}
else_if = {
limit = {
$VALUE$ == 30
}
custom_tooltip = increase_skill_chance_30
}
else_if = {
limit = {
$VALUE$ == 35
}
custom_tooltip = increase_skill_chance_35
}
else_if = {
limit = {
$VALUE$ == 50
}
custom_tooltip = increase_skill_chance_50
}
else_if = {
limit = {
$VALUE$ == 2
}
custom_tooltip = increase_skill_chance_2
}
if = {
limit = {
has_variable = skill_chance
var:skill_chance > 100
}
set_variable = {
name = skill_chance
value = 100
}
}
}
}As written in game/common/scripted_effects/00_journey_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls journey_knowledge_hoarding_skill_effect.
Activity pulse actions (3)
- apa_scribe_makes_notes
- apa_strange_markings
- apa_vista_of_monument
Events (15)
- … Drills
bp3_journey.1700 - A … Specialty
bp3_journey.2100 - A Name, Eternal
bp3_journey.1100 - Architectural Peddling
bp3_journey.1000 - bp3_journey.2300
- City of Cats
bp3_journey.1600
9 more
- Hawking Meat
bp3_journey.1400 - Hike: On the Road Again
travel_start_event.1090 - Learned Locals
bp3_journey.1500 - Poor …
bp3_journey.1900 - Shave and a Haircut
bp3_journey.1200 - Songs of ……
bp3_journey.1300 - The … of …
bp3_journey.2200 - The Sights of …
bp3_journey.0015 - Trust Me
bp3_journey.1800
Source: game/common/scripted_effects/00_journey_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.