Scripted effect · Tours and Tournaments files
increase_tour_success_effect
increase_tour_success_effect = { POINTS = … }game/common/scripted_effects/04_dlc_ep2_tour_effects.txt, line 408 (44 lines). Parameters: $POINTS$.
increase_tour_success_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 408 of its file. A call passes 1 parameter: POINTS. The game's script calls it in 97 places, among them church_tax (activity pulse), increased_control (activity pulse) and levied_tax (activity pulse). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tour_effects.txt.
What it does
If
scope:activity:has_activity_option = { category = special_type option = tour_type_majesty }
Then
- Your Grand Tour becomes more majestic
Else if
scope:activity:has_activity_option = { category = special_type option = tour_type_taxation }
Then
- Your Grand Tour becomes more avaricious
Else if
scope:activity:has_activity_option = { category = special_type option = tour_type_intimidation }
Then
- Your Grand Tour becomes more intimidating
• 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 (44 lines of game script)
increase_tour_success_effect = {
if = {
limit = {
scope:activity = {
has_activity_option = {
category = special_type
option = tour_type_majesty
}
}
}
custom_tooltip = tour_becomes_more_majestic_tt
}
else_if = {
limit = {
scope:activity = {
has_activity_option = {
category = special_type
option = tour_type_taxation
}
}
}
custom_tooltip = tour_becomes_more_avaricious_tt
}
else_if = {
limit = {
scope:activity = {
has_activity_option = {
category = special_type
option = tour_type_intimidation
}
}
}
custom_tooltip = tour_becomes_more_intimidating_tt
}
scope:activity = {
change_variable = {
name = tour_success_var
add = {
value = $POINTS$
multiply = 5
}
}
}
}As written in game/common/scripted_effects/04_dlc_ep2_tour_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls increase_tour_success_effect.
Activity pulse actions (9)
- church_tax
- increased_control
- levied_tax
- liege_intimidated_courtier
- liege_local_benevolence
- liege_local_tax
3 more
- local_baron_tax
- local_mayor_tax
- tax_rich_local
Events (82)
- … Pie
host_dinner_events.3041 - …: The Loyal Steed
tour_grounds_events.1011 - …: the Villain of …
host_dinner_events.1081 - …'s Finest
tour_grounds_events.3060 - 'Tis the Season
cultural_festival.2020 - A Blade
cultural_festival.9003
76 more
- A Cake to Remember
host_dinner_events.1021 - A Cake to Remember
host_dinner_events.1022 - A Calming Performance
cultural_festival.3050 - A Capital Artifact
cultural_festival.2060 - A Chance to Perform
tour_grounds_events.6300 - A Choke!
host_dinner_events.3080 - A Farmer's Pride
tour_grounds_events.3090 - A Game of Chance
cultural_festival.2070 - A Ghastly Awakening
host_dinner_events.1004 - A Gift Fit for a …
host_dinner_events.3120 - A Life Saved
host_dinner_events.3081 - A Little Snooping
host_dinner_events.3008 - A Local Delicacy
host_dinner_events.3003 - A Memorable Performance
host_dinner_events.1008 - A Moment in the Wilds
tour_grounds_events.1005 - A Moment of Silence
tour_grounds_events.3070 - A Pint or Two
host_dinner_events.1002 - A Protégé
host_dinner_events.3030 - A Question of Honor
host_dinner_events.3150 - A Quiet Day
tour_grounds_events.3100 - A Riding Incident
tour_grounds_events.3008 - A Roughing Up
tour_grounds_events.3050 - A Shameful Item
cultural_festival.9006 - A Talented Wanderer
host_dinner_events.3110 - A Tithe
cultural_festival.9004 - An Early Pledge
host_dinner_events.3004 - An Interesting Proposition
host_dinner_events.3001 - An Unfamiliar Taste
host_dinner_events.3010 - An Unreliable Steed
tour_grounds_events.3010 - An Unwelcome Guest
host_dinner_events.1032 - Attempted Murder
host_dinner_events.1092 - Attempted Murder
host_dinner_events.1093 - Bountiful Harvest
tour_grounds_events.6200 - Courtly Exchange
host_dinner_events.1071 - Cultural Taxation
cultural_festival.2030 - Disloyal Subjects
tour_grounds_events.3040 - Dreams of a Better Life
host_dinner_events.3006 - Ghost Stories
tour_grounds_events.1009 - Hearty Appetite
host_dinner_events.1061 - Hunting Prowess
tour_grounds_events.3002 - In Line!
cultural_festival.2090 - Inappetetic
host_dinner_events.3050 - May I...?
cultural_festival.3060 - My Highness
host_dinner_events.1010 - On the Wrong Foot
cultural_festival.2001 - Ornate Necklace
cultural_festival.9005 - Out of Turn
tour_grounds_events.1007 - Peculiar Accent
cultural_festival.4000 - Poachers!
tour_grounds_events.3012 - Precarious Prey
tour_grounds_events.3003 - Rude Gestures
cultural_festival.4100 - Scandalous Movements
cultural_festival.2050 - Sticky Fingers
tour_grounds_events.6202 - Sticky Fingers: Caught
tour_grounds_events.6204 - Story for …
host_dinner_events.3070 - Suspicious Extravagance
host_dinner_events.3100 - Taxable Extravagance
tour_grounds_events.3014 - The …
cultural_festival.2010 - The …
cultural_festival.4202 - The Blade in the Stone
cultural_festival.3041 - The Buried Book
tour_grounds_events.3032 - The Challenge
host_dinner_events.1041 - The Escape Tunnel
host_dinner_events.3135 - The Hidden Butchery
host_dinner_events.3134 - The Hidden Dungeon
host_dinner_events.3133 - The Hidden Library
host_dinner_events.3132 - The Local Military
tour_grounds_events.3080 - The Real Hunt
tour_grounds_events.1016 - The Secret Bedroom
host_dinner_events.3136 - The Secret Journal
cultural_festival.9002 - The Skull
host_dinner_events.3090 - tour_grounds_events.6100
- Turned Away
tour_general.0501 - Uncultured Festival...?
cultural_festival.2040 - Unexpected Wake Up Call
host_dinner_events.1006 - What You Don't See...
tour_grounds_events.7000
Scripted effects inside an event file (6)
- 3016_non_sacred_carving_effect
- 3019_liege_pay_tax_effect
- 3020_drinking_duel_effect
- displayed_proper_gift_effect
- liege_failed_hook_effect
- tour_demand_accepted_effect
Source: game/common/scripted_effects/04_dlc_ep2_tour_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.