Scripted trigger · Silk and Silver files
gdp_hostile_takeover_scheme_owner_valid_trigger
gdp_hostile_takeover_scheme_owner_valid_trigger = yesgame/common/scripted_triggers/gdp_merchant_triggers.txt, line 1455 (12 lines). No parameters.
gdp_hostile_takeover_scheme_owner_valid_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1455 of its file. It takes no parameters: gdp_hostile_takeover_scheme_owner_valid_trigger = yes (or no). The game's script calls it in 2 places, among them Attempt Hostile Takeover (interaction) and Hostile Takeover (scheme). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
- Is available (an adult, not imprisoned, not incapable)
shared_hostile_takeover_participant_valid_trigger = yes- Your Company Size must be at least Trade Establishment
• 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 (12 lines of game script)
gdp_hostile_takeover_scheme_owner_valid_trigger = {
is_available_quick = {
adult = yes
imprisoned = no
incapable = no
}
shared_hostile_takeover_participant_valid_trigger = yes
custom_tooltip = {
text = hostile_takeover_minimum_company_size_trigger
NOT = { has_realm_law = company_size_small }
}
}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_owner_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.