Scripted trigger
foodtaster_will_actually_do_job_trigger
foodtaster_will_actually_do_job_trigger = yesgame/common/scripted_triggers/00_scheme_triggers.txt, line 600 (15 lines). No parameters.
foodtaster_will_actually_do_job_trigger is a scripted trigger in Crusader Kings III, written at line 600 of its file. It takes no parameters: foodtaster_will_actually_do_job_trigger = yes (or no). The game's script calls it in 2 places, among them Murder Intercepter: Food Taster (event court_position.9001) and scheme_intercept_repeatable_chance_total_value (script value). Patch 1.20.1.2, from game/common/scripted_triggers/00_scheme_triggers.txt.
What it checks
- Is not a ruler
is_physically_able_ai_adult = yesNone of these
- scope:scheme › Any scheme agent character:
this = scope:char_temp
scope:owner = scope:char_temp
- scope:scheme › Any scheme agent character:
• 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 (15 lines of game script)
foodtaster_will_actually_do_job_trigger = {
# Basically functional.
is_ruler = no
is_physically_able_ai_adult = yes
# Can't be directly involved with the scheme.
## We're a bit pickier here, since food tasters can't just slack off from their duties like bodyguards or cupbearers arguably can.
### You eat the food or you don't, so if you don't, you really must've planned ahead to look like you did.
save_temporary_scope_as = char_temp
NOR = {
scope:scheme = {
any_scheme_agent_character = { this = scope:char_temp }
}
scope:owner = scope:char_temp
}
}As written in game/common/scripted_triggers/00_scheme_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls foodtaster_will_actually_do_job_trigger.
Events (1)
- Murder Intercepter: Food Taster
court_position.9001
Script values (1)
- scheme_intercept_repeatable_chance_total_value
Source: game/common/scripted_triggers/00_scheme_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.