Scripted trigger
contract_employer_can_apply_county_modifier_trigger
contract_employer_can_apply_county_modifier_trigger = yesgame/common/scripted_triggers/00_laamp_triggers.txt, line 609 (6 lines). No parameters.
contract_employer_can_apply_county_modifier_trigger is a scripted trigger in Crusader Kings III, written at line 609 of its file. It takes no parameters: contract_employer_can_apply_county_modifier_trigger = yes (or no). The game's script calls it in 13 places, among them … to the Slaughter: Failure! (event laamp_base_contract_schemes.5003), … to the Slaughter: Success! (event laamp_base_contract_schemes.5002) and Amateur Architecture: Failure! (event laamp_base_contract_schemes.2023). Patch 1.20.1.2, from game/common/scripted_triggers/00_laamp_triggers.txt.
The comment above it in the file
Check to see if it's appropriate to apply a county modifier — basically, don't let barons putting out contracts apply modifiers to players.
What it checks
• 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 (6 lines of game script)
contract_employer_can_apply_county_modifier_trigger = {
OR = {
highest_held_title_tier >= tier_county
liege = { is_ai = yes }
}
}As written in game/common/scripted_triggers/00_laamp_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls contract_employer_can_apply_county_modifier_trigger.
Events (13)
- … to the Slaughter: Failure!
laamp_base_contract_schemes.5003 - … to the Slaughter: Success!
laamp_base_contract_schemes.5002 - Amateur Architecture: Failure!
laamp_base_contract_schemes.2023 - Arbitration: Failure!
laamp_base_contract_schemes.2033 - Arbitration: Success!
laamp_base_contract_schemes.2032 - Garrison Duty: Failure!
laamp_base_contract_schemes.1033
7 more
- Garrison Duty: Success!
laamp_base_contract_schemes.1032 - Hunting Criminals: Success!
laamp_base_contract_schemes.1002 - Perform in a Play: Success!
laamp_base_contract_schemes.6022 - Preying on Travelers: Failure!
laamp_base_contract_schemes.1043 - Preying on Travelers: Success!
laamp_base_contract_schemes.1042 - Sentinel: Failure!
laamp_base_contract_schemes.5013 - Sentinel: Success!
laamp_base_contract_schemes.5012
Source: game/common/scripted_triggers/00_laamp_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.