Scripted effect · Tours and Tournaments files
tournament_contest_maysir_tooltip_effect
tournament_contest_maysir_tooltip_effect = yesgame/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 3656 (14 lines). No parameters.
tournament_contest_maysir_tooltip_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 3656 of its file. It takes no parameters: tournament_contest_maysir_tooltip_effect = yes. The game's script calls it in 3 places, among them …: Contest Begins (event contest_events.0500), …: Contest Begins (event contest_events.0700) and …: Contest Begins (event contest_events.0800). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
The comment above it in the file
Info on potential effects for breaking islamic gambling laws
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 (14 lines of game script)
tournament_contest_maysir_tooltip_effect = {
if = {
limit = {
religion = religion:islam_religion
scope:activity = {
NOR = {
has_current_phase = tournament_phase_archery
has_current_phase = tournament_phase_horse_race
}
}
}
custom_description = { text = ep2_tournament_maysir_tt }
}
}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 tournament_contest_maysir_tooltip_effect.
Events (3)
- …: Contest Begins
contest_events.0500 - …: Contest Begins
contest_events.0700 - …: Contest Begins
contest_events.0800
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.