unfucking the mod

This commit is contained in:
trashmasteruni 2026-01-06 14:25:21 +01:00
parent cbe3fbcda2
commit d887392b56
1167 changed files with 26982 additions and 13 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,819 @@

#GREETINGS MY LOVER
GreetingToLover = {
type = character
text = {
trigger = {
scope:second = {
object_of_importance_exist_trigger = {
LOVER = root
}
}
}
localization_key = greeting_lover_object
}
text = {
localization_key = greeting_lover_fallback
}
}
#GREETINGS MY LIEGE
GreetingToLiege = {
type = character
text = {
trigger = {
opinion = {
target = scope:second
value >= 20
}
}
localization_key = greeting_liege_positive
}
text = {
trigger = {
opinion = {
target = scope:second
value <= -40
}
}
localization_key = greeting_liege_negative
}
text = {
trigger = {
scope:second = { tgp_is_ceremonial_regent_trigger = yes }
}
localization_key = greeting_ceremonial_liege_fallback
}
text = {
localization_key = greeting_liege_fallback
}
}
GreetingToLiegePositive = {
type = character
text = {
trigger = {
scope:second = { tgp_is_ceremonial_regent_trigger = yes }
}
localization_key = greeting_ceremonial_regent_liked
}
text = {
localization_key = greeting_liege_liked
}
}
GreetingToLiegeNegative = {
type = character
text = {
trigger = {
scope:second = { tgp_is_ceremonial_regent_trigger = yes }
}
localization_key = greeting_ceremonial_regent_dislike
}
text = {
localization_key = greeting_liege_dislike
}
}
GreetingToLiegeNeutral = {
type = character
text = {
trigger = {
scope:second = { tgp_is_ceremonial_regent_trigger = yes }
}
localization_key = greeting_liege_neutral_regent
}
text = {
localization_key = greeting_liege_neutral
}
}
#GREETINGS MY VASSAL
GreetingToVassal = {
type = character
text = {
trigger = {
OR = {
AND = {
is_close_or_extended_family_of = scope:second
opinion = {
target = scope:second
value >= 10
}
}
opinion = {
target = scope:second
value >= 30
}
}
}
localization_key = greeting_vassal_positive
}
text = {
trigger = {
opinion = {
target = scope:second
value <= -40
}
}
localization_key = greeting_vassal_negative
}
text = {
localization_key = greeting_vassal_fallback
}
}
GreetingToVassalPositive = {
type = character
text = {
trigger = {
tgp_is_ceremonial_regent_trigger = yes
scope:second = { tgp_is_ceremonial_liege_trigger = no }
}
localization_key = greeting_vassal_liked_regent
}
text = {
trigger = {
tgp_is_ceremonial_regent_trigger = yes
scope:second = { tgp_is_ceremonial_liege_trigger = yes }
}
localization_key = greeting_vassal_liked_ceremonial_liege
}
text = {
trigger = {
is_close_or_extended_family_of = scope:second
}
localization_key = greeting_vassal_relative_liked
}
text = {
localization_key = greeting_vassal_liked
}
}
GreetingToVassalNegative = {
type = character
text = {
trigger = {
tgp_is_ceremonial_regent_trigger = yes
scope:second = { tgp_is_ceremonial_liege_trigger = no }
}
localization_key = greeting_vassal_dislike_regent
}
text = {
trigger = {
tgp_is_ceremonial_regent_trigger = yes
scope:second = { tgp_is_ceremonial_liege_trigger = yes }
}
localization_key = greeting_vassal_dislike_ceremonial_liege
}
text = {
localization_key = greeting_vassal_dislike
}
}
GreetingToVassalNeutral = {
type = character
text = {
trigger = {
tgp_is_ceremonial_regent_trigger = yes
scope:second = { tgp_is_ceremonial_liege_trigger = no }
}
localization_key = greeting_vassal_neutral_regent
}
text = {
trigger = {
tgp_is_ceremonial_regent_trigger = yes
scope:second = { tgp_is_ceremonial_liege_trigger = yes }
}
localization_key = greeting_vassal_neutral_ceremonial_liege
}
text = {
localization_key = greeting_vassal_neutral
}
}
#GREETINGS MY CLOSE_RELATIVE
GreetingToFamily = {
type = character
text = {
trigger = {
opinion = {
target = scope:second
value >= 40
}
}
localization_key = greeting_family_positive
}
text = {
trigger = {
opinion = {
target = scope:second
value <= -20
}
}
localization_key = greeting_family_negative
}
text = {
localization_key = greeting_family_fallback
}
}
GreetingToFamilyPositive = {
type = character
text = {
localization_key = greeting_family_liked
}
}
GreetingToFamilyNegative = {
type = character
text = {
localization_key = greeting_family_fallback
}
}
#GREETINGS FOREIGN RULER
GreetingToForeignRuler = {
type = character
text = {
trigger = {
opinion = {
target = scope:second
value >= 40
}
}
localization_key = greeting_foreign_ruler_positive
}
text = {
trigger = {
opinion = {
target = scope:second
value <= -20
}
}
localization_key = greeting_foreign_ruler_negative
}
text = {
localization_key = greeting_foreign_ruler
}
}
GreetingToForeignRulerPositive = {
type = character
text = {
localization_key = greeting_foreign_ruler_positive
}
}
GreetingToForeignRulerNegative = {
type = character
text = {
localization_key = greeting_foreign_ruler_negative
}
}
#GENERIC GREETING
GreetingToGeneric = {
type = character
text = {
trigger = {
opinion = {
target = scope:second
value >= 40
}
}
localization_key = greeting_generic_positive
}
text = {
trigger = {
opinion = {
target = scope:second
value <= -40
}
}
localization_key = greeting_generic_negative
}
text = {
localization_key = greeting_generic
}
}
GreetingToGenericPositive = {
type = character
text = {
localization_key = greeting_generic_positive
}
}
GreetingToGenericNegative = {
type = character
text = {
localization_key = greeting_generic_negative
}
}
#APPROPRIATE GREETING
# ROOT is the character doing the greeting, scope:second is the character being greeted.
AppropriateGreeting = {
type = character
text = {
trigger = { has_relation_lover = scope:second }
localization_key = greeting_appropriate_lover
}
text = {
trigger = { is_vassal_of = scope:second }
localization_key = greeting_appropriate_liege
}
text = {
trigger = {
scope:second = { is_vassal_of = root }
}
localization_key = greeting_appropriate_vassal
}
text = {
trigger = {
OR = {
is_close_or_extended_family_of = scope:second
has_relation_friend = scope:second
}
}
localization_key = greeting_appropriate_family
}
text = {
trigger = {
scope:second = { top_liege = this }
top_liege != scope:second.top_liege
}
localization_key = greeting_appropriate_foreign_ruler
}
text = {
localization_key = greeting_appropriate_fallback
}
}
AppropriateGreetingPositive = {
type = character
text = {
trigger = { has_relation_lover = scope:second }
localization_key = greeting_appropriate_lover
}
text = {
trigger = { is_vassal_of = scope:second }
localization_key = greeting_appropriate_positive_liege
}
text = {
trigger = {
scope:second = { is_vassal_of = root }
}
localization_key = greeting_appropriate_positive_vassal
}
text = {
trigger = {
is_close_or_extended_family_of = scope:second
}
localization_key = greeting_appropriate_positive_family
}
text = {
trigger = {
scope:second = { top_liege = this }
top_liege != scope:second.top_liege
}
localization_key = greeting_appropriate_positive_foreign_ruler
}
text = {
localization_key = greeting_appropriate_positive_fallback
}
}
AppropriateGreetingNegative = {
type = character
text = {
trigger = { is_vassal_of = scope:second }
localization_key = greeting_appropriate_negative_liege
}
text = {
trigger = {
scope:second = { is_vassal_of = root }
}
localization_key = greeting_appropriate_negative_vassal
}
text = {
trigger = {
is_close_or_extended_family_of = scope:second
}
localization_key = greeting_appropriate_negative_family
}
text = {
trigger = {
scope:second = { top_liege = this }
top_liege != scope:second.top_liege
}
localization_key = greeting_appropriate_negative_foreign_ruler
}
text = {
localization_key = greeting_appropriate_negative_fallback
}
}
# Can be called after an appropriate greeting to add character and flavor to the address.
AppropriateSupplimentaryGreeting = {
type = character
text = {
trigger = {
NOT = {
target_is_liege_or_above = scope:second
}
opinion = {
target = scope:second
value <= -10
}
}
localization_key = greeting_supplimentary.negative
}
text = {
trigger = {
OR = {
target_is_liege_or_above = scope:second
opinion = {
target = scope:second
value > -10
}
}
}
localization_key = greeting_supplimentary.positive
}
}
NegativeSupplimentaryGreeting = {
type = character
random_valid = yes
text = { # Your misdeeds are told from Ireland to Cathay
trigger = {
# Must be in Western or Northern Europe
location = {
OR = {
geographical_region = world_europe_west
geographical_region = world_europe_north
}
}
}
localization_key = greeting_supplimentary.negative.tales
}
text = { # Your low character is the subject of Greek plays.
trigger = {
# Must be in Western or Northern Europe
location = {
OR = {
geographical_region = world_europe_east
geographical_region = world_europe_south
geographical_region = world_asia_minor
geographical_region = world_middle_east_jerusalem
geographical_region = world_africa_north
}
}
}
localization_key = greeting_supplimentary.negative.greek
}
text = { # May your humors rot in your living body.
localization_key = greeting_supplimentary.negative.insult.1
}
text = { # May your years be short and miserable.
localization_key = greeting_supplimentary.negative.insult.2
}
text = { # May wisdom ever elude you.
trigger = {
scope:second = {
learning < high_skill_rating
}
}
localization_key = greeting_supplimentary.negative.insult.3
}
text = { # Damn your seventh grandfather.
trigger = {
faith = {
religion_tag = islam_religion
}
}
localization_key = greeting_supplimentary.negative.insult_muslim.1
}
text = { # May you be sewn up alive in the belly of a dead camel.
trigger = {
faith = {
religion_tag = islam_religion
}
}
localization_key = greeting_supplimentary.negative.insult_muslim.2
}
text = { # May Allah destroy your house.
trigger = {
faith = {
religion_tag = islam_religion
}
}
localization_key = greeting_supplimentary.negative.insult_muslim.3
}
text = { # You child of a mangy dog.
trigger = {
faith = {
religion_tag = islam_religion
}
}
localization_key = greeting_supplimentary.negative.insult_muslim.4
}
}
PositiveSupplimentaryGreeting = {
type = character
random_valid = yes
text = { # Blessings upon you and your House.
localization_key = greeting_supplimentary.positive.flattery.1
}
text = { # Your wisdom and mercy are legendary.
trigger = {
scope:second = {
NOR = {
has_trait = sadistic
has_trait = callous
}
}
}
localization_key = greeting_supplimentary.positive.flattery.2
}
text = { # Peace be with you.
trigger = {
scope:second = {
NOR = {
has_trait = vengeful
has_trait = wrathful
faith = {
has_doctrine = tenet_warmonger
has_doctrine = tenet_human_sacrifice
}
}
}
}
localization_key = greeting_supplimentary.positive.flattery.3
}
text = { # May you live in harmony and contentment.
trigger = {
scope:second = {
NOR = {
has_trait = ambitious
has_trait = arrogant
has_trait = sadistic
}
}
}
localization_key = greeting_supplimentary.positive.flattery.4
}
text = { # Your ruthlessness is enviable.
trigger = {
scope:second = {
OR = {
has_trait = sadistic
has_trait = callous
}
}
}
localization_key = greeting_supplimentary.positive.flattery.5
}
text = { # Your great appetites are renowned throughout the world.
trigger = {
scope:second = {
OR = {
has_trait = gluttonous
has_trait = greedy
has_trait = ambitious
}
}
}
localization_key = greeting_supplimentary.positive.flattery.6
}
}
FormOfAddressForLiege = {
type = character
random_valid = yes
text = {
trigger = {
OR = {
highest_held_title_tier <= tier_duchy
AND = {
highest_held_title_tier = tier_kingdom
prestige_level < high_prestige_level
}
}
is_governor = no
tgp_is_ceremonial_regent_trigger = no
}
localization_key = form_of_address_my_ladylord
}
text = {
trigger = {
is_governor = yes
tgp_is_ceremonial_regent_trigger = no
}
localization_key = form_of_address_your_excellency
}
text = {
trigger = {
is_governor = yes
tgp_is_ceremonial_regent_trigger = no
}
localization_key = form_of_address_excellency
}
text = {
trigger = {
OR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
government_has_flag = government_is_landless_adventurer
}
tgp_is_ceremonial_regent_trigger = no
}
localization_key = form_of_address_liege_title
}
text = {
trigger = {
OR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
highest_held_title_tier >= tier_empire
prestige_level >= high_prestige_level
tgp_is_ceremonial_regent_trigger = no
}
localization_key = form_of_address_great_liege_title
}
text = {
trigger = {
highest_held_title_tier = tier_kingdom
is_governor = no
tgp_is_ceremonial_regent_trigger = no
}
localization_key = form_of_address_my_liege_title
}
text = {
trigger = {
highest_held_title_tier = tier_kingdom
NOR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
prestige_level >= high_prestige_level
is_governor = no
tgp_is_ceremonial_regent_trigger = no
}
localization_key = form_of_address_your_highness
}
text = {
trigger = {
highest_held_title_tier = tier_kingdom
NOR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
is_governor = no
tgp_is_ceremonial_regent_trigger = no
}
localization_key = form_of_address_highness
}
text = {
trigger = {
highest_held_title_tier >= tier_empire
NOR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
is_independent_ruler = yes
tgp_is_ceremonial_regent_trigger = no
}
localization_key = form_of_address_your_majesty
}
text = {
trigger = {
highest_held_title_tier = tier_hegemony
NOR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
is_independent_ruler = yes
tgp_is_ceremonial_regent_trigger = no
}
localization_key = form_of_address_my_sovereign_ladylord
}
text = {
trigger = {
any_held_title = {
is_head_of_faith = yes
}
OR = { faith.religion = religion:protestant_religion faith.religion = religion:catholic_religion faith.religion = religion:eastern_orthodox_religion }
}
localization_key = form_of_address_your_holiness
}
text = {
trigger = {
tgp_is_ceremonial_regent_trigger = yes
}
localization_key = form_of_address_ladylord_regent
}
text = {
trigger = {
top_participant_group:dynastic_cycle ?= {
participant_group_type = hegemon_ruler
}
}
localization_key = form_of_address_son_of_heaven
}
text = {
trigger = {
government_has_flag = government_is_mandala
}
localization_key = form_of_address_your_radiance
}
}

View file

@ -0,0 +1,315 @@
get_hold_court_8001_flaw = { # Flavor for reasons they are a bad mayor
type = character
random_valid = yes
text = {
trigger = { has_trait = lazy }
localization_key = hold_court_8001.desc_lazy
}
text = {
trigger = { has_trait = greedy }
localization_key = hold_court_8001.desc_greedy
}
text = {
trigger = { has_trait = arbitrary }
localization_key = hold_court_8001.desc_arbitrary
}
text = {
trigger = { has_trait = deceitful }
localization_key = hold_court_8001.desc_deceitful
}
text = {
trigger = { stewardship <= 6 }
localization_key = hold_court_8001.desc_incompetent
}
text = {
trigger = { age < 25 }
localization_key = hold_court_8001.desc_young
}
text = {
trigger = { has_trait = infirm }
localization_key = hold_court_8001.desc_infirm
}
text = {
trigger = { has_trait = incapable }
localization_key = hold_court_8001.desc_incapable
}
text = {
trigger = { age > 60 }
localization_key = hold_court_8001.desc_old
}
text = {
trigger = { always = yes }
localization_key = hold_court_8001.desc_fallback
}
}
get_hold_court_8010_stake = { # Flavor for government type of worried vassal
type = character
text = {
trigger = { government_has_flag = government_is_republic }
localization_key = hold_court_8010.desc_republic
}
text = {
trigger = { government_has_flag = government_is_theocracy }
localization_key = hold_court_8010.desc_theocratic
}
text = {
trigger = { always = yes }
localization_key = hold_court_8010.desc_family
}
}
get_hold_court_8020_holiness_1 = { # Describe the holiness of the target county
type = character
text = {
trigger = {
exists = var:holy_site_var
var:holy_site_var = {
any_county_province = {
barony = {
is_holy_site_of = ROOT.faith
title_province = { has_special_building = yes }
}
}
}
}
localization_key = holiness_cathedral_1
}
text = {
trigger = {
exists = var:holy_site_var
var:holy_site_var = {
any_county_province = {
barony = { is_holy_site_of = ROOT.faith }
}
}
}
localization_key = holiness_holy_site_1
}
text = {
trigger = { always = yes }
localization_key = holiness_fallback_1
}
}
get_hold_court_8020_holiness_2 = { # Describe the holiness of the target county
type = character
text = {
trigger = {
exists = var:holy_site_var
var:holy_site_var = {
any_county_province = {
barony = {
is_holy_site_of = ROOT.faith
title_province = { has_special_building = yes }
}
}
}
}
localization_key = holiness_cathedral_2
}
text = {
trigger = {
exists = var:holy_site_var
var:holy_site_var = {
any_county_province = {
barony = { is_holy_site_of = ROOT.faith }
}
}
}
localization_key = holiness_holy_site_2
}
text = {
trigger = { always = yes }
localization_key = holiness_fallback_2
}
}
get_hold_court_8020_holiness_3 = { # Describe the holiness of the target county
type = character
text = {
trigger = {
exists = var:holy_site_var
var:holy_site_var = {
any_county_province = {
barony = {
is_holy_site_of = ROOT.faith
title_province = { has_special_building = yes }
}
}
}
}
localization_key = holiness_cathedral_3
}
text = {
trigger = {
exists = var:holy_site_var
var:holy_site_var = {
any_county_province = {
barony = { is_holy_site_of = ROOT.faith }
}
}
}
localization_key = holiness_holy_site_3
}
text = {
trigger = {
always = yes
}
localization_key = holiness_fallback_3
}
}
get_hold_court_8100_parent = {
type = character
text = {
trigger = { # If male dominated
faith = {
NOT = { has_doctrine = doctrine_gender_male_dominated }
}
}
localization_key = mama
}
text = {
trigger = { # If female dominated
faith = {
NOT = { has_doctrine = doctrine_gender_female_dominated }
}
}
localization_key = papa
}
text = {
trigger = { always = yes }
localization_key = hold_court_8100_parent_general
}
}
get_hold_court_8100_situation = {
type = character
random_valid = yes
text = {
trigger = {
OR = {
AND = {
faith = {
NOT = { has_doctrine = doctrine_gender_male_dominated }
}
mother ?= { is_alive = no }
}
AND = {
faith = {
NOT = { has_doctrine = doctrine_gender_female_dominated }
}
father ?= { is_alive = no }
}
}
}
localization_key = hold_court_8100_situation_dead
}
text = {
trigger = {
OR = {
AND = {
faith = {
NOT = { has_doctrine = doctrine_gender_male_dominated }
}
mother ?= { is_imprisoned = yes }
}
AND = {
faith = {
NOT = { has_doctrine = doctrine_gender_female_dominated }
}
father ?= { is_imprisoned = yes }
}
}
}
localization_key = hold_court_8100_situation_jailed
}
text = {
trigger = { always = yes }
localization_key = hold_court_8100_situation_unknown
}
}
get_hold_court_8190_ethos = {
type = character
random_valid = yes
text = {
trigger = {
culture = { has_cultural_pillar = ethos_bellicose }
}
localization_key = hold_court_8190_bellicose
}
text = {
trigger = {
culture = { has_cultural_pillar = ethos_stoic }
}
localization_key = hold_court_8190_stoic
}
text = {
trigger = {
culture = { has_cultural_pillar = ethos_bureaucratic }
}
localization_key = hold_court_8190_bureaucratic
}
text = {
trigger = {
culture = { has_cultural_pillar = ethos_spiritual }
}
localization_key = hold_court_8190_spiritual
}
text = {
trigger = {
culture = { has_cultural_pillar = ethos_courtly }
}
localization_key = hold_court_8190_courtly
}
text = {
trigger = {
culture = { has_cultural_pillar = ethos_egalitarian }
}
localization_key = hold_court_8190_egalitarian
}
text = {
trigger = {
culture = { has_cultural_pillar = ethos_communal }
}
localization_key = hold_court_8190_communal
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,124 @@
KnightCulture = {
type = character
text = {
trigger = {
has_government = landless_adventurer_government
NOR = {
has_trait = knight_errant
faith = { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion } }
culture = { has_cultural_pillar = language_frankish }
}
}
localization_key = knight_champion
}
text = {
trigger = {
culture = { has_cultural_pillar = language_japonic }
}
localization_key = knight_bushi
}
text = {
trigger = {
culture = { has_cultural_pillar = language_greek }
}
localization_key = knight_hetaeria
}
text = {
trigger = {
OR = {
culture = { has_cultural_pillar = language_mongolic }
culture = { has_cultural_pillar = language_turkic }
}
}
localization_key = knight_baghatur
}
text = {
trigger = {
OR = {
culture = { has_cultural_pillar = language_sauraseni }
culture = { has_cultural_pillar = language_marathi }
culture = { has_cultural_pillar = language_magadhan }
culture = { has_cultural_pillar = language_pahari }
culture = { has_cultural_pillar = language_vrachada }
culture = { has_cultural_pillar = language_rajasthani }
culture = { has_cultural_pillar = language_sinhalese }
culture = { has_cultural_pillar = language_kashmiri }
culture = { has_cultural_pillar = language_tamil }
culture = { has_cultural_pillar = language_telugu }
culture = { has_cultural_pillar = language_kannada }
culture = { has_cultural_pillar = language_north_dravidian } #FP3 addition
}
}
localization_key = knight_shoorveer
}
text = {
trigger = {
OR = {
faith = { religion_tag = zoroastrianism_religion }
culture = { has_cultural_pillar = language_iranian }
}
}
localization_key = knight_aswaran
}
text = {
trigger = {
OR = {
faith = { religion_tag = islam_religion }
culture = { has_cultural_pillar = language_arabic }
}
}
localization_key = knight_faris
}
text = {
trigger = {
OR = {
government_has_flag = government_is_tribal
NOR = {
faith = { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion } }
culture = { has_cultural_pillar = language_frankish }
}
}
}
localization_key = knight_champion
}
text = {
localization_key = knight_default
fallback = yes
}
}
KnightCulturePlural = {
parent = KnightCulture
suffix = "_plural"
}
KnightCultureNoTooltip = {
parent = KnightCulture
suffix = "_no_tooltip"
}
KnightCulturePluralNoTooltip = {
parent = KnightCulture
suffix = "_no_tooltip_plural"
}
KnightCultureNoTooltipLowercase = {
parent = KnightCulture
suffix = "_no_tooltip_lowercase"
}
KnightCulturePluralNoTooltipLowercase = {
parent = KnightCulture
suffix = "_no_tooltip_lowercase_plural"
}
KnightCulturePluralPossessiveNoTooltipLowercase = {
parent = KnightCulture
suffix = "_no_tooltip_lowercase_plural_possessive"
}
KnightCultureAdjectiveNoTooltipLowercase = {
parent = KnightCulture
suffix = "_no_tooltip_lowercase_adjective"
}

View file

@ -0,0 +1,281 @@
IberiaSacredLanguage = {
type = character
text = {
trigger = { OR = { faith.religion = religion:protestant_religion faith.religion = religion:catholic_religion faith.religion = religion:eastern_orthodox_religion } }
localization_key = language_latin_name #Latin
}
text = {
trigger = { faith.religion = religion:judaism_religion }
localization_key = IberiaSacredLanguage_hebrew #Hebrew
}
text = {
trigger = { faith.religion = religion:islam_religion }
localization_key = language_arabic_name #Arabic
}
}
IberiaRomanceLanguage = {
type = character
text = {
trigger = { OR = { faith.religion = religion:protestant_religion faith.religion = religion:catholic_religion faith.religion = religion:eastern_orthodox_religion } }
localization_key = IberiaRomanceLanguage_castilian #Castilian
}
#text = { # I couldn't find evidence of a unique Jewish dialect until after the expulsion of the jews in 1492, when Ladino was coined - AN
# trigger = { religion = religion:judaism_religion }
# localization_key = IberiaRomanceLanguage_sephardi #Sephardi
#}
text = {
trigger = { faith.religion = religion:islam_religion }
localization_key = IberiaRomanceLanguage_mozarabic #Mozarabic #TO_DO_CD: This should be an actual language for our Mozarabs, but would require a culture creation - AN
}
}
#Key to pick out liturgical language of the faith of a province or character - if one exists
#Uses "Archaic-[spoken language]" as fallback
#Specific Fallbacks exists for:
#Catholic
#Orthodox
#Nestorian
#Judaism
#Islam
#Buddhism
#Hinduism
#Tibetan
#Taoism
#Jainism
#Zoroastrianism
#Greco-Roman
GetFaithSacredLanguage = {
type = all
text = {
trigger = {
OR = {
faith = faith:catholic
faith = faith:conversos
faith = faith:lollard
faith = faith:insular_celtic
faith = faith:mozarabic_church
}
}
localization_key = language_latin_name #Latin
}
text = {
trigger = {
faith = faith:cathar
}
localization_key = language_occitano_romance_name #Occitan
}
text = {
trigger = { faith = faith:nestorian }
localization_key = language_aramaic_name #Armaic
}
text = {
trigger = { faith = faith:armenian_apostolic }
localization_key = language_armenian_name #Armenian
}
text = {
trigger = {
OR = {
faith = faith:orthodox
faith = faith:coptic
religion = religion:christianity_religion #fallback for all Christian Faiths
}
}
localization_key = language_greek_name #Greek
}
text = {
trigger = { religion = religion:judaism_religion }
localization_key = language_israelite_name #Hebrew
}
text = {
trigger = { religion = religion:islam_religion }
localization_key = language_arabic_name #Arabic
}
text = {
trigger = { religion = religion:zoroastrianism_religion }
localization_key = language_avestan_name #Avestan
}
text = {
trigger = { faith = faith:theravada }
localization_key = language_pali_name #Pali
}
text = {
trigger = {
OR = {
faith = faith:lamaism
religion = religion:bon_religion
AND = {
faith = faith:vajrayana
culture = {
has_cultural_pillar = heritage_tibetan
}
}
}
}
localization_key = language_classical_tibetan_name #Classical Tibetan
}
text = {
trigger = {
religion = religion:taoism_religion
}
localization_key = language_chinese_name
}
text = { #Could also be Vedic & Old Tamil
trigger = {
OR = {
religion = religion:hinduism_religion
religion = religion:buddhism_religion
religion = religion:jainism_religion
}
}
localization_key = language_sanskrit_name #Sanskrit
}
text = {
trigger = {
religion = religion:hellenism_religion
}
localization_key = language_greek_name #Greek
}
text = {
trigger = {
always = yes
}
fallback = yes
localization_key = fallback_liturgical_province_language #Archaic-X - based on culture instead of Faith.
}
}
GetFaithSacredLanguageCharacter = {
type = character
text = {
trigger = {
OR = {
faith = faith:catholic
faith = faith:conversos
faith = faith:lollard
faith = faith:insular_celtic
faith = faith:mozarabic_church
}
}
localization_key = language_latin_name #Latin
}
text = {
trigger = {
faith = faith:cathar
}
localization_key = language_occitano_romance_name #Occitan
}
text = {
trigger = { faith = faith:nestorian }
localization_key = language_aramaic_name #Armaic
}
text = {
trigger = { faith = faith:armenian_apostolic }
localization_key = language_armenian_name #Armenian
}
text = {
trigger = {
OR = {
faith = faith:orthodox
faith = faith:coptic
religion = religion:christianity_religion #fallback for all Christian Faiths
}
}
localization_key = language_greek_name #Greek
}
text = {
trigger = { religion = religion:judaism_religion }
localization_key = language_israelite_name #Hebrew
}
text = {
trigger = { religion = religion:islam_religion }
localization_key = language_arabic_name #Arabic
}
text = {
trigger = { religion = religion:zoroastrianism_religion }
localization_key = language_avestan_name #Avestan
}
text = {
trigger = { faith = faith:theravada }
localization_key = language_pali_name #Pali
}
text = {
trigger = {
OR = {
faith = faith:lamaism
religion = religion:bon_religion
AND = {
faith = faith:vajrayana
culture = {
has_cultural_pillar = heritage_tibetan
}
}
}
}
localization_key = language_classical_tibetan_name #Classical Tibetan
}
text = {
trigger = {
religion = religion:taoism_religion
}
localization_key = language_chinese_name
}
text = { #Could also be Vedic & Old Tamil
trigger = {
OR = {
religion = religion:hinduism_religion
religion = religion:buddhism_religion
religion = religion:jainism_religion
}
}
localization_key = language_sanskrit_name #Sanskrit
}
text = {
trigger = {
religion = religion:hellenism_religion
}
localization_key = language_greek_name #Greek
}
text = {
trigger = {
always = yes
}
fallback = yes
localization_key = fallback_liturgical_character_language #Archaic-X - based on culture instead of Faith.
}
}

View file

@ -0,0 +1,61 @@
GetAppropriateGodname = {
type = character
text = {
trigger = {
house.last_house_head.faith = {
OR = {
OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
religion_tag = islam_religion
religion_tag = judaism_religion
}
}
}
localization_key = motto_god
}
text = {
trigger = {
house.last_house_head.faith = {
religion_tag = buddhism_religion
}
}
localization_key = motto_the_perfected_ones
}
text = {
trigger = {
house.last_house_head.faith = {
OR = {
religion_tag = dualism_religion
religion_tag = zoroastrianism_religion
}
}
}
localization_key = motto_the_divine
}
text = {
trigger = {
house.last_house_head.faith = {
NOR = {
religion_tag = dualism_religion
religion_tag = zoroastrianism_religion
religion_tag = buddhism_religion
OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
religion_tag = islam_religion
religion_tag = judaism_religion
}
}
}
localization_key = motto_the_gods
}
text = {
trigger = {
always = no
}
localization_key = motto_custom_loc_god
fallback = yes
}
}

View file

@ -0,0 +1,581 @@
dummy_peasant_profession = {
type = character
random_valid = yes
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_miller
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_millers_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_millers_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_reeve
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_reeves_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_reeves_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_bailif
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_bailifs_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_bailifs_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_bowyer
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_bowyers_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_bowyers_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_cobbler
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_cobblers_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_cobblers_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_night_watchman
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_night_watchmans_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_night_watchmans_husband
}
text = {
localization_key = peasant_profession_herbalist
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_farmer
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_farmers_wife
}
text = {
trigger = {
OR = { faith.religion = religion:protestant_religion faith.religion = religion:catholic_religion faith.religion = religion:eastern_orthodox_religion }
is_female = yes
}
localization_key = peasant_profession_prioress
}
text = {
trigger = {
OR = { faith.religion = religion:protestant_religion faith.religion = religion:catholic_religion faith.religion = religion:eastern_orthodox_religion }
is_male = yes
}
localization_key = peasant_profession_prior
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_farrier
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_farriers_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_farriers_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_knacker
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_knackers_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_knackers_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_tanner
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_tanners_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_tanners_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_cooper
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_coopers_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_coopers_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_carpenter
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_carpenters_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_carpenters_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_shepherd
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_shepherds_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_shepherds_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_fletcher
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_fletchers_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_fletchers_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_blacksmith
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_blacksmiths_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_blacksmiths_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_brewer
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_brewers_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_brewers_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_potter
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_potters_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_potters_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_mason
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_masons_wife
}
text = {
trigger = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_female = no
}
localization_key = peasant_profession_masons_husband
}
text = {
trigger = {
OR = {
AND = {
scope:second = { faith_dominant_gender_female_or_equal = yes }
is_male = yes
}
AND = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
}
}
localization_key = peasant_profession_weaver
}
text = {
trigger = {
scope:second = { faith_dominant_gender_male_or_equal = yes }
is_female = yes
}
localization_key = peasant_profession_washwoman
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,543 @@
HoldingNoHoldingTerrainRoaming = {
type = province
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = no_holding_roaming
trigger = {
has_holding = no
NOR = {
terrain = farmlands
terrain = taiga
terrain = steppe
}
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = holding_roaming
fallback = yes
}
}
HoldingNoHoldingTerrainRoamingTooltip = {
type = province
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = no_holding_roaming_tooltip
trigger = {
has_holding = no
NOR = {
terrain = farmlands
terrain = taiga
terrain = steppe
}
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = holding_roaming_tooltip
fallback = yes
}
}
RoamingIntroTerrainSnippet = {
type = province
random_valid = yes
### Forest, Jungle, or Taiga ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_forest
trigger = {
roaming_activity_intro_base_three_trigger = {
TERRAIN = forest
TERRAIN_2 = taiga
TERRAIN_3 = jungle
}
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_forest_2
trigger = {
roaming_activity_intro_base_three_trigger = {
TERRAIN = forest
TERRAIN_2 = taiga
TERRAIN_3 = jungle
}
}
}
### Forest or Taiga Winter ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_forest_winter
trigger = {
roaming_activity_intro_winter_two_trigger = {
TERRAIN = forest
TERRAIN_2 = taiga
}
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_forest_winter_2
trigger = {
roaming_activity_intro_winter_two_trigger = {
TERRAIN = forest
TERRAIN_2 = taiga
}
}
}
### Forest or Jungle Monsoon ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_forest_monsoon
trigger = {
roaming_activity_intro_monsoon_two_trigger = {
TERRAIN = forest
TERRAIN_2 = jungle
}
}
}
### Mountain ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_mountain
trigger = {
roaming_activity_intro_base_trigger = { TERRAIN = mountains }
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_mountain_2
trigger = {
roaming_activity_intro_base_trigger = { TERRAIN = mountains }
}
}
### Mountain Winter ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_mountain_winter
trigger = {
roaming_activity_intro_winter_trigger = { TERRAIN = mountains }
}
}
### Mountain Monsoon ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_mountain_monsoon
trigger = {
roaming_activity_intro_monsoon_trigger = { TERRAIN = mountains }
}
}
### Hills ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_hills
trigger = {
roaming_activity_intro_base_trigger = { TERRAIN = hills }
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_hills_2
trigger = {
roaming_activity_intro_base_trigger = { TERRAIN = hills }
}
}
### Hills Winter ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_hills_winter
trigger = {
roaming_activity_intro_winter_trigger = { TERRAIN = hills }
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_hills_winter_2
trigger = {
roaming_activity_intro_winter_trigger = { TERRAIN = hills }
}
}
### Hills Monsoon ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_hills_monsoon
trigger = {
roaming_activity_intro_monsoon_trigger = { TERRAIN = hills }
}
}
### Plains or Steppe ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_plains
trigger = {
roaming_activity_intro_base_two_trigger = {
TERRAIN = plains
TERRAIN_2 = steppe
}
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_plains_2
trigger = {
roaming_activity_intro_base_two_trigger = {
TERRAIN = plains
TERRAIN_2 = steppe
}
}
}
### Plains or Steppe Winter ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_plains_winter
trigger = {
roaming_activity_intro_winter_two_trigger = {
TERRAIN = plains
TERRAIN_2 = steppe
}
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_plains_winter_2
trigger = {
roaming_activity_intro_winter_two_trigger = {
TERRAIN = plains
TERRAIN_2 = steppe
}
}
}
### Plains Monsoon ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_plains_monsoon
trigger = {
roaming_activity_intro_monsoon_trigger = { TERRAIN = plains }
}
}
### Farmlands or Floodplains ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_farmlands
trigger = {
roaming_activity_intro_base_two_trigger = {
TERRAIN = farmlands
TERRAIN_2 = floodplains
}
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_farmlands_2
trigger = {
roaming_activity_intro_base_two_trigger = {
TERRAIN = farmlands
TERRAIN_2 = floodplains
}
}
}
### Farmlands Winter ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_farmlands_winter
trigger = {
roaming_activity_intro_winter_trigger = { TERRAIN = farmlands }
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_farmlands_winter_2
trigger = {
roaming_activity_intro_winter_trigger = { TERRAIN = farmlands }
}
}
### Farmlands or Floodplains Monsoon ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_farmlands_monsoon
trigger = {
roaming_activity_intro_monsoon_two_trigger = {
TERRAIN = farmlands
TERRAIN_2 = floodplains
}
}
}
### Desert or Drylands ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_desert
trigger = {
roaming_activity_intro_base_two_trigger = {
TERRAIN = desert
TERRAIN_2 = drylands
}
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_desert_2
trigger = {
roaming_activity_intro_base_two_trigger = {
TERRAIN = desert
TERRAIN_2 = drylands
}
}
}
### Desert or Drylands Monsoon ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_desert_monsoon
trigger = {
roaming_activity_intro_monsoon_two_trigger = {
TERRAIN = desert
TERRAIN_2 = drylands
}
}
}
### Desert Mountains ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_desert_mountains
trigger = {
roaming_activity_intro_base_trigger = { TERRAIN = desert_mountains }
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_desert_mountains_2
trigger = {
roaming_activity_intro_base_trigger = { TERRAIN = desert_mountains }
}
}
### Desert Mountains Monsoon ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_desert_mountains_monsoon
trigger = {
roaming_activity_intro_monsoon_trigger = { TERRAIN = desert_mountains }
}
}
### Oasis ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_oasis
trigger = {
roaming_activity_intro_base_trigger = { TERRAIN = oasis }
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_oasis_2
trigger = {
roaming_activity_intro_base_trigger = { TERRAIN = oasis }
}
}
### Oasis Monsoon ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_oasis_monsoon
trigger = {
roaming_activity_intro_monsoon_trigger = { TERRAIN = oasis }
}
}
### Wetlands ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_wetlands
trigger = {
roaming_activity_intro_base_trigger = { TERRAIN = wetlands }
}
}
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_wetlands_2
trigger = {
roaming_activity_intro_base_trigger = { TERRAIN = wetlands }
}
}
### Wetlands Monsoon ###
text = {
setup_scope = { save_scope_as = ThisLocation }
localization_key = roaming_intro_terrain_snippet_wetlands_monsoon
trigger = {
roaming_activity_intro_monsoon_trigger = { TERRAIN = wetlands }
}
}
}
RoamingIntroSecondHalf = {
type = province
### Generic
text = {
localization_key = roaming_intro_second_half_generic
fallback = yes
trigger = {
roaming_activity_winter_trigger = no
roaming_activity_monsoon_trigger = no
}
}
### Winter
text = {
localization_key = roaming_intro_second_half_winter
trigger = {
roaming_activity_winter_trigger = yes
}
}
### Monsoon
text = {
localization_key = roaming_intro_second_half_monsoon
trigger = {
roaming_activity_monsoon_trigger = yes
}
}
}
RoamingOutroStressLoss = {
type = character
random_valid = yes
# Weak
text = {
localization_key = roaming_outro_snippet_stress_loss_weak
trigger = {
has_character_flag = roaming_weak_stress_loss
}
}
text = {
localization_key = roaming_outro_snippet_stress_loss_weak_2
trigger = {
has_character_flag = roaming_weak_stress_loss
}
}
text = {
localization_key = roaming_outro_snippet_stress_loss_weak_3
trigger = {
has_character_flag = roaming_weak_stress_loss
}
}
# Medium
text = {
localization_key = roaming_outro_snippet_stress_loss_medium
trigger = {
has_character_flag = roaming_medium_stress_loss
}
}
text = {
localization_key = roaming_outro_snippet_stress_loss_medium_2
trigger = {
has_character_flag = roaming_medium_stress_loss
}
}
text = {
localization_key = roaming_outro_snippet_stress_loss_medium_3
trigger = {
has_character_flag = roaming_medium_stress_loss
}
}
# Strong
text = {
localization_key = roaming_outro_snippet_stress_loss_strong
trigger = {
has_character_flag = roaming_strong_stress_loss
}
}
text = {
localization_key = roaming_outro_snippet_stress_loss_strong_2
trigger = {
has_character_flag = roaming_strong_stress_loss
}
}
text = {
localization_key = roaming_outro_snippet_stress_loss_strong_3
trigger = {
has_character_flag = roaming_strong_stress_loss
}
}
# Very Strong
text = {
localization_key = roaming_outro_snippet_stress_loss_very_strong
trigger = {
has_character_flag = roaming_very_strong_stress_loss
}
}
text = {
localization_key = roaming_outro_snippet_stress_loss_very_strong_2
trigger = {
has_character_flag = roaming_very_strong_stress_loss
}
}
text = {
localization_key = roaming_outro_snippet_stress_loss_very_strong_3
trigger = {
has_character_flag = roaming_very_strong_stress_loss
}
}
}
RoamingOutroReturningHome = {
type = character
random_valid = yes
text = { localization_key = roaming_outro_snippet_returning_home }
text = { localization_key = roaming_outro_snippet_returning_home_2 }
text = { localization_key = roaming_outro_snippet_returning_home_3 }
text = { localization_key = roaming_outro_snippet_returning_home_4 }
}
RoamingLegendaryBeastProvinceWeather = {
type = province
text = {
localization_key = LegendaryBeastProvinceWeatherSnow
trigger = {
has_winter_trigger = yes
}
}
text = {
localization_key = LegendaryBeastProvinceWeatherRain
trigger = {
tropical_seasons_region_trigger = yes
middle_of_year_season_trigger = yes
}
}
text = {
localization_key = LegendaryBeastProvinceWeatherFog
}
}
RoamingGraveVariants = {
type = province
text = {
trigger = {
religion = religion:christianity_religion
}
localization_key = roaming_grave_variant_cross
}
text = {
trigger = {
geographical_region = world_europe_north
}
localization_key = roaming_grave_variant_burial_mound
}
text = {
localization_key = roaming_grave_variant_stone
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,27 @@

StatecraftGetVassalType = {
type = character
text = {
trigger = { government_has_flag = government_is_feudal}
localization_key = statecraft_ongoing.4010.nobility
fallback = yes
}
text = {
trigger = { government_has_flag = government_is_clan}
localization_key = statecraft_ongoing.4010.clan
}
text = {
trigger = { government_has_flag = government_is_tribal}
localization_key = statecraft_ongoing.4010.chieftains
}
text = {
trigger = { government_has_flag = government_is_theocracy}
localization_key = statecraft_ongoing.4010.clergy
}
text = {
trigger = { government_has_flag = government_is_republic}
localization_key = statecraft_ongoing.4010.citizenry
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,553 @@

WarDeclaredOpening = {
type = war
text = {
trigger = { #War to stop the Gurkhan from becoming Greatest of Khans
root = {
using_cb = mpo_great_war_of_defiance_cb
}
}
localization_key = war_declared_opening_mpo_gok
}
text = {
trigger = {
root.primary_attacker = {
opinion = {
target = root.primary_defender
value <= -10
}
}
}
localization_key = war_declared_opening.negative
}
text = {
trigger = {
always = no
}
fallback = yes
localization_key = war_declared_opening.neutral
}
}
WarDeclaredFlavor = {
type = war
text = {
trigger = { #War to stop the Gurkhan from becoming Greatest of Khans
root = {
using_cb = mpo_great_war_of_defiance_cb
}
}
localization_key = war_declared_flavor_mpo_gok
}
text = { # Used when one or more Deviant Lovers manage to get into a war with each other.
trigger = {
root.primary_attacker = {
has_relation_lover = root.primary_defender
}
OR = {
root.primary_attacker = {
is_deviant_trigger = yes
}
root.primary_defender = {
is_deviant_trigger = yes
}
}
}
localization_key = war_declared_flavor.naughty
}
text = { # Used when Zealous characters are attacking a religious enemy. Also used for excommunication wars.
trigger = {
OR = {
root.primary_attacker = {
# Attacker must be Zealous
OR = {
has_trait = zealous
ai_zeal >= medium_positive_zeal
}
# Defender must belong to a Hostile/Evil Faith, OR must be Sinful in the eyes of the Attacker's Faith.
OR = {
faith = {
faith_hostility_level = {
target = root.primary_defender.faith
value >= faith_hostile_level
}
}
root.primary_defender = {
num_sinful_traits = {
target = root.primary_attacker.faith
value >= 1
}
}
}
# Attacker must also personally dislike the defender, because this text is quite insult-y.
opinion = {
target = root.primary_defender
value <= 20
}
}
# If an excommunication war, use this regardless of attacker/defender's traits.
root = {
using_cb = excommunication_war
}
}
}
localization_key = war_declared_flavor.zealous
}
text = { # Used by Greedy characters when declaring a war of conquest.
trigger = {
root.primary_attacker = {
OR = {
has_trait = greedy
has_trait = ambitious
}
}
root = {
OR = {
using_conquest_cb_trigger = yes
using_de_jure_cb_trigger = yes
}
}
}
localization_key = war_declared_flavor.greedy
}
text = { # Generic DoW text for all holy wars.
trigger = {
root = {
using_holy_war_cb_trigger = yes
}
}
localization_key = war_declared_flavor.holy_war
}
text = { # Generic DoW text for all De Jure (and Claimant) wars.
trigger = {
root = {
using_de_jure_cb_trigger = yes
}
}
localization_key = war_declared_flavor.dejure
}
text = { # Used by Arrogant characters when attempting to vassalize/subjugate another character.
trigger = {
root = {
using_hierarchical_cb_trigger = yes
}
root.primary_attacker = {
has_trait = arrogant
# Attacker must also personally dislike the defender, because this text is quite insult-y.
opinion = {
target = root.primary_defender
value <= 20
}
}
}
localization_key = war_declared_flavor.subjugation.arrogant
}
text = { # Tribal characters have special text for declaring conquest or subjugation wars.
trigger = {
root.primary_attacker = {
government_has_flag = government_is_tribal
}
root = {
OR = {
using_conquest_cb_trigger = yes
using_hierarchical_cb_trigger = yes
}
}
}
localization_key = war_declared_flavor.subjugation.tribal
}
text = { # Other characters have a standard subjugation CB DoW.
trigger = {
root = {
using_hierarchical_cb_trigger = yes
}
}
localization_key = war_declared_flavor.subjugation
}
text = { # Other characters have a standard subjugation CB DoW.
trigger = {
root = {
using_conquest_cb_trigger = yes
}
}
localization_key = war_declared_flavor.conquest
}
text = {
trigger = {
root = {
using_cb = populist_war
}
}
localization_key = war_declared_flavor.populist
}
text = {
trigger = {
root = {
using_cb = peasant_war
}
}
localization_key = war_declared_flavor.peasant
}
text = {
trigger = {
root = {
using_cb = independence_faction_war
}
}
localization_key = war_declared_flavor.independence
}
text = {
trigger = {
root = {
using_cb = liberty_faction_war
}
}
localization_key = war_declared_flavor.liberty
}
text = {
trigger = {
root = {
using_cb = claimant_faction_war
}
}
localization_key = war_declared_flavor.claimant
}
#TIT-17244: will not appear without this.
text = {
trigger = {
AND = {
exists = scope:recipient
scope:recipient = { exists = scope:war_for_retraction_flavour }
}
}
localization_key = war_declared_flavor.retraction_refused
}
#TIT-17244: will not appear without this.
text = {
trigger = {
AND = {
exists = scope:recipient
scope:recipient = { exists = scope:war_for_revocation_flavour }
}
}
localization_key = war_declared_flavor.revocation_refused
}
#TIT-17244: will not appear without this.
text = {
trigger = {
AND = {
exists = scope:recipient
scope:recipient = { exists = scope:war_for_imprisonment_flavour }
}
}
localization_key = war_declared_flavor.revocation_refused
}
text = { # Fallback DoW text. Ideallty we should never reach this point, but it's here if we need it.
trigger = {
always = no
}
fallback = yes
localization_key = war_declared_flavor.fallback
}
}
#Custom loc for various prison uses
ZealousDoW = {
type = character
text = {
trigger = {
root.faith = {
OR = {
OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
religion_tag = islam_religion
religion_tag = west_african_roog_religion
}
}
}
localization_key =war_declared_flavor.zealous.mercifulgod
}
text = {
trigger = {
root.faith = {
has_doctrine_parameter = reincarnation_resistance_to_conversion
}
}
localization_key = war_declared_flavor.zealous.reincarnation
}
text = {
trigger = {
always = no
}
fallback = yes
localization_key = war_declared_flavor.zealous.fallback
}
}
GetMilitaryStrengthColoredCurrentSituation = {
type = character
text = {
localization_key = military_strength_green_current_situation
trigger = {
scope:second.current_military_strength < root.fifty_percent_of_current_military_strength
}
}
text = {
localization_key = military_strength_red_current_situation
trigger = {
scope:second.current_military_strength >= root.current_military_strength
}
}
text = {
localization_key = military_strength_gray_current_situation
}
}
WarCasusBelliShort = {
type = war
text = {
trigger = {
OR = {
using_cb = claim_cb
using_cb = claimant_faction_war
using_cb = norman_conquest_cb
using_cb = norwegian_invasion_cb
}
}
localization_key = war_memory_cb_claim
}
text = {
trigger = {
OR = {
using_cb = county_conquest_cb
using_cb = duchy_conquest_cb
using_cb = county_struggle_cb
using_cb = fp2_mediterranean_conquest_cb
using_cb = hungarian_migration_cb
using_cb = sons_of_lothbrok_invasion_cb
}
}
localization_key = war_memory_cb_conquest
}
text = {
trigger = {
OR = {
using_cb = minor_religious_war
using_cb = religious_war
using_cb = major_religious_war
}
}
localization_key = war_memory_cb_holy_war
}
text = {
trigger = {
OR = {
using_cb = de_jure_cb
using_cb = individual_county_de_jure_cb
using_cb = individual_duchy_de_jure_cb
}
}
localization_key = war_memory_cb_de_jure
}
text = {
trigger = {
OR = {
using_cb = invasion_war
using_cb = clan_invasion_war
using_cb = mongol_invasion_war
using_cb = mongol_realm_invasion_war
using_cb = ep3_laamp_adventurer_county_invasion
using_cb = ep3_laamp_adventurer_duchy_invasion
using_cb = ep3_laamp_adventurer_kingdom_invasion
using_cb = ep3_laamp_adventurer_empire_invasion
using_cb = mpo_gok_onslaught_cb
}
}
localization_key = war_memory_cb_invasion
}
text = {
trigger = {
OR = {
using_cb = undirected_great_holy_war
using_cb = directed_great_holy_war
}
}
localization_key = war_memory_cb_invasion
}
text = {
trigger = {
OR = {
using_cb = independence_war
using_cb = independence_faction_war
}
}
localization_key = war_memory_cb_ghw
}
text = {
trigger = {
OR = {
using_cb = independence_war
using_cb = independence_faction_war
}
}
localization_key = war_memory_cb_independence
}
text = {
trigger = {
OR = {
using_cb = artifact_war
using_cb = reclaim_relic_artifact_war
}
}
localization_key = war_memory_cb_artifact
}
text = {
trigger = { using_cb = liberty_faction_war }
localization_key = war_memory_cb_liberty
}
text = {
trigger = { using_cb = depose_war }
localization_key = war_memory_cb_depose
}
text = {
trigger = { using_cb = refused_liege_demand_war }
localization_key = war_memory_cb_tyranny
}
text = {
trigger = { using_cb = nation_fracturing_faction_war }
localization_key = war_memory_cb_fracture
}
text = {
trigger = { using_cb = ducal_conquest_cb }
localization_key = war_memory_cb_ducal_conquest
}
text = {
trigger = { using_cb = imperial_reconquest_cb }
localization_key = war_memory_cb_imperial_reconquest
}
text = {
trigger = { using_cb = dismantle_holy_pretender_cb }
localization_key = war_memory_cb_holy_pretender
}
text = {
trigger = { using_cb = dismantle_byz_pretender_cb }
localization_key = war_memory_cb_byz_pretender
}
text = {
trigger = { using_cb = excommunication_war }
localization_key = war_memory_cb_excommunicate
}
text = {
trigger = { using_cb = flowery_war_cb }
localization_key = war_memory_cb_flower
}
text = {
trigger = { using_cb = tribal_subjugation_cb }
localization_key = war_memory_cb_subjugation
}
text = {
trigger = {
using_cb = vassalization_cb
using_cb = diarch_vassalisation_cb
}
localization_key = war_memory_cb_vassalization
}
text = {
trigger = {
OR = {
using_cb = fp1_varangian_adventurer_conquest
using_cb = fp1_scandi_adventurer_conquest
}
}
localization_key = war_memory_cb_varangian
}
text = {
trigger = { using_cb = fp2_border_raid }
localization_key = war_memory_cb_border
}
text = {
trigger = { using_cb = fp2_expel_interloper }
localization_key = war_memory_cb_expel
}
text = {
trigger = { using_cb = diarch_vassalisation_cb }
localization_key = war_memory_cb_vassalization
}
text = {
trigger = { using_cb = remove_regent_cb }
localization_key = war_memory_cb_regent
}
text = {
trigger = {
OR = {
using_cb = japan_bloc_war_cb
using_cb = japan_install_bloc_member_cb
}
}
localization_key = war_memory_cb_bloc
}
text = {
trigger = { always = no }
fallback = yes
localization_key = war_memory_cb_fallback
}
}

View file

@ -0,0 +1,721 @@
GetPrettyAdjective = {
type = character
random_valid = yes
text = {
trigger = { is_female = yes }
localization_key = pretty
}
text = {
trigger = { is_female = yes }
localization_key = comely
}
text = {
trigger = { is_female = yes }
localization_key = radiant
}
text = {
trigger = { is_female = no }
localization_key = handsome
}
text = {
trigger = { is_female = no }
localization_key = striking
}
text = {
trigger = { is_female = no }
localization_key = fetching
}
text = {
localization_key = winsome
}
text = {
localization_key = fair
}
}
GetSheHeOpposite = {
type = character
random_valid = yes
text = {
trigger = { is_female = yes }
localization_key = CHARACTER_SHEHE_HE
}
text = {
trigger = { is_male = yes }
localization_key = CHARACTER_SHEHE_SHE
}
}
GetHerHisOpposite = {
type = character
random_valid = yes
text = {
trigger = { is_female = yes }
localization_key = CHARACTER_HERHIS_HIS
}
text = {
trigger = { is_male = yes }
localization_key = CHARACTER_HERHIS_HER
}
}
GetHerHimOpposite = {
type = character
random_valid = yes
text = {
trigger = { is_female = yes }
localization_key = CHARACTER_HERHIM_HIM
}
text = {
trigger = { is_male = yes }
localization_key = CHARACTER_HERHIM_HER
}
}
GetRandomWomanMan = {
type = character
random_valid = yes
text = { localization_key = CHARACTER_WOMAN }
text = { localization_key = CHARACTER_MAN }
}
GetWomanManOpposite = {
type = character
random_valid = yes
text = {
trigger = { is_female = yes }
localization_key = CHARACTER_MAN
}
text = {
trigger = { is_male = yes }
localization_key = CHARACTER_WOMAN
}
}
EruditeTopic = {
type = character
random_valid = yes
text = {
trigger = { OR = { faith.religion = religion:protestant_religion faith.religion = religion:catholic_religion faith.religion = religion:eastern_orthodox_religion } }
localization_key = boethius_wheel
}
text = {
trigger = { location = { geographical_region = world_europe } }
localization_key = aristotle_logic
}
text = {
trigger = { location = { geographical_region = world_india } }
localization_key = indian_logic
}
text = {
trigger = { OR = { faith.religion = religion:protestant_religion faith.religion = religion:catholic_religion faith.religion = religion:eastern_orthodox_religion } }
localization_key = advanced_math_computus
}
text = {
trigger = { faith.religion = religion:islam_religion }
localization_key = advanced_math_problem
}
text = {
trigger = { location = { geographical_region = world_india } }
localization_key = advanced_math_trigonometry
}
text = {
trigger = {
OR = {
location = { geographical_region = world_europe }
faith.religion = religion:islam_religion
}
}
localization_key = classical_vs_arabic_medicine
}
text = {
trigger = { location = { geographical_region = world_india } }
localization_key = indian_medicine
}
text = {
localization_key = classical_vs_modern_warfare
}
text = {
localization_key = astrology_topic
}
text = {
trigger = {
faith.religion = religion:islam_religion
current_date > 1150.1.1
}
localization_key = quran_exegesis
}
text = {
trigger = { faith.religion = religion:islam_religion }
localization_key = basri_vs_kufi
}
text = {
localization_key = reason_vs_faith
}
text = {
trigger = { OR = { faith.religion = religion:protestant_religion faith.religion = religion:catholic_religion faith.religion = religion:eastern_orthodox_religion } }
localization_key = jewish_christian_debate
}
text = {
trigger = { culture = { has_cultural_pillar = heritage_byzantine } }
localization_key = debating_mythological_characters
}
text = {
localization_key = geometrical_shapes
}
}
GetDiplomacyBuilding = {
type = character
random_valid = yes
text = {
localization_key = building_city_02
fallback = yes
}
}
GetMartialBuilding = {
type = character
random_valid = yes
text = {
trigger = {
OR = {
government_has_flag = government_is_tribal
liege ?= { government_has_flag = government_is_tribal }
}
}
localization_key = building_type_war_camps_01
}
text = {
trigger = {
NOR = {
government_has_flag = government_is_tribal
liege ?= { government_has_flag = government_is_tribal }
}
}
localization_key = building_type_curtain_walls_01
}
text = {
trigger = {
NOR = {
government_has_flag = government_is_tribal
liege ?= { government_has_flag = government_is_tribal }
}
}
localization_key = building_type_hill_forts_01
}
text = {
trigger = {
NOR = {
government_has_flag = government_is_tribal
liege ?= { government_has_flag = government_is_tribal }
}
}
localization_key = building_type_watchtowers_01
}
text = {
trigger = { has_culture = culture:italian }
localization_key = building_type_the_colosseum_01
}
text = {
trigger = { has_culture = culture:anglo_saxon }
localization_key = building_type_the_tower_of_london_01
}
text = {
trigger = { has_culture = culture:levantine }
localization_key = building_type_citadel_of_aleppo_01
}
}
GetStewardshipBuilding = {
type = character
random_valid = yes
text = {
localization_key = building_type_farm_estates_01
fallback = yes
}
}
GetIntrigueBuilding = {
type = character
random_valid = yes
text = {
localization_key = building_type_market_villages_01
fallback = yes
}
text = {
trigger = {
NOR = {
government_has_flag = government_is_tribal
liege ?= { government_has_flag = government_is_tribal }
}
}
localization_key = building_castle_02
}
text = {
trigger = {
NOR = {
government_has_flag = government_is_tribal
liege ?= { government_has_flag = government_is_tribal }
}
}
localization_key = building_type_common_tradeport_01
}
text = {
trigger = {
NOR = {
government_has_flag = government_is_tribal
liege ?= { government_has_flag = government_is_tribal }
}
}
localization_key = building_city_04
}
}
GetLearningBuilding = {
type = character
random_valid = yes
text = {
localization_key = building_type_temple_01
fallback = yes
}
text = {
trigger = {
NOR = {
government_has_flag = government_is_tribal
liege ?= { government_has_flag = government_is_tribal }
}
}
localization_key = building_type_generic_university
}
text = {
trigger = {
NOR = {
government_has_flag = government_is_tribal
liege ?= { government_has_flag = government_is_tribal }
}
}
localization_key = building_type_monastic_schools_01
}
text = {
trigger = {
OR = {
has_culture = culture:afghan
has_faith = faith:mahayana
}
}
localization_key = building_type_buddhas_of_bamian_01
}
text = {
trigger = {
OR = {
has_culture = culture:levantine
has_faith = faith:ashari
}
}
localization_key = building_type_petra_01
}
text = {
trigger = {
OR = {
has_culture = culture:french
has_faith = faith:catholic
}
}
localization_key = building_type_notre_dame_01
}
text = {
trigger = {
OR = {
has_culture = culture:greek
has_faith = faith:orthodox
}
}
localization_key = building_type_hagia_sophia_01
}
text = {
trigger = {
OR = {
has_culture = culture:bedouin
has_faith = faith:ashari
}
}
localization_key = building_type_holy_site_great_mosque_of_mecca_01
}
text = {
trigger = {
OR = {
has_culture = culture:franconian
has_faith = faith:catholic
}
}
localization_key = building_type_holy_site_cologne_cathedral_01
}
text = {
trigger = {
OR = {
has_culture = culture:anglo_saxon
has_faith = faith:catholic
}
}
localization_key = building_type_holy_site_canterbury_cathedral_01
}
}
#For rock story
RockStoryName = {
type = character
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:custom
}
}
localization_key = rock_name
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_cliff
}
}
localization_key = rock_name_cliff
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_sandy
}
}
localization_key = rock_name_sandy
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_rocky
}
}
localization_key = rock_name_rocky
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_crag
}
}
localization_key = rock_name_crag
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_flint
}
}
localization_key = rock_name_flint
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_gritty
}
}
localization_key = rock_name_gritty
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_rubble
}
}
localization_key = rock_name_rubble
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_tuff
}
}
localization_key = rock_name_tuff
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_rosetta
}
}
localization_key = rock_name_rosetta
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_chip
}
}
localization_key = rock_name_chip
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_fluffy
}
}
localization_key = rock_name_fluffy
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_sten
}
}
localization_key = rock_name_sten
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_ariadne
}
}
localization_key = rock_name_ariadne
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_dwayne
}
}
localization_key = rock_name_dwayne
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_potapczyk
}
}
localization_key = rock_name_potapczyk
}
text = {
trigger = {
AND = {
exists = var:story_cycle_rock_name
var:story_cycle_rock_name = flag:rock_name_gemma
}
}
localization_key = rock_name_gemma
}
}
RockStoryNamePossessive = {
type = character
text = {
localization_key = rock_name_possessive
}
}
RockStoryHerHis = {
type = character
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_gender = flag:female
}
}
localization_key = rock_gender_her
}
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_gender = flag:male
}
}
localization_key = rock_gender_his
}
}
RockStoryHerHim = {
type = character
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_gender = flag:female
}
}
localization_key = rock_gender_her
}
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_gender = flag:male
}
}
localization_key = rock_gender_him
}
}
RockStorySheHe = {
type = character
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_gender = flag:female
}
}
localization_key = rock_gender_she
}
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_gender = flag:male
}
}
localization_key = rock_gender_he
}
}
RockStoryHerselfHimself = {
type = character
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_gender = flag:female
}
}
localization_key = rock_gender_herself
}
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_gender = flag:male
}
}
localization_key = rock_gender_himself
}
}
RockStoryFemaleMale = {
type = character
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_gender = flag:female
}
}
localization_key = rock_gender_female
}
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_gender = flag:male
}
}
localization_key = rock_gender_male
}
}
RockColor = {
type = character
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_color = flag:brown
}
}
localization_key = fur_color_brown
}
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_color = flag:gray
}
}
localization_key = fur_color_gray
}
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_color = flag:black
}
}
localization_key = fur_color_black
}
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_color = flag:white
}
}
localization_key = fur_color_white
}
text = {
trigger = {
any_owned_story = {
type = story_cycle_pet_rock
var:rock_color = flag:sandy
}
}
localization_key = fur_color_sandy
}
}

View file

@ -0,0 +1,357 @@
#disease_desc_full
#disease_desc_short
#apocalypse_name
#remember you can make these lowercase by adding |l at the end
#it'll grab the name of the character you're scoped into
disease_desc_full = {
type = character
random_valid = yes
text = {
trigger = {
has_trait = bubonic_plague
}
localization_key = trait_bubonic_plague_character_desc
}
text = {
trigger = {
has_trait = measles
}
localization_key = trait_measles_character_desc
}
text = {
trigger = {
has_trait = dysentery
}
localization_key = trait_dysentery_character_desc
}
text = {
trigger = {
has_trait = ergotism
}
localization_key = trait_ergotism_character_desc
}
text = {
trigger = {
has_trait = typhus
}
localization_key = trait_typhus_character_desc
}
text = {
trigger = {
has_trait = consumption
}
localization_key = trait_consumption_character_desc
}
text = {
trigger = {
has_trait = smallpox
}
localization_key = trait_smallpox_character_desc
}
text = {
trigger = {
has_trait = cancer
}
localization_key = trait_cancer_character_desc
}
text = {
trigger = {
has_trait = gout_ridden
}
localization_key = trait_gout_ridden_character_desc
}
text = {
trigger = {
has_trait = pneumonic
}
localization_key = trait_pneumonic_character_desc
}
text = {
trigger = {
has_trait = great_pox
}
localization_key = trait_great_pox_character_desc
}
text = {
trigger = {
has_trait = early_great_pox
}
localization_key = trait_early_great_pox_character_desc
}
text = {
trigger = {
has_trait = lovers_pox
}
localization_key = trait_lovers_pox_character_desc
}
text = {
trigger = {
has_trait = leper
}
localization_key = trait_leper_character_desc
}
text = {
trigger = {
has_trait = incapable
}
localization_key = trait_incapable_character_desc
}
text = {
trigger = {
has_trait = infirm
}
localization_key = trait_infirm_character_desc
}
text = {
fallback = yes
trigger = {
has_trait = ill
}
localization_key = trait_ill_character_desc
}
}
#remember you can make these lowercase by adding |l at the end
#these all follow the "beset/afflicted/infected with x" formula, keep it in mind when writing loc
disease_desc_short = {
type = character
random_valid = yes
text = {
trigger = {
has_trait = bubonic_plague
}
localization_key = disease_desc_short_plague
}
text = {
trigger = {
has_trait = measles
}
localization_key = disease_desc_short_measles
}
text = {
trigger = {
has_trait = dysentery
}
localization_key = disease_desc_short_dysentery
}
text = {
trigger = {
has_trait = ergotism
}
localization_key = disease_desc_short_ergotism
}
text = {
trigger = {
has_trait = typhus
}
localization_key = disease_desc_short_typhus
}
text = {
trigger = {
has_trait = consumption
}
localization_key = disease_desc_short_consumption
}
text = {
trigger = {
has_trait = smallpox
}
localization_key = disease_desc_short_smallpox
}
text = {
trigger = {
has_trait = cancer
}
localization_key = disease_desc_short_cancer
}
text = {
trigger = {
has_trait = gout_ridden
}
localization_key = disease_desc_short_gout
}
text = {
trigger = {
has_trait = pneumonic
}
localization_key = disease_desc_short_pneumonic
}
text = {
trigger = {
has_trait = great_pox
}
localization_key = disease_desc_short_great_pox
}
text = {
trigger = {
has_trait = early_great_pox
}
localization_key = disease_desc_short_great_pox
}
text = {
trigger = {
has_trait = lovers_pox
}
localization_key = disease_desc_short_lovers_pox
}
text = {
trigger = {
has_trait = leper
}
localization_key = disease_desc_short_leper
}
text = {
trigger = {
has_trait = incapable
}
localization_key = disease_desc_short_incapable
}
text = {
trigger = {
has_trait = infirm
}
localization_key = disease_desc_short_infirm
}
text = {
fallback = yes
trigger = {
has_trait = ill
}
localization_key = disease_desc_short_ill
}
}
#Same as the above but for epidemic scopes
epidemic_symptom_short = {
type = epidemic
random_valid = yes
text = {
trigger = {
epidemic_trait = trait:bubonic_plague
}
localization_key = disease_desc_short_plague
}
text = {
trigger = {
epidemic_trait = trait:measles
}
localization_key = disease_desc_short_measles
}
text = {
trigger = {
epidemic_trait = trait:dysentery
}
localization_key = disease_desc_short_dysentery
}
text = {
trigger = {
epidemic_trait = trait:ergotism
}
localization_key = disease_desc_short_ergotism
}
text = {
trigger = {
epidemic_trait = trait:typhus
}
localization_key = disease_desc_short_typhus
}
text = {
trigger = {
epidemic_trait = trait:consumption
}
localization_key = disease_desc_short_consumption
}
text = {
trigger = {
epidemic_trait = trait:smallpox
}
localization_key = disease_desc_short_smallpox
}
}
# Appropriate apocalypse name based on religion
apocalypse_name = {
type = character
random_valid = yes
text = {
trigger = {
faith.religion = religion:germanic_religion
}
localization_key = ragnarok
}
text = {
trigger = {
faith.religion = {
is_in_family = rf_abrahamic
NOT = { faith.religion = religion:judaism_religion }
}
}
localization_key = the_second_coming
}
text = {
trigger = {
OR = { faith.religion = religion:protestant_religion faith.religion = religion:catholic_religion faith.religion = religion:eastern_orthodox_religion }
}
localization_key = revelation
}
text = {
trigger = {
faith.religion = { is_in_family = rf_abrahamic }
}
localization_key = the_day_of_judgement
}
text = {
trigger = {
faith.religion = religion:judaism_religion
}
localization_key = the_coming_of_the_messiah
}
text = {
trigger = {
faith.religion = religion:buddhism_religion
}
localization_key = the_coming_of_the_seven_suns
}
text = {
trigger = {
faith.religion = religion:zoroastrianism_religion
}
localization_key = frashokereti
}
text = {
localization_key = the_endtimes
}
text = {
localization_key = the_end_of_days
}
text = {
localization_key = the_apocalypse
}
text = {
localization_key = doomsday
}
text = {
trigger = {
exists = character:easteregg_veronica_pazos
this = character:easteregg_veronica_pazos
}
localization_key = third_impact
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,55 @@
The following scope types can be defined as the "type" in a "type = X" argument.
It should match whatever scope you use the custom loc command in.
artifact
character
landed_title
province
activity
secret
scheme
combat
combat_side
title_and_vassal_change
faith
dynasty
all # Accepts any scope type, but you can then only really check triggers that can be used on anything, else you'll get run time issues instead of read time ones
== format ==
key = {
type = scope
text = {
# Run before the trigger is evaluated, can save scopes which you then check
# for in the trigger directly. These scopes can be referenced in the loc key.
# Only interface effects are valid so the game state can not be modified
setup_scope = {
<interface effects>
}
# What triggers should be true for this to be a valid text entry
# Interface triggers are valid such as checking if a window is open
# The first trigger that matches returns the relevant localization_key text
trigger = {
<interface triggers>
}
# The localization key, has the scopes from setup_scope accessible
localization_key = string
# Optional; will cause this one to be picked if no entry is valid
fallback = yes
}
...
random_valid = yes # Optional, will randomize instead of picking first valid
}
You can also add variants:
key = {
parent = some_custom_loc_key
suffix = "_suffix"
}
The logic of the parent will be run, then the suffix is added to the custom loc key.