tier Comment: Returns true if the character has the correct title. Scope: Character Syntax: tier = TITLE TITLE: duke - daimyo count - kokujin king - subjugated clan leader emperor - clan leader is_primary_type_title Comment: Returns true if the character has a primary type title. Scope: Character Syntax: is_primary_type_title = yes first_son Comment: Returns true if the character is the first son. Scope: Character Syntax: first_son = yes has_global_flag Comment: Returns true if there is a global flag with the specified name. Scope: Syntax: has_global_flag = FLAGNAME had_global_flag Comment: Returns true if the flag has been active for the specified amount of days or longer. Scope: Syntax: had_global_flag = { flag = FLAGNAME days = x } ( x = +-1...) western_active Comment: Returns true if westernization has started. Scope: Syntax: western_active = yes western_complete Comment: Returns true if westernization is complete. Scope: Syntax: western_complete = yes western Comment: Returns true if the province is western. Scope: Province Syntax: western = yes and Comment: Boolean container trigger. Scope: Syntax: AND = {} hidden_tooltip Comment: If you want something to not show up in the tooltip you use this. For example: if you want to add a hidden character modifier you must place it inside the brackets of the hidden tooltip. Scope: All Syntax: hidden_tooltip = {} or Comment: Boolean container trigger. If you place several different triggers inside OR = {}, then if one of them returns true the event will fire. OBS! If there's any other triggers outside of OR = {} they too must return true for the event to fire. Scope: Syntax: OR = {} not Comment: Boolean container trigger. Scope: Syntax: NOT = {} year Comment: Returns true if it is the specified year or after the specified year. Scope: Syntax: year = x ( x = 1467 - 1620) month Comment: Returns true if it is the specified month or after the specified month. Scope: Syntax: month = x ( x = 1 - 12) is_alive Comment: Returns true if the character is alive. Scope: Character Syntax: is_alive = yes is_landed Comment: Returns true if the character has a title. Scope: Character Syntax: is_landed = yes is_councillor Comment: Returns true if the character is a councillor, e.g has a job title. Scope: Character Syntax: is_councillor = yes character Comment: Returns true if the character in the present scope is equal to SCOPE. Scope: Character Syntax: character = SCOPE (ROOT, THIS, FROM, PREV) has_objective Comment: Returns true if the character has the specified objective. All current objectives can be found in ...\common\objectives.txt. Scope: Character Syntax: has_objective = OBJECTIVE war Comment: Returns true if the character is at war with anyone. Scope: Character Syntax: war = yes revolt_risk Comment: Returns true if the revolt risk is the specified value or above it. Scope: Province Syntax: revolt_risk = x ( x = +-1...) port Comment: Returns true if the province borders a sea province. Scope: Province Syntax: port = yes owned_by Comment: Returns true if the province is owned by the specified character. Scope: Province Syntax: owned_by = SCOPE (ROOT, THIS, FROM, PREV) owned_by_rebels Comment: Returns true if the province is owned by the specified rebel type. Scope: Province Syntax: owned_by_rebels = REBEL_TYPES ( Replace with any of the below listed rebel types) REBEL_TYPES: SHINTO BUDDHIST CHRISTIAN IKKOIKKI opinion Comment: Scope must be replaced with either of these: ROOT, THIS, FROM or PREV. This trigger checks what someone thinks about who = SCOPE. Scope: Character Syntax: opinion = { who = SCOPE value = x } ( x = +-1...) their_opinion Comment: Scope must be replaced with either of these: ROOT, THIS, FROM or PREV. This trigger checks what who = SCOPE thinks about another character. Scope: Character Syntax: their_opinion = { who = SCOPE value = x } ( x = +-1...) has_siege Comment: Returns true if the province is besieged. Scope: Province Syntax: has_siege = yes has_province_flag Comment: Returns true if the province has the specified province flag. Scope: Province Syntax: has_province_flag = PROVINCE_FLAG has_character_flag Comment: Returns true if the character has the specified character flag. Scope: Character Syntax: has_character_flag = CHARACTER_FLAG has_province_modifier Comment: Returns true if the province has the specified province modifier. All current province modifiers can be found in ...\common\event_modifiers. Replace PROVINCE_MODIFIER with any of the listed province modifiers. Scope: Province Syntax: has_province_modifier = PROVINCE_MODIFIER has_character_modifier Comment: Returns true if the character has the specified character modifier. All current character modifiers can be found in ...\common\event_modifiers. Replace CHARACTER_MODIFIER with any of the listed character modifiers. Scope: Character Syntax: has_character_modifier = CHARACTER_MODIFIER has_building Comment: All buildings can be found in ...\common\buildings.txt. Replace BUILDING with any of the listed buildings. Scope: Province Syntax: has_building = BUILDING monthly_income Comment: Returns true if the character has the specified value or above. Scope: Character Syntax: monthly_income = x ( x = +-1...) war_with Comment: Returns true if the character is at war with the specified character. Most often used in another character scope, for example any_independent_neighbor. Scope: Character Syntax: war_with = SCOPE (ROOT, THIS, FROM, PREV) trait Comment: Returns true if the character has the specified trait. A full list of available traits can be found in ...\common\traits.txt. Scope: Character Syntax: trait = TRAIT ruled_years Comment: Returns true if the years the character has ruled equals or exceeds the specified value. Scope: Character Syntax: ruled_years = x ( x = +-1...) num_of_children Comment: Returns true if the character has x or more children. Scope: Character Syntax: num_of_children = x ( x = +-1...) personality_traits Comment: Returns true if the character has x or more personality traits. Scope: Character Syntax: personality_traits = x ( x = +-1...) congenital_traits Comment: Returns true if the character has x or more congenital traits. Scope: Character Syntax: congenital_traits = x ( x = +-1...) lifestyle_traits Comment: Returns true if the character has x or more lifestyle traits. Scope: Character Syntax: lifestyle_traits = x ( x = +-1...) health_traits Comment: Returns true if the character has x or more health traits. Scope: Character Syntax: health_traits = x ( x = +-1...) num_traits Comment: Returns true if the character has x or more traits. Scope: Character Syntax: num_traits = x ( x = +-1...) martial Comment: Returns true if the character's martial equals or exceedes the specified number (x). Scope: Character Syntax: martial = x ( x = +-1...) diplomacy Comment: Returns true if the character's diplomacy equals or exceedes the specified number (x). Scope: Character Syntax: diplomacy = x ( x = +-1...) intrigue Comment: Returns true if the character's intrigue equals or exceedes the specified number (x). Scope: Character Syntax: intrigue = x ( x = +-1...) check_variable Comment: Returns true if the variable exists and its value is x (must check if it's equal or bigger than). Scope: Syntax: check_variable = { which = VARIABLE_NAME value = x } sibling Comment: Returns true if the character is a sibling to ROOT. This is most often used inside a character scope switch, for example any_courtier. Scope: Character Syntax: sibling = yes wealth Comment: Returns true if the wealth of a character equals or exceeds the specified number (x). Scope: Character Syntax: wealth = x ( x = +-1...) treasury Comment: Returns true if the treasury contains x or more gold. Scope: Character Syntax: treasury = x ( x = +-1...) arquebus Comment: Returns true if the amount of arquebuses equals or exceeds the specified number (x). Scope: Province Syntax: arquebus = x ( x = +-1...) health Comment: Returns true if the health of a character equals or exceedes x. Scope: Character Syntax: health = x ( x = +-1...) fertility Comment: Returns true if the fertility of a character equals or exceedes x. Scope: Character Syntax: fertility = x ( x = +-1...) honor Comment: Returns true if the honor of a character equals or exceedes x. Scope: Character Syntax: honor = x ( x = +-1...) is_mother Comment: Returns true if the character is ROOT's mother. This is most often used inside a character scope switch, for example any_courtier. Scope: Character Syntax: is_mother = yes is_father Comment: Returns true if the character is ROOT's father. This is most often used inside a character scope switch, for example any_courtier. Scope: Character Syntax: is_father = yes is_liege Comment: Returns true if the character a liege. Scope: Character Syntax: is_liege = yes is_female Comment: Returns true if the character is female. Scope: Character Syntax: is_female = yes age Comment: Returns true if the character's age equals or exceeds the specified number (x). Scope: Character Syntax: age = x ( x = +-1...) dynasty Comment: Returns true if the character is the same dynasty as the specified character. This is most often used inside a character scope switch, for example any_courtier. Scope: Character Syntax: dynasty = SCOPE (ROOT, THIS, FROM, PREV) family Comment: Returns true if the character is in the same family as the specified character. This is most often used inside a character scope switch, for example any_courtier. Scope: Character Syntax: family = yes in_command Comment: Returns true if the character is in command. Scope: Character Syntax: in_command = yes is_ruler Comment: Returns true if the character is a ruler. Scope: Character Syntax: is_ruler = yes is_playable Comment: Returns true for player controlled characters. Scope: Character Syntax: is_playable = yes independent Comment: Returns true if the character is a clan leader. Scope: Character Syntax: independent = yes is_primary_heir Comment: Returns true if the character is the primary heir. Scope: Character Syntax: is_primary_heir = yes num_of_traits Comment: Returns true if the character's number of traits equals or exceeds the specified number (x). Scope: Character Syntax: num_of_traits = x ( x = +-1...) is_married Comment: Returns true if the character is married. Scope: Character Syntax: is_married = yes province_id Comment: Returns true if the province has the specified province id. Scope: Province Syntax: province_id = x ( x = 1 - 360) ai Comment: Returns true if the character is controlled by the ai. Scope: Character Syntax: ai = yes at_location Comment: Returns true if the character is at the same location as SCOPE. Scope: Province Syntax: at_location = SCOPE (ROOT, THIS, FROM, PREV) has_more_wealth_than_ruler Comment: Returns true if the character has more wealth than his ruler. Scope: Character Syntax: has_more_wealth_than_ruler = yes from_ruler_dynasty Comment: Returns true if the character is from the same dynasty as his ruler. Scope: Character Syntax: from_ruler_dynasty = yes has_job_title Comment: Only councillors have job titles and you cannot play as one. The events won't show up for a playable character. You can, however, check to see if one of your courtiers has any job title. Use scope change any_courtier and random_courtier. Scope: Character Syntax: has_job_title = JOB_TITLE ( Replace with any of the below listed job titles) JOB_TITLE: job_master_of_the_guard job_master_of_ceremonies job_master_of_arms has_job_action Comment: Only councillors have job actions and you cannot play as one, so then the events won't show up for a playable character. You can, however, change scope and see if one of your councillors has any of the listed job actions. See Sengoku Scopes for all scope changes. Scope: Character Syntax: has_job_action = JOB_ACTION ( Replace with any of the below listed job actions) JOB_ACTION: action_improve_relations action_improve_village action_squeeze_peasants action_improve_castle action_restore_order action_improve_guilds action_sow_dissent is_pretender Comment: Returns true if the character is a pretender. Scope: Character Syntax: is_pretender = yes civil_war Comment: Returns true if the character is in a civil war. Scope: Character Syntax: civil_war = yes num_of_plot_backers Comment: Returns true if the amount of plot backers equals or exceeds the specified number (x). Scope: Character Syntax: num_of_plot_backers = x ( x = +-1...) plot_power Comment: Returns true if the plot power equals or exceeds the specified number (x). Scope: Character Syntax: plot_power = x ( 0.01 - 1) is_plot_target_of Comment: Returns true if the character is the plot target of another character. Scope: Character Syntax: is_plot_target_of = SCOPE ( PREV, ROOT, FROM, THIS) education_traits Comment: Returns true if the amount of education traits equals or exceeds the specified number (x). Scope: Character Syntax: education_traits = x ( x = +-1...) has_opinion_modifier Comment: Returns true if the character has the specified opinion modifier. All opinion modifiers can be found in ...\common\opinion_modifiers.txt. Scope: Character Syntax: has_opinion_modifier = { who = ROOT modifier = OPINION_MODIFIER } shinto_relation Comment: Returns true if the relations with the shinto faction equals or exceeds the specified number (x). Scope: Character Syntax: shinto_relation = x ( x = +-1...) christian_relation Comment: Returns true if the relations with the christian faction equals or exceeds the specified number (x). Scope: Character Syntax: christian_relation = x ( x = +-1...) buddhist_relation Comment: Returns true if the relations with the buddhist faction equals or exceeds the specified number (x). Scope: Character Syntax: buddhist_relation = x ( x = +-1...) has_sided_with_faction Comment: Returns true if the character has sided with the specified faction. Scope: Character Syntax: has_sided_with_faction = FACTION (Replace FACTION with shinto, buddhist or christian) is_faction_leader Comment: Returns true if the character is faction leader. Scope: Character Syntax: is_faction_leader = yes num_demesne_provinces Comment: Returns true if the number of demesne provinces equals or exceeds the specified number (x). Scope: Character Syntax: num_demesne_provinces = x ( x = +-1...) civil_war_power Scope: Character Syntax: civil_war_power = x ( x = +-0.1...) relative_power Comments: Returns true if the relative power equals or exceeds the specified value (x). Most often used in another character scope, for example any_independent_neighbor. Scope: Character Syntax: relative_power = { who = ROOT value = x ( x = +-0.1...) }