Scripted effect · Tours and Tournaments files
try_to_create_recurring_character_effect
try_to_create_recurring_character_effect = { CHARACTER = … }game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 6073 (38 lines). Parameters: $CHARACTER$.
try_to_create_recurring_character_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 6073 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 41 places, among them … Who Spurns the Fight (event jason_locale_events.100), …: Be A …! (event tournament_events.7000) and …: Cowed Crowd (event tournament_events.1403). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (38 lines of game script)
try_to_create_recurring_character_effect = {
hidden_effect = {
if = {
limit = {
# We want exactly one player.
calc_true_if = {
amount = 1
is_ai = no
$CHARACTER$ = { is_ai = no }
}
# With only a few recurring characters per tourney.
## Currently, set this to 1 to try and make them more generally memorable.
### If we start messing with event weight multipliers based on this, then we might want to increase it, so split things up a bit more.
num_of_relation_activity_recurrer < 1
NOT = { has_relation_activity_recurrer = $CHARACTER$ }
}
set_relation_activity_recurrer = $CHARACTER$
# Debug stuff.
## Disabled; decomment it if you want to see who gets grabbed.
#if = {
#limit = { is_ai = no }
#add_to_variable_list = {
#name = recurring_characters
#target = $CHARACTER$
#}
#}
#else = {
#save_temporary_scope_as = ai_temp
#$CHARACTER$ = {
#add_to_variable_list = {
#name = recurring_characters
#target = scope:ai_temp
#}
#}
#}
}
}
}As written in game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls try_to_create_recurring_character_effect.
Events (38)
- … Who Spurns the Fight
jason_locale_events.100 - …: Be A …!
tournament_events.7000 - …: Cowed Crowd
tournament_events.1403 - …: Good Sport
tournament_events.1270 - …: Local Lancer
tournament_events.6900 - …: Potential Suitors
tournament_events.1404
32 more
- …: Sloppy Standards
tournament_events.1280 - …: Small Tales
tournament_events.1400 - …: Tall Tales
tournament_events.1401 - …: Under … Wing
tournament_events.1300 - …: Wasted Concessions
tournament_events.1402 - A Fool's Performance
tournament_events.9008 - A Glorious Guest
tournament_events.1310 - A Liegeless …
tournament_events.9001 - A Mess of Legs
jason_first_race_event.1 - A Strong… Show
tournament_events.9002 - Allegiance, Burped
jason_locale_events.200 - Armorer: Fame or Effectiveness?
ep2_locale_events.2001 - Armorer: Tattered Straps
ep2_locale_events.2002 - Feathered Entertainment
tournament_events.9004 - Foreign Flair
tournament_events.1312 - Knightly Fanfare
tournament_events.9007 - Muddled Up
tournament_events.1311 - Passage of Arms
tournament_events.1100 - Passage of Arms
tournament_events.1101 - Passage of Arms
tournament_events.1102 - Rags to Maile
tournament_events.1230 - Religious Reproach
tournament_events.1200 - Roisterous Revelry
tournament_events.9005 - Tailor: Erroneous Escutcheon
ep2_locale_events.2500 - Tavern: A Betting …?
ep2_locale_events.1050 - Tavern: Another Round
ep2_locale_events.1000 - Tavern: Dare to Drink?
ep2_locale_events.1002 - Tavern: Fancy a Game?
ep2_locale_events.1010 - Temple: Sacrilegious Spree
ep2_locale_events.1510 - Tent Camp: Stealing a Moment
ep2_locale_events.3001 - Tournament Tales
tournament_events.9006 - Unmanageable Miscreants
tournament_events.1290
Scripted effects inside an event file (3)
- ep2_locale_events_3002_recurring_character_tumbola_effect
- tournament_1270_versus_effect
- tournament_events_1260_duel_effect
Source: game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.