Scripted effect
laamp_base_0041_contract_scheme_prep_effect
laamp_base_0041_contract_scheme_prep_effect = yesgame/common/scripted_effects/00_scheme_scripted_effects.txt, line 12170 (14 lines). No parameters.
laamp_base_0041_contract_scheme_prep_effect is a scripted effect in Crusader Kings III, written at line 12170 of its file. It takes no parameters: laamp_base_0041_contract_scheme_prep_effect = yes. The game's script calls it in 1 place, among them Confidence Trickster (scheme). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.
What it does
If
a check the game hides
Then
scheme_owner = { trigger_event = scheme_critical_moments.0002 }
• 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)
laamp_base_0041_contract_scheme_prep_effect = {
save_scope_as = scheme
scope:scheme.task_contract ?= { save_scope_as = task_contract }
save_scope_value_as = {
name = follow_up_event
value = event_id:scheme_critical_moments.2041
}
if = {
limit = {
NOT = { exists = scope:suppress_next_event }
}
scheme_owner = { trigger_event = scheme_critical_moments.0002 }
}
}As written in game/common/scripted_effects/00_scheme_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls laamp_base_0041_contract_scheme_prep_effect.
Schemes (1)
- Confidence Trickster
Source: game/common/scripted_effects/00_scheme_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.