Scripted trigger · Silk and Silver files
gdp_hostile_takeover_scheme_target_valid_trigger
gdp_hostile_takeover_scheme_target_valid_trigger = { SCHEME_OWNER = … }game/common/scripted_triggers/gdp_merchant_triggers.txt, line 1468 (6 lines). Parameters: $SCHEME_OWNER$.
gdp_hostile_takeover_scheme_target_valid_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1468 of its file. A call passes 1 parameter: SCHEME_OWNER. The game's script calls it in 2 places, among them Attempt Hostile Takeover (interaction) and Hostile Takeover (scheme). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
house != $SCHEME_OWNER$.houseshared_hostile_takeover_participant_valid_trigger = yes- Company size at most $SCHEME OWNER$.company size value
• 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)
gdp_hostile_takeover_scheme_target_valid_trigger = {
exists = house
house != $SCHEME_OWNER$.house
shared_hostile_takeover_participant_valid_trigger = yes
company_size_value <= $SCHEME_OWNER$.company_size_value
}As written in game/common/scripted_triggers/gdp_merchant_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls gdp_hostile_takeover_scheme_target_valid_trigger.
Character interactions (1)
Schemes (1)
- Hostile Takeover
Source: game/common/scripted_triggers/gdp_merchant_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.